Commit Graph

254 Commits (7dca4c88f166561031011ed27287818eaa343486)

Author SHA1 Message Date
Theodore Ts'o 124e6767fc debian: Fix mkinitfs on x86_64 systems
On x86_64 systems, we need to filter out linux-vdso.so lines from the
output of the ldd program when determining the library dependencies.

Addresses-Debian-Bug: #503057

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-11-16 10:35:41 -05:00
Theodore Ts'o cb293cfc8b Fix spelling mistake in debian changelog
Addresses-Debian-Bug: #502323

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-10-18 16:52:25 -04:00
Theodore Ts'o df547ae886 Update release notes, changelog, etc., for e2fsprogs 1.41.3 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-10-12 23:27:32 -04:00
Theodore Ts'o c12125f79a Update release notes, changelog, etc., for e2fsprogs 1.41.2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-10-02 08:54:41 -04:00
Theodore Ts'o d7f45af802 libcom_err: Use sem_post/sem_init to prevent race conditions
SuSE has been carrying a patch for a long time to prevent a largely
theoretical race condition if a multi-threaded application adds and
removes error tables in multiple threads.  Unfortunately SuSE's
approach breaks compatibility by forcing applications to link and
compile with the -pthread option; using pthread mutexes has
historically been problematic.

This commit fixes things in a more portable way by using
sem_post/sem_wait instead, which is an older interface that doesn't
require the pthreads library.  Linux happens to implement
sem_post/sem_init using futexes, and -lrt ends up pulling in
-lpthread, but the advantage of using POSIX semaphores is that
applications don't have to be built using -pthread, unlike the use of
pthread mutexes.

The add_error_table() and remove_error_table() interfaces are the
preferred interfaces and locking protection have been added to only
these interfaces.  I have not added locking protection to the
generated initialize_xxx_error_table and initialize_xxx_error_table_r
interfaces, to avoid adding symbol dependencies that would cause a
library to fail to work when linking against older com_err libraries
that do not export et_list_lock() and et_list_unlock().  Threaded
applications shouldn't be using these interfaces in any case.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-12 10:15:26 -04:00
Theodore Ts'o 3218dc9db8 debian: Use dietlibc when possible for building e2fsck.static
This fixes a regression introduced in commit 4f2e8f19 where we
inadvertently disabled the use of dietlibc on all architectures,
instead of just on those architectures which didn't support dietlibc.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-12 09:26:45 -04:00
Theodore Ts'o 663b14639e Update debian/changefile for 1.41.1-3 debian release 2008-09-05 11:14:09 -04:00
Theodore Ts'o 00ec31b446 Add more historical information into the debian/*.symbols files
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-05 11:10:47 -04:00
Theodore Ts'o bf5498cc23 debian: Reorder rules to build udebs to avoid Lintian warning
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-04 22:49:15 -04:00
Theodore Ts'o 531dfb66b5 debian: Fix dependencies field in the udeb packages
Addresses-Debian-Bug: #497619

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-04 22:39:47 -04:00
Theodore Ts'o bab328ad07 Update debian/changefile for 1.41.1-2 debian release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-02 12:33:00 -04:00
Theodore Ts'o 31d6487812 Update release notes, changelog, etc., for e2fsprogs 1.41.1 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-01 16:02:04 -04:00
Theodore Ts'o af773654b2 Enable test_io debugging by default
Test I/O debugging is incredibly useful for rooting out problems, so
let's enable by default, especially now that its overhead is only
incurred when it is needed.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-01 11:36:59 -04:00
Theodore Ts'o 26f29164a4 debian: Fix postinstall scripts when the user/group is in LDAP
Addresses-Debian-Bug: #497010

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-29 20:03:03 -04:00
Theodore Ts'o 03d28ded13 debian: Change symbols files to only use uptream versions numbers
As suggested by lintian

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-28 09:43:18 -04:00
Theodore Ts'o 4690e621ac Improve future compatibility for the 64-bit I/O channel functions
Provide a C language wrapper function for io_channel_read_blk64() and
io_channel_write_blk64() instead of using a C preprocessor macro, with
an fallback to the old 32-bit functions if an application-provided I/O
channel manager doesn't supply 64-bit method functions and the block
numbers can fit in 32-bit integer.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-27 21:46:26 -04:00
Theodore Ts'o 0bb740621f libblkid: Unexport the private symbol blkid_devdirs
blkid_devdirs was defined in blkidP.h and was never intended to be
used outside of the library.  Since it no longer needs to be shared
across object files, rename it and turn it into a static variable.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-27 00:00:44 -04:00
Theodore Ts'o 7515a74478 Remove use of devmapper library by the blkid library
The devmapper library is no longer needed given commit f4e89bcd.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-26 23:56:00 -04:00
Theodore Ts'o f4e89bcdf2 libblkid: Optimize devicemapper support
This commit works by removing all calls from libdevmapper altogether,
and using the standard support for "normal" non-dm devices.

It depends on dm devices being placed in /dev/mapper (but the previous
code had this dependency anyway), and /proc/partitions containing dm
devices.

We don't actually rip out the libdevmapper code in this commit, but
just disable it via #undef HAVE_DEVMAPPER, just so it's easier to
review and understand the fundamental code changes.  A subsequent
commit will remove the libdevmapper code, as well as unexport
the blkid_devdirs string array.

Thanks to Karel Zak for inspiring me to look at the dm code in blkid,
so I could realize how much it deserved to ripped out by its roots.  :-)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-26 23:53:22 -04:00
Theodore Ts'o 649bd289d0 debian: Add dpkg-gensymbols support to track ABI changes to the libraries
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-25 00:00:35 -04:00
Theodore Ts'o 87de4b70df debian: Add uuid-runtime.lintian-overrides
I want to make sure the uuidd daemon is shutdown before removing
the package.  Since the uuidd daemon is provided by the uuid-runtime
package, and I *know* exactly where it is, and I ***don't*** want the
script to be confused by some other pathname being used by the local
administrator, I specify an explicit pathname.  In addition, given the
explicit test to make sure /usr/sbin/uuidd exists, it seems non-sensical
to remove the prepended path.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-24 17:29:34 -04:00
Theodore Ts'o 9af10066c0 debian: add libuuid1.lintian-overrides
The libuuid1.postinst script doesn't really call adduser; it just
checks the adduser config file, if it exists.  The lintain maintainers
agree this is a spurious warning, and it will be fixed eventually.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-24 17:29:33 -04:00
Theodore Ts'o 5779b80ec4 debian: Remove e2fsck-static.lintian-overrides
This override is no longer necessary since lintian excludes foo.static
binaries from the static binary test.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-24 17:29:33 -04:00
Theodore Ts'o 31955ed395 debian: Add debian/watch file
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-24 17:29:33 -04:00
Theodore Ts'o 30ab7f4c65 Interim update of the debian/changelog and the release notes
This is in preparation for an e2fsprogs 1.41.1 release.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-23 12:35:35 -04:00
Theodore Ts'o 0eb542860a debian: wrap copyright files to avoid "line too long" lintian warnings
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-15 12:38:55 -04:00
Theodore Ts'o aafccb815f debian: Fix minor typo in uuid-runtime's package description
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-15 12:06:06 -04:00
Theodore Ts'o 54770af4bb debian: Update changelog for 1.40.0-3 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-15 11:41:24 -04:00
Theodore Ts'o 30f142e46b debian: Fix FTBFS problem on mips
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-15 11:38:33 -04:00
Theodore Ts'o 6f1ef0012a debian: Update section and priority of -dbg packages to match override file
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-13 20:51:33 -04:00
Theodore Ts'o c9913718da Add debian changelog for 1.41.0-2 release 2008-07-13 19:20:02 -04:00
Theodore Ts'o 92e49d85b4 Update release notes, changelog, etc., for e2fsprogs 1.41 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-10 17:25:33 -04:00
Theodore Ts'o 96099115d4 debian: Add bash-static to the list of shells recommended for e2fsck-static
Addresses-Debian-Bug: #490003

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-10 08:47:15 -04:00
Theodore Ts'o a41d5ac81f Update release notes for e2fsprogs 1.41-WIP-0707 release. 2008-07-07 16:34:34 -04:00
Theodore Ts'o 78a9deb0fd debian: Update debian policy compliance to 3.8.0.0
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-07 16:29:03 -04:00
Theodore Ts'o fbcb3a8504 debian: Add dbg packages which contain the stripped out debuging symbols
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-07 09:43:26 -04:00
Theodore Ts'o 5882a3cbfa debian: parse /etc/adduser.conf file manually
The syntax for /etc/adduser.conf allows spaces around the equals sign,
i.e.:

	GROUPHOMES = no

We were previously asking /bin/sh to source the file, which doesn't
support the above syntax.  So pull out the necessary fields via
sed/grep.

Thanks to Juan A. Diaz for reporting the bug and suggesting the fix.

Addresses-Debian-Bug: #487443

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-06-23 11:57:54 -04:00
Theodore Ts'o 795de67f0d Update release notes for debian experimental package 2008-06-18 00:50:05 -04:00
Theodore Ts'o 71ff129e9f Merge branch 'maint'
Conflicts:

	README
	resize/online.c
	version.h
2008-06-17 23:54:51 -04:00
Theodore Ts'o 0c7be6cb7b Update release notes, changelog, and other files for v1.40.11 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-06-17 22:17:09 -04:00
Theodore Ts'o 8aa53bfa69 Merge branch 'maint' into next 2008-06-02 21:40:02 -04:00
Theodore Ts'o 9aa109c95d debian: Improve uuid-runtime package description
Addresses-Debian-Bug: #483962

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-06-02 21:37:06 -04:00
Theodore Ts'o 9598165565 debian: Improve e2fsprogs package description
Addresses-Debian-Bug: #483023
2008-06-02 21:20:34 -04:00
Theodore Ts'o c0af709e52 Merge branch 'maint'
Conflicts:

	README
	version.h
2008-05-21 16:56:42 -04:00
Theodore Ts'o 491d8bc3e0 Update release notes and debian changelog for 1.40.10 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-05-21 13:44:44 -04:00
Theodore Ts'o da292aa9af Merge branch 'maint'
Conflicts:

	tests/m_raid_opt/expect.1
2008-04-27 07:59:28 -04:00
Theodore Ts'o e7d9ce9a41 debian: The doc-base section should be Programming, not Apps/Programming
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-27 07:53:02 -04:00
Theodore Ts'o 7affded7e8 Update release notes and debian changelog for 1.40.9 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-27 07:07:25 -04:00
Theodore Ts'o a70f10dbc4 Merge branch 'maint' 2008-03-30 14:03:51 -04:00
Michael Spang fc03b9c4f2 debian: Use UID/GID ranges from adduser.conf, if present
Addresses-Debian-Bug: #473179

Signed-off-by: Michael Spang <mspang@uwaterloo.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-29 13:01:40 -04:00