Activity log for bug #493480

Date Who What changed Old value New value Message
2009-12-07 08:16:16 Swâmi Petaramesh bug added bug
2009-12-07 08:16:40 Swâmi Petaramesh visibility private public
2009-12-07 17:03:35 Scott James Remnant (Canonical) affects upstart (Ubuntu) cryptsetup (Ubuntu)
2009-12-15 08:17:33 Steve Langasek security vulnerability yes no
2009-12-15 08:18:09 Steve Langasek marked as duplicate 475936
2009-12-15 21:43:25 Kees Cook removed subscriber Ubuntu Security Team
2009-12-21 07:08:57 Swâmi Petaramesh removed duplicate marker 475936
2009-12-21 07:10:49 Swâmi Petaramesh affects cryptsetup (Ubuntu) mountall (Ubuntu)
2009-12-21 07:19:12 Swâmi Petaramesh description Binary package hint: upstart Hi, I've seen this discussed (with no solution) in several forums posts, and I've seen some "about similar" bug reports, but not the exact same, or marked "incomplete", so I file this one as I believe this is a high priority and security issue. - After upgrade from Intrepid to Karmic, encrypted /tmp and encrypted swap defined in /etc/crypttab do not work any longer, where they worked perfectly before. /etc/crypttab entries are i.e.: c_swap /dev/mapper/VG1-c_swap /dev/urandom size=128,swap c_tmp /dev/mapper/VG1-c_tmp /dev/urandom size=128,tmp /etc/fstab entries are i.e.: /dev/mapper/c_tmp /tmp ext2 relatime,nosuid 0 0 /dev/mapper/c_swap none swap sw 0 0 Symptoms are : - During boot, cryptsetup always properly creates and formats the encrypted c_tmp and c_swap volumes with random keys - so that's no cryptsetup issue. The rest of the system behaviour is not always consequent : 1/ The encrypted swap is sometimes properly "swapon'ed", and sometimes not. 2/ The encrypted /tmp is NEVER auto-mounted although it has been properly created and formatted 3/ The startup scripts always spit a message stating that "not all the partitions defined in fstab could be mounted" 4/ The boot process *sometimes* hangs with a "Type root password or CTRL-D to continue", and sometimes not. 5/ When the system finishes booting, typing "mount -a" gets the encrypted /tmp properly mounted. (It's worth noticing that I also have an encrypted /home using a permanent key, and this one still works flawlessly...?!?) It appears to me that the startup scripts are doing things asynchronously or in the wrong order for encrypted filesystems, and that's a major issue. The system running with /tmp not mounted, thus potentially sensitive /tmp data stored unencrypted in the root filesystem, I mark this as a security issue. Binary package hint: Mountall (Swâmi Petaramesh 2009/12/21: De-duplicating this bug and affecting it to the mountall package per Steve Langasek suggestion in #475936 comment 12) mountall doesn't wait for cryptsetup to finish setting up encrypted temporary filesystems (/tmp) and fails mounting them. It sometimes affects encrypted swap as well. The result is that the system boots with encrypted /tmp not mounted, and temporary files go unencrypted in the /tmp directory of the root filesystem. Also, the system may have no swap after bootup. ---- - After upgrade from Intrepid to Karmic, encrypted /tmp and encrypted swap defined in /etc/crypttab do not work any longer, where they worked perfectly before. /etc/crypttab entries are i.e.: c_swap /dev/mapper/VG1-c_swap /dev/urandom size=128,swap c_tmp /dev/mapper/VG1-c_tmp /dev/urandom size=128,tmp /etc/fstab entries are i.e.: /dev/mapper/c_tmp /tmp ext2 relatime,nosuid 0 0 /dev/mapper/c_swap none swap sw 0 0 Symptoms are : - During boot, cryptsetup always properly creates and formats the encrypted c_tmp and c_swap volumes with random keys - so that's no cryptsetup issue. The rest of the system behaviour is not always consequent : 1/ The encrypted swap is sometimes properly "swapon'ed", and sometimes not. 2/ The encrypted /tmp is NEVER auto-mounted although it has been properly created and formatted 3/ The startup scripts always spit a message stating that "not all the partitions defined in fstab could be mounted" 4/ The boot process *sometimes* hangs with a "Type root password or CTRL-D to continue", and sometimes not. 5/ When the system finishes booting, typing "mount -a" gets the encrypted /tmp properly mounted. (It's worth noticing that I also have an encrypted /home using a permanent key, and this one still works flawlessly...?!?) It appears to me that the startup scripts are doing things asynchronously or in the wrong order for encrypted filesystems, and that's a major issue. The system running with /tmp not mounted, thus potentially sensitive /tmp data stored unencrypted in the root filesystem, I mark this as a security issue.
2009-12-21 07:29:43 Swâmi Petaramesh nominated for series Ubuntu Karmic
2009-12-21 07:29:43 Swâmi Petaramesh nominated for series Ubuntu Lucid
2009-12-21 11:19:46 Scott James Remnant (Canonical) affects mountall (Ubuntu) cryptsetup (Ubuntu)
2009-12-21 16:57:37 Swâmi Petaramesh affects cryptsetup (Ubuntu) mountall (Ubuntu)
2009-12-21 17:11:15 Scott James Remnant (Canonical) affects mountall (Ubuntu) cryptsetup (Ubuntu)
2009-12-21 17:36:27 Swâmi Petaramesh affects cryptsetup (Ubuntu) mountall (Ubuntu)
2009-12-21 17:46:16 Scott James Remnant (Canonical) affects mountall (Ubuntu) cryptsetup (Ubuntu)
2009-12-21 18:06:10 Steve Langasek affects cryptsetup (Ubuntu) mountall (Ubuntu)
2009-12-21 18:06:33 Steve Langasek summary [Karmic, security] Encrypted partitions no longer mounting after upgrade to karmic [Karmic, security] Encrypted /tmp no longer mounting after upgrade to karmic
2009-12-21 18:10:59 Scott James Remnant (Canonical) affects mountall (Ubuntu) cryptsetup (Ubuntu)
2009-12-22 01:12:14 Steve Langasek attachment added mountall.log http://launchpadlibrarian.net/37066442/mountall.log
2009-12-22 01:12:35 Steve Langasek affects cryptsetup (Ubuntu) mountall (Ubuntu)
2009-12-22 15:10:45 Scott James Remnant (Canonical) affects mountall (Ubuntu) cryptsetup (Ubuntu)
2009-12-22 20:22:10 Steve Langasek marked as duplicate 475936
2010-11-23 21:24:55 Janne Nykopp bug added subscriber Janne Nykopp