A new version of e2fsprogs (1.41.0) is out since July 10, 2008. There are a lot of enhancements so an updated ebuild would be great. Release notes can be found here: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.41.0 Reproducible: Always
I'm suffering from the following bug, that affects my automated backup-scripts. A version bump would fix this. >>Fix blkid handling of stale devices. Fix a bug which could cause a core dump while garbage collecting the blkid cache, and assure that blkid_find_dev_with_tag() never returns a non-existent device. Also, if a filesystem is found at a new /dev location, eliminate any duplicate stale entries which can not be verified. (Addresses-Debian-Bugs: #487758, #487783)
I'm looking forward to this so I can test ext4 with all in-tree packages. This and the 2.6.26 kernel will make ext4 a viable option for some of my partitions.
For the adventurous, com_err and ss compile fine on x86 with ebuilds just bumped to 1.41.0, e2fsprogs doesn't like two patches (the Makefile patch, and the *intl patch), otherwise compiles as well. You may get badly broken software after this operation, as it's neither vanilla nor consciously patched by Gentoo, so run at your own risk™.
(In reply to comment #3) > For the adventurous, com_err and ss compile fine on x86 with ebuilds just > bumped to 1.41.0, e2fsprogs doesn't like two patches (the Makefile patch, and > the *intl patch), otherwise compiles as well. You may get badly broken software > after this operation, as it's neither vanilla nor consciously patched by > Gentoo, so run at your own risk™. Actually disregard the last comment, I must have looked at a wrong terminal window. e2fsprogs will not compile without further work with the ebuild. Sorry about the noise.
(In reply to comment #4) > (In reply to comment #3) > > For the adventurous, com_err and ss compile fine on x86 with ebuilds just > > bumped to 1.41.0, e2fsprogs doesn't like two patches (the Makefile patch, and > > the *intl patch), otherwise compiles as well. You may get badly broken software > > after this operation, as it's neither vanilla nor consciously patched by > > Gentoo, so run at your own risk™. > > Actually disregard the last comment, I must have looked at a wrong terminal > window. e2fsprogs will not compile without further work with the ebuild. Sorry > about the noise. > I tried that a few days ago, I probabily could have saved you some effort if I had commented that, instead of just silently adding my name to the CC list ... I hope it gets in soon.
Created attachment 160932 [details, diff] New version of the libintl patch needed by e2fsprogs-1.41
Created attachment 160934 [details, diff] New version of the makefile patch needed by e2fsprogs-1.41
Created attachment 160936 [details] e2fsprogs-1.41.0.ebuild - This contains a fudge to link in the libss.so which is needed by the debugfs section of the compile
(In reply to comment #6) > Created an attachment (id=160932) [edit] > New version of the libintl patch needed by e2fsprogs-1.41 > (In reply to comment #7) > Created an attachment (id=160934) [edit] > New version of the makefile patch needed by e2fsprogs-1.41 > (In reply to comment #8) > Created an attachment (id=160936) [edit] > e2fsprogs-1.41.0.ebuild - This contains a fudge to link in the libss.so which > is needed by the debugfs section of the compile > If you use all three of these attached files then e2fsprogs-1.41 will compile successfully. You do need to make sure you compile com_err and ss (This only needs you to copy the 1.40 version of the ebuild to the 1.41).
Using these ebuilds, mount -l for some reason segfaults. Using gdb points to libc for some reason, also, recompiling util-linux doesn't help. but, mount , aside from -l, works fine.. This GDB was configured as "x86_64-pc-linux-gnu". (gdb) exec /bin/mount -l (gdb) exec /bin/mount (gdb) set args -l (gdb) run Starting program: /bin/mount -l (no debugging symbols found) (no debugging symbols found) rootfs on / type rootfs (rw) Program received signal SIGSEGV, Segmentation fault. 0x00007f91535fc672 in strcmp () from /lib/libc.so.6 (gdb)
(In reply to comment #10) > Using these ebuilds, mount -l for some reason segfaults. Using gdb points to > libc for some reason, also, recompiling util-linux doesn't help. but, mount , > aside from -l, works fine.. > > This GDB was configured as "x86_64-pc-linux-gnu". > (gdb) exec /bin/mount -l > (gdb) exec /bin/mount > (gdb) set args -l > (gdb) run > Starting program: /bin/mount -l > (no debugging symbols found) > (no debugging symbols found) > rootfs on / type rootfs (rw) > > Program received signal SIGSEGV, Segmentation fault. > 0x00007f91535fc672 in strcmp () from /lib/libc.so.6 > (gdb) Any chances to compile it with debug symbols and to run it under dev-util/valgrind?
(In reply to comment #11) # gdb --args /bin/mount -l GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (no debugging symbols found) (no debugging symbols found) (gdb) run Starting program: /bin/mount -l (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) /dev/md/d0p2 on / type ext3 (rw,noatime,acl,user_xattr) [root] proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620) cachedir on /lib64/splash/cache type tmpfs (rw,size=4096k,mode=644) Program received signal SIGSEGV, Segmentation fault. 0x00007fa109fc7f62 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x00007fa109fc7f62 in strcmp () from /lib/libc.so.6 #1 0x00007fa10a2a5352 in blkid_get_dev () from /lib/libblkid.so.1 #2 0x00007fa10a2a8b3d in blkid_get_tag_value () from /lib/libblkid.so.1 #3 0x0000000000402c90 in print_one () #4 0x000000000040648b in main () (gdb)
(In reply to comment #11) With -ggdb3 and -01 # gdb --args /bin/mount -l GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (no debugging symbols found) (no debugging symbols found) (gdb) run Starting program: /bin/mount -l (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) /dev/md/d0p2 on / type ext3 (rw,noatime,acl,user_xattr) [root] proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620) cachedir on /lib64/splash/cache type tmpfs (rw,size=4096k,mode=644) Program received signal SIGSEGV, Segmentation fault. 0x00007f80dff19f62 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x00007f80dff19f62 in strcmp () from /lib/libc.so.6 #1 0x00007f80e01f732e in blkid_get_dev (cache=0x2534310, devname=0x2540950 "boot", flags=<value optimized out>) at devname.c:99 #2 0x00007f80e01fa45b in blkid_get_tag_value (cache=0x2534310, tagname=0x41459d "LABEL", devname=0x25409f0 "/dev/md/d0p1") at resolve.c:45 #3 0x0000000000402c90 in print_one () #4 0x000000000040648b in main () (gdb)
my bt is similer #0 0x00007fbf9d12a6d2 in strcmp () from /lib/libc.so.6 #1 0x00007fbf9d406ee2 in blkid_get_dev (cache=0x674820, devname=<value optimized out>, flags=2) at devname.c:99 #2 0x00007fbf9d40a1ad in blkid_get_tag_value (cache=0x674820, tagname=0x411f9d "LABEL", devname=0x674a60 "/dev/sda5") at resolve.c:45 #3 0x0000000000402be0 in print_one () #4 0x0000000000405fc3 in main () (gdb)
/dev/sda5 is my root fs, btw
Created attachment 162127 [details, diff] Fix "mount -l" SigFault this patch avoid to compare a NULL string. ciao luigi
Created attachment 162129 [details, diff] Add patch for devname.c
I have applied the new patches and can confirm that mount -l now work correctly. Thank you comio
*** Bug 232317 has been marked as a duplicate of this bug. ***
e2fsprogs-1.41.0 in the tree
(In reply to comment #20) > e2fsprogs-1.41.0 in the tree > The following packages should be fixed before to use the new e2fsprogs: ./app-crypt/mit-krb5/mit-krb5-1.6.3-r1.ebuild (includes sys-libs/{ss,com_err}) ./app-crypt/mit-krb5/mit-krb5-1.6.3.ebuild (includes sys-libs/{ss,com_err}) ./app-crypt/mit-krb5/mit-krb5-1.5.3-r1.ebuild (includes sys-libs/{ss,com_err}) ./app-crypt/heimdal/heimdal-0.7.2-r3.ebuild (includes sys-libs/{ss,com_err}) ./app-crypt/heimdal/heimdal-1.2.1.ebuild (includes sys-libs/{ss,com_err}) ./sci-mathematics/gimps/gimps-25.6.ebuild (includes sys-libs/com_err) ./net-mail/fetchmail/fetchmail-6.3.8.ebuild (includes sys-libs/com_err) ./net-mail/fetchmail/fetchmail-6.3.6.ebuild (includes sys-libs/com_err) ./net-mail/fetchmail/fetchmail-6.3.7-r1.ebuild (includes sys-libs/com_err) ./net-mail/fetchmail/fetchmail-6.3.8-r1.ebuild (includes sys-libs/com_err) ./net-mail/fetchmail/fetchmail-6.3.8-r2.ebuild (includes sys-libs/com_err) ciao luigi
There are some collisions in the two packages: * Messages for package sys-fs/e2fsprogs-1.41.0: [...] * Detected file collision(s): * * /usr/share/info/libext2fs.info.bz2 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-libs/e2fsprogs-libs-1.41.0 * /usr/share/info/libext2fs.info.bz2