Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 206747
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jan Schubert <Jan.Schubert@GMX.li>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 206747 depends on: Show dependency tree
Bug 206747 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-20 10:31 0000
For several times in the past, updating util-linux broke my crypto fs (and
according to bugzilla many more). Now it happend again after trying 2.13.1.
Running 2.13-r3 worked fine before for several weeks. Also 2.13.0.1 is not
doing well so I downgraded to 2.13-r2 (as long as -r3 seems to be removed from
portage).

Using a "wrong" version just throws the standard error:

# mount /crypto/
Password:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

------- Comment #1 From Jan Schubert 2008-01-20 10:33:21 0000 -------
I'm using Blowfish, this is the relevant part from /etc/fstab:

/dev/sda2               /crypto         reiserfs       
encryption=blowfish,noatime,noauto       0 0

------- Comment #2 From SpanKY 2008-01-20 11:32:03 0000 -------
please review the bug reporting guide:
 http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap6

you need to include:
 - emerge --info
 - emerge util-linux -pv
 - the tail of `dmesg` like the error from mount states

also, please explain what you mean by "2.13.0.1 is not doing well" as that
version should function pretty much exactly the same as 2.13-r2

------- Comment #3 From Jan Schubert 2008-01-20 15:19:00 0000 -------
Hm, 2.13.0.1 ist just not working (the same way like 2.13.1), 2.13-r2 (and -r3
which i run before) worked fine. Again, this happens every other update of
util-linux so it might be known issue in updating util-linux.

# emerge -pv util-linux

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/util-linux-2.13.1 [2.13-r2] USE="crypt nls -loop-aes%
-old-linux (-selinux)" 2,788 kB

Total: 1 package (1 upgrade), Size of downloads: 2,788 kB


dmesg just tells:

ReiserFS: loop0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs
on loop0

# emerge --info
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1,
2.6.23-gentoo-r4 i686)
=================================================================
System uname: 2.6.23-gentoo-r4 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz
Timestamp of tree: Sat, 19 Jan 2008 14:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US en_GB de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi alsa amr audiofile
berkdb binfilter bitmap-fonts bluetooth bzip2 cairo cddb cdr cli cracklib crypt
cups dbus dga directfb divx dri dvd dvdr dvdread eds emboss encode ethereal evo
exif extra-cardsets fam fbcon fbsplash ffmpeg firefox flac fortran gdbm gif
gmedia gnome graphviz gstreamer gtk hal iconv irmc isdnlog jpeg kde kerberos
lame ldap libcaca live mad matroska midi mikmod mmx mmxext mozcaledar mp3 mp4
mpeg mpeg-2 mpeg2 mplayer mudflap ncurses nls nntp nptl nptlonly nsplugin
oci8-instant-client ogg oggvorbis opengl openmp oracle oss pam pcmcia pcre pdf
perl png ppds pppd python qt3 qt3support qt4 quicktime readline real realmedia
reflection reiserfs sdl session sockets spell spl sqlite sse sse2 ssl svg tcpd
theora tiff tk truetype truetype-fonts trusted type1-fonts unicode usb vim
vim-pager vim-with-x vorbis wifi win32codecs wma wmf wmp wmv x86 xanim xine xml
xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate
route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en en_US en_GB de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From SpanKY 2008-01-20 20:07:16 0000 -------
i'm guessing you're using loop-aes functionality

you need to have USE=loop-aes in newer versions of util-linux ... older
versions enabled it via USE=crypt

ive added a message to the ebuild to note this change

------- Comment #5 From Petr Pisar 2008-04-02 10:35:14 0000 -------
Remark for other frustrated users:

This bug disallows swaping with random encryption keys. /etc/fstab:
/dev/hda2       none        swap        sw,loop=/dev/loop1,encryption=twofish

$ swapon /dev/hda2
/dev/hda2: Invalid argument

merging 2.13.1 +loop-aes gets back the functionality.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug