Commit Graph

445 Commits (d6adf070b0e85f209c0d7f310188b134b5cb7180)

Author SHA1 Message Date
Theodore Ts'o 87141781aa dumpe2fs: print the expected block group checksum if it is incorrect
This helps to diagnose problems caused by incorrect block group
checksums.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-15 12:13:25 -04:00
Theodore Ts'o bbdb7a5f28 Update for Debian 1.42.1-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 19:41:17 -05:00
Theodore Ts'o 5d0e1f99bc debian: fix dpkg-buildflags so it works when the shell is dash
The buildd's use dash as the shell, so we can't use >& in the rules
file.  This was causing the buildd-built e2fsprogs binary packages to
be built without the hardening flags.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 18:18:13 -05:00
Theodore Ts'o f921eda1ab debian: build with V=1 for more information in buildd logs
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 18:17:37 -05:00
Theodore Ts'o 91b9eadeab Update for e2fsprogs 1.42.1 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-17 15:54:37 -05:00
Theodore Ts'o 910fae94a5 debian: enable use of dpkg-buildflags if present
On newer Debian-based distributions, dpkg-buildflags should be called
by the debian rules file to get the appropriate values for CFLAGS,
LDFLAGS, etc.  This will also allow Debian to build with security
hardened build flags, which is a release goal for Debian Wheezy.

If dpkg-buildflags is not present, then use some safe defaults (what
is currently being set by dpkg-buildpackage in Ubuntu 10.04 LTS, which
is a common enough ancient distribution that many people might still
care about).

Addresses-Debian-Bug: #654457

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-17 14:32:18 -05:00
Theodore Ts'o 499d5ec558 Update Release Notes, Changelogs, version.h, etc. for 1.42 release
Also fixed depfix.sed

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-29 16:48:14 -05:00
Theodore Ts'o 3a4ab83098 Update for e2fsprogs 1.42-WIP-1120 release 2011-11-21 08:25:25 -05:00
Theodore Ts'o 7becb2065f Make quota support disabled by support
Quota support can be enabled using --enable-quota.  There are still
some buglets that we need to fix up before it can be considered 100%
supported, so let's disable it for the 1.42 release.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-14 10:46:30 -05:00
Theodore Ts'o 1e40ef8ee4 po: rebuild the .gmo files in the debian/rules file
This commit reverts commit aff534958b and transfers the
responsibility of rebuilding the .gmo files to the debian/rules file,
as updating the gmo files can cause problems for other distribution's
building systems.  (We do this because we don't update the .gmo files
when doing a mid-release snapshot, since binary files can't be
represented in diff files.  So we only update the .po files, and let
the package build process take care of the .gmo files.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-06 20:27:04 -05:00
Theodore Ts'o d1b75fd60c libext2fs: don't leak tdb_null out of the shared library namespace
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-05 14:55:30 -04:00
Theodore Ts'o 6b967cd6f1 Update for e2fsprogs 1.42-WIP-1016 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-16 22:12:07 -04:00
Theodore Ts'o 0c80c44bd0 libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag
The ext2fs_file_acl_block() and ext2fs_set_file_acl_block() needs to
only check i_file_acl_high if the 64-bit flag is set.  This is needed
because otherwise we will run into problems on Hurd systems which
actually use that field for h_i_mode_high.

This involves an ABI change since we need to pass ext2_filsys to these
functions.  Fortunately these functions were first included in the
1.42-WIP series, so it's OK for us to change them now.  (This is why
we have 1.42-WIP releases.  :-)

Addresses-Sourceforge-Bug: #3379227

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-16 20:46:49 -04:00
Theodore Ts'o 3871db6d14 Update for e2fsprogs 1.42-WIP-1009 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-09 22:25:01 -04:00
Theodore Ts'o db86523790 debian: Add explicit source format to specify 3.0 (quilt)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-09 22:24:13 -04:00
Theodore Ts'o 9d0be127e9 debian: fix gcc-multilib dependency for mipsel as well as mips
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-08 13:28:53 -04:00
Theodore Ts'o 394550c81c debian: update the changelog for the e2fsprogs 1.42~WIP-2011-10-05-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-07 18:44:27 -04:00
Theodore Ts'o ee0de3e3e6 debian: add a mips-specific dependency on gcc-multilib
The debian mips package has to do some wierd things to include a
64-bit library in the 32-bit binary package.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-07 18:01:31 -04:00
Theodore Ts'o f123e66549 debian: Add a dependency on the 1.42~WIP-2011-1005-1 version of libcom_err
Addresses-Debian-Bug: #644425

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 15:32:36 -04:00
Theodore Ts'o d730094243 debian: update libcomerr2.symbols
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 03:04:41 -04:00
Theodore Ts'o fd7c37fec1 Update for e2fsprogs 1.42-WIP-1005 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 02:40:11 -04:00
Theodore Ts'o f6b16547f4 Update debian/changelog for an interim release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-04 00:28:28 -04:00
Theodore Ts'o c2ac6c5fbd Update for e2fsprogs 1.42-WIP-1001 release 2011-10-01 00:10:24 -04:00
Theodore Ts'o 636019ecdb debian: avoid installing source.lintian-overrides
This avoids lintian errors if we try to rebuild the package since
source.lintian-overrides ends up getting installed in
debian/source/usr/src/lintian/overrides/source, which then gets
dropped in the diff file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-01 00:08:12 -04:00
Theodore Ts'o b1c828e875 debian: add hurd-specific mke2fs.conf file
Addresses-Debian-Bug: #629355

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-28 23:22:01 -04:00
Theodore Ts'o 20d7949583 debian: don't bomb out if DEB_BUILD_OPTIONS contains nostrip
The debugging packages will contain no debugging symbols (since they
are in the unstripped executables and libraries) but at least the
build won't crash.

Addresses-Debian-Bug: #627535

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 15:40:24 -04:00
Theodore Ts'o 8a0ef9edfa Update for e2fsprogs 1.42-WIP-0925 release 2011-09-25 02:10:54 -04:00
Theodore Ts'o af63aacef4 debian: update e2fslibs.symbols to include newly added symbols
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 01:55:28 -04:00
Theodore Ts'o 3c643f8b18 debian/copyright: update the debian copyright file
Fix up the debian/copyright file so it contains the full information
of the licenses used by all of the libraries.  Also use a single
copyright file for e2fsprogs and e2fslibs, to make sure they are kept
in sync.

Addresses-Debian-Bug: #614662

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 01:55:28 -04:00
Richard W.M. Jones 9d9a53e651 libext2fs: add flag to ext2fs_flush() and ext2fs_close() to avoid fsync
This adds new APIs: ext2fs_flush2 and ext2fs_close2 which take an
extra 'int flags' parameter.

This allows us to pass in an EXT2_FLAG_FLUSH_NO_SYNC flag which avoids
fsync'ing the filesystem when closing it.  For the case we have in
mind where we are just constructing a throwaway ext2 filesystem in a
file in order to boot a VM, this saves over 5 seconds during the boot
process and avoids many unnecessary disk writes.

Existing code using ext2fs_flush and ext2fs_close remains unaffected
by this change.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-09-24 12:53:16 -04:00
Theodore Ts'o 8f9d708f6a libquota: only build a static library
Since the libquota library has namespace contamination issues, don't
build a shared library and link against it statically.  Don't include
it as part of the Debian packages.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-19 13:39:38 -04:00
Theodore Ts'o 55e00a2503 debian: add support for multiarch
Enhance the debian build rules so it will create multiarch compliant
packages on those distributions that have support for it.

Also remove e2initrd-helper from the e2fsprogs package since no one
uses it any more.

Also update the debian policy standards version to 3.9.2.

Addresses-Debian-Bug: #632169

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-18 23:53:23 -04:00
Theodore Ts'o 3694bf1cd0 debian: use 1.41.99 hack so that lintain doesn't complain
We'll have to fix this up before 1.42 ships.  And the quota library
badly needs to be cleaned up...

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-16 12:15:17 -04:00
Theodore Ts'o 2406de5440 Update for e2fsprogs 1.42-WIP-0916 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-16 11:13:33 -04:00
Theodore Ts'o 8595c5bfe6 debian: update the e2fslibs and e2fslibs-dev files for the quota library
We will include the quota library in e2fslibs for now.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-15 19:12:30 -04:00
Theodore Ts'o c0b3deb5f8 Update for e2fsprogs 1.42-WIP-0702 release 2011-07-03 00:04:36 -04:00
Theodore Ts'o 594ec97beb debian: disable compression
Disable the compression flag, and enable symlinks for the install
(this is the same as previous debian packages; debian recommends
against using hard links across different directories)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-07-03 00:04:36 -04:00
Eric Sandeen b6d274f7c6 e2fsprogs: create com_err.h link in includedir
After debian bug #192277, debian/rules started making a symlink
to com_err.h in /usr/include.  Now I have Fedora bug #550889
for the same issue, and perhaps it's time to make this link
by default, rather than fixing it up in packaging steps?

[ Changed by tytso to remove the explicit -s option; this will default
  to creating a hard link by default, which slightly faster.  If
  people want to use symlinks for all links during the install
  process, they can use configure option --enable-symlink-install.
  The reason for this change is that some file systems, like AFS,
  don't support symlinks, and AFS users complain when they can't build
  or install into AFS.  So I don't want to use symlinks
  unconditionally without a way of switching things back and forth,
  and it's easier if we just make all links made during the install
  process to be hard links or sym links. ]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-02-20 18:10:21 -05:00
Theodore Ts'o 7267e3d3fd Update Release Notes, Changelogs, version.h, etc. for 1.41.14 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-12-22 18:55:15 -05:00
Theodore Ts'o d085f61f25 Update Release Notes, Changelogs, version.h, etc. for 1.41.13 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-12-13 08:57:14 -05:00
Theodore Ts'o d5b8a1e907 Update Release Notes, Changelogs, version.h, etc. for 1.41.13 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-11-22 16:16:05 -05:00
Theodore Ts'o 023a1df091 ext2fs: add ext2fs_get_memalign() function
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-09-23 16:38:22 -04:00
Theodore Ts'o 58384b8fa8 debian: Fix outdated description: /sbin/fsck has moved to util-linux
Addresses-Debian-Bug: #588726

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-07-19 02:27:07 -04:00
Theodore Ts'o d85bdf7f19 debian: Remove obsolete initrd script
Addresses-Debian-Bug: #585041

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-07-06 14:08:09 -04:00
Theodore Ts'o 0fb2d1d346 Update debian/changelog for v1.41.12-2 release 2010-06-03 13:02:15 -04:00
Theodore Ts'o e54e700051 Fix debian problem: e2fsprogs: bogus dependency on libblkid1 due to shlibs.local
Addresses-Debian-Bug: #583551

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-06-03 13:02:09 -04:00
Theodore Ts'o 15fdc40125 Fix minor nit in debian/rules file
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-26 11:01:06 -04:00
Theodore Ts'o b846122a12 Update release notes, version string, etc. for e2fsprogs 1.41.12 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 23:54:49 -04:00
Theodore Ts'o bb1158b92e mke2fs: account for physical as well as logical sector size
Some devices, notably 4k sector drives, may have a 512 logical
sector size, mapped onto a 4k physical sector size.

When mke2fs is ratcheting down the blocksize for small filesystems,
or when a blocksize is specified on the commandline, we should not
willingly go below the physical sector size of the device.

When a blocksize is specified, we -must- not go below
the logical sector size of the device.

Add a new library function, ext2fs_get_device_phys_sectsize()
to get the physical sector size if possible, and adjust the
logic in mke2fs to enforce the above rules.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 23:04:40 -04:00
Theodore Ts'o 517be2d76e Install fsck.ext4 symlink in e2fsprogs-udeb package
Addresses-Debian-Bug: #571247

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 19:38:31 -04:00
Theodore Ts'o 7b6f59204e Update release notes, version string, etc. for e2fsprogs 1.41.11 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-03-15 00:57:42 -04:00
Theodore Ts'o 29516bbdd2 debian: Update compliance to debian policy to 3.8.4
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-03-15 00:56:58 -04:00
Theodore Ts'o 025d1e77c8 debian: static build no longer needs -fno-stack-protector
From: Kees Cook <kees@debian.org>

I noticed that the debian/rules contains "-fno-stack-protector".  While
this used to be needed a while back, this is no longer required, as the
stack protection code will be statically compiled into the static e2fsprogs
correctly now.

Addresses-Debian-Bug: #573923

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-03-15 00:15:59 -04:00
Theodore Ts'o 9080695a4e Update release notes, version string, etc. for e2fsprogs 1.41.10 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-02-10 15:49:32 -05:00
Theodore Ts'o 7bb82079a5 debian: Add source lintian overrides
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-11-29 23:33:26 -05:00
Theodore Ts'o 4534f8bc3f debian: Fix FTBFS problem caused by texi2html changing its output location
Unfortunately, texi2html gratuitously changed its behavior of where
its output html files are placed when the -split_chapter is in effect.
(First it was in a subdirectory; then it was in the current directory;
now it's back to putting the output html files in a subdirectory
again.)

Support either way of doing things since the texi2html team seems to
be indecisive...

Addresses-Debian-Bug: #552934

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-11-29 20:19:10 -05:00
Theodore Ts'o 97f466394e debian: Fix pre-depends relation for util-linux-ng
Commit 06807d9 had a typo; we need util-linux-ng >= 2.15~rc1-1, not
<< 2.15~rc1-1!

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-10-28 03:42:47 -04:00
Theodore Ts'o 06807d9fa6 debian: Add pre-depends for util-linux for util-linux-ng builds
Addresses-Debian-Bug: #551795

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-10-24 15:04:54 -04:00
Theodore Ts'o ba5131f6d4 e2fsck: Accept superblock times to be fudged by up to 24 hours by default
Unfortunately, due to Windows' unfortunate design decision to
configure the hardware clock to tick localtime, instead of the more
proper and less error-prone UTC time, many users end up in the
situation where the system clock is incorrectly set at the time when
e2fsck is run.

Historically this was usually due to some distributions having buggy
init scripts and/or installers that didn't correctly detect this case
and take appropriate countermeasures.  However, it's still possible,
despite the best efforts of init script and installer authors to not
be able to detect this misconfiguration, usually due to a buggy or
misconfigured virtualization manager or the installer not having
access to a network time server during the installation process.  So
by default, we allow the superblock times to be fudged by up to 24
hours.  This can be disabled by setting options.accept_time_fudge to
the boolean value of false in e2fsck.conf.  The old
options.buggy_init_scripts is left for backwards compatibility.

Since we are now accepting the 24 hour time fudge by default, there is
no longer a need to install an Ubuntu-specific e2fsck.conf file, so we
can remove it.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-10-16 20:59:20 -04:00
Theodore Ts'o 0b5b9f90ee configure.in, configure: Drop --with-cc, --with-ccopts, --with-ldopts
Remove the configure options --with-cc, --with-ccopts, --with-ldopts,
and --with-ld (which never worked), since the first three can be
replaced with CC=, CCFLAGS=, and LDFLAGS= on the configure
command-line.  The default for --with-cc caused the CC= to be
overridden even with it was specified to the configure script.

Addresses-Sourceforge-Bug: #2843248

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-09-06 21:28:47 -04:00
Theodore Ts'o 1be2ce0f49 debian: Make sure libblkid1 and libblkid1-dbg have changelogs
Thanks to Scott James Remnant <scott@canonical.com> for pointing this
problem and suggesting a fix.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-09-01 20:27:29 -04:00
Theodore Ts'o 686c4c124f Fix debian packaging to work correctly on post-Lenny systems
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-08-23 10:27:24 -04:00
Theodore Ts'o edde3e5142 Update release notes, version string, etc. for E2fsprogs 1.41.9 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-08-22 23:04:33 -04:00
Theodore Ts'o 776a374a57 Update debian changelog and RELEASE-NOTES for interim release 2009-07-20 09:43:50 -04:00
Theodore Ts'o 95f65c3d70 debian: Allow building with util-linux-ng
If building with util-linux-ng, we will use the external libblkid and
libuuid, as well as disabling the internal fsck.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-19 07:15:43 -04:00
Scott James Remnant 1e69a24005 debian/control: fix incorrect use of apostrophe's
Signed-off-by: Scott James Remnant <scott@ubuntu.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2009-07-18 18:21:56 -04:00
Theodore Ts'o 73910668ef debian: Don't use dietlibc when building for mips and mipsel
Dietlibc seems to fail when building e2fsprogs for the mips and mipsel
architectures.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-11 19:48:48 -04:00
Theodore Ts'o 989a01f8e2 Update release notes, version string, etc. for E2fsprogs 1.41.8 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-11 18:29:56 -04:00
Theodore Ts'o be6b924116 debian: Update standards version to 3.8.2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-11 17:22:16 -04:00
Theodore Ts'o 90075df530 debian: Update package descriptions to mention ext3/ext4 filesystems
E2fsprogs is used for ext2, ext3, and ext4 filesystems.  Update the
package descriptions accordingly:

Addresses-Debian-Bug: #535530

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-11 16:05:39 -04:00
Theodore Ts'o ef1a526dfb libext2fs: Add new function ext2fs_test_inode_bitmap_range()
Optimize ext2fs_test_block_bitmap_range() and add a new function,
ext2fs_test_inode_bitmap_range(), which works the same way as
ext2fs_block_bitmap_range() but for inode bitmaps.  It's needed for
some code in the development branch, so let's drop it into the maint
branch to make life easier in the future.

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-09 14:32:52 -04:00
Theodore Ts'o 24a24cc628 Interim in-progress update of the release notes and debian/changelog
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-07-09 08:09:58 -04:00
Theodore Ts'o d9206a3414 Update release notes, version string, etc. for E2fsprogs 1.41.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-29 15:12:34 -04:00
Theodore Ts'o 8a48035095 Fix encoding for rec_len in directories for >= 64k blocksize file systems
Previously e2fsprogs interpreted 0 for a rec_len of 65536 (which could
occur if the directory block is completely empty in 64k blocksize
filesystems), while the kernel interpreted 65535 to mean 65536.  The
kernel will accept both to mean 65536, and encodes 65535 to be 65536.
This commit changes e2fsprogs to match.

We add the encoding agreed upon for 128k and 256k filesystems, but we
don't enable support for these larger block sizes, since they haven't
been fully tested.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-21 21:07:38 -04:00
Theodore Ts'o d17ad1234d Update release notes, version string, etc. for E2fsprogs 1.41.6 release 2009-05-30 13:56:31 -04:00
Theodore Ts'o 683f755eec debian: Update control file to remove lintian warnings
* Update debian policy standards 3.8.1
* Expand short and extended descriptions
* Remove duplicated section and priority fields in the binary packages
* Remove empty depends: header

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-05-30 11:29:41 -04:00
Theodore Ts'o aec2906581 debian: update e2fslibs.symbol file to add ext2fs_extent_open2@Base
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-05-30 10:22:12 -04:00
Theodore Ts'o 751fded373 debain: Remove unneeded lintian override 2009-05-30 09:44:06 -04:00
Theodore Ts'o b08c29131a debian: Add a build depends indicating we need a dietlibc newer than 0.30
Addresses-Debian-Bug: #506064

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-25 13:02:15 -04:00
Theodore Ts'o af394b505f debian: Fix distribution name in changelog to be unstable
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-24 08:32:07 -04:00
Theodore Ts'o 898ddb065d Update release notes, version string, etc. for E2fsprogs 1.41.5 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-23 22:44:16 -04:00
Theodore Ts'o e60c25b03f Interim commit for Debian release -- 1.41.4-3
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-23 01:57:51 -04:00
Theodore Ts'o ef797135f8 debian: Update debhelper compat level to 7
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-20 08:23:25 -04:00
Theodore Ts'o 7f8da8022e debian: Update copyright files to point the correct common license files
This fixes the Lintian warning:

   The copyright file refers to the versionless symlink in
   /usr/share/common-licenses for the full text of the GPL, LGPL, or GFDL
   license, but the package does not appear to allow distribution under
   later versions of the license. This symlink will change with each
   release of a new version of the license and may therefore point to a
   different version than the package is released under. debian/copyright
   should instead refers to the specific version of the license that the
   package references.

   For example, if the package says something like "you can redistribute it
   and/or modify it under the terms of the GNU General Public License as
   published by the Free Software Foundation; version 2 dated June, 1991,"
   the debian/copyright file should refer to
   /usr/share/common-licenses/GPL-2, not /GPL.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-20 07:49:26 -04:00
Theodore Ts'o 2de03c18a6 debian: Put the *-dbg packages in the debug section as requested by Lintian
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-20 07:46:08 -04:00
Theodore Ts'o daf3c82dd0 Interim commit for Debian release -- 1.41.4-2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-19 23:06:45 -04:00
Theodore Ts'o afa7874214 debian: Add homepage field to the control file
Addresses-Debian-Bug: #506279

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-18 11:37:35 -04:00
Theodore Ts'o b2ca48f40e Update release notes, changelog, etc., for e2fsprogs 1.41.4 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-01-27 19:51:00 -05:00
Jose R. Santos beab8de477 Add 64-bit getsize interface.
Added interface capable of opening 64-bit block device.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-01-20 13:35:15 -05:00
Theodore Ts'o c66130f186 debian: Add "set -e" to uuid-runtime's prerm script
This addresses a Lintian warning.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-01-20 00:55:32 -05:00
Theodore Ts'o 3a4ec2ba0f debian: Add mkfs.ext4 symlink to the e2fsprogs-udeb package
This patch is needed for Ubuntu Januty.

Addresses-Debian-Bug: #511207

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-01-19 21:05:49 -05:00
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
Theodore Ts'o 6567e5a684 Merge branch 'maint' 2008-03-15 01:27:08 -04:00
Theodore Ts'o 5e107624d4 Update release notes and debian changelog for 1.40.8-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-14 15:18:03 -04:00
Theodore Ts'o 12617a1830 debian: Remove preinstall script which is no longer necessary
The preinstall script checked for dpkg --asert-support-predepends,
which has been true since 1996.  Also it removed configuration files
which haven't been around since well before Debian sarge, more than
two stable releases ago.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-14 15:16:42 -04:00
Theodore Ts'o da078326b6 Update release notes, version files for 1.40.8 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-03-13 20:25:51 -04:00
Theodore Ts'o 399033a6ab Merge branch 'maint' 2008-02-29 00:43:29 -05:00
Theodore Ts'o e1e83b6ba9 Update release notes, version files for 1.40.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:46:40 -05:00
Theodore Ts'o 640d60eb2d debian: Avoid adding an empty directory in the uuid-dev package
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:09 -05:00
Theodore Ts'o 2c5e591d39 debian: Add required ${shlibs:Depends} to libss2's depend header
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:08 -05:00
Theodore Ts'o a4f4c0de10 Fix up debian copyright files to avoid Lintian errors
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28 23:45:08 -05:00