Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116832 - hardened 2.6.14-r1: root unmount failure during shutdown
Summary: hardened 2.6.14-r1: root unmount failure during shutdown
Status: RESOLVED DUPLICATE of bug 99413
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on: 115771
Blocks:
  Show dependency tree
 
Reported: 2005-12-26 17:46 UTC by Mike Kurnik
Modified: 2005-12-28 18:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output from hardened-sources 2.6.14-r1 system (emergeinfo,2.46 KB, text/plain)
2005-12-26 18:23 UTC, Mike Kurnik
Details
requested /etc/fstab file from effected system (fstab,1.18 KB, text/plain)
2005-12-27 12:22 UTC, Mike Kurnik
Details
config used by a kernel on effected system (config-2.6.14-hardened,34.94 KB, text/plain)
2005-12-27 12:31 UTC, Mike Kurnik
Details
output from "ps aux" after giving "root password password for maintience" (psaux,2.35 KB, text/plain)
2005-12-27 14:39 UTC, Mike Kurnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kurnik 2005-12-26 17:46:36 UTC
When using a hardened-sources 2.6.14-r1 kernel the root partition will frequently fail to unmount properly during shutdown causing filesystem corruption requiring an fsck upon next boot of system.
Comment 1 Mike Kurnik 2005-12-26 17:57:20 UTC
I should add that the problem appears to be solved by running the hardened-sources-2.6.14-r2 ebuild proposed in bug 115771
Comment 2 Mike Kurnik 2005-12-26 18:23:08 UTC
Created attachment 75575 [details]
emerge --info output from hardened-sources 2.6.14-r1 system
Comment 3 kfm 2005-12-26 19:18:53 UTC
This appears to be a regression caused by the hardened patches which is solved in the latest release. In view of this, I'm adding a depend on bug 115771.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2005-12-27 11:05:29 UTC
Should be solved by -r2 when it hits mirrors.
Comment 5 Mike Kurnik 2005-12-27 11:26:16 UTC
After futher testing I have found in fact that problem takes place on -r2 kernel as well and simply install does not fix issue as was thought. So far / unmount failure has been reproducible on  hardened-2.6.14, hardened-2.6.14-r1, hardened-2.6.14-r2. I am starting to form the opinion after a great deal more testing that the trigger for the issue may in fact lie elsewhere. Still working to determine beyond all doubt actual cause of issue.
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2005-12-27 11:38:18 UTC
Could you please attach your /etc/fstab and briefly explain your disk partition layout for us?
anything unusual? lvm root fs fex?
Comment 7 John Mylchreest (RETIRED) gentoo-dev 2005-12-27 11:38:36 UTC
reopening also.
Comment 8 petre rodan (RETIRED) gentoo-dev 2005-12-27 11:48:08 UTC
bug #99413 might be somehow related to this one
Comment 9 Mike Kurnik 2005-12-27 12:22:44 UTC
Created attachment 75628 [details]
requested /etc/fstab file from effected system
Comment 10 Mike Kurnik 2005-12-27 12:24:00 UTC
(In reply to comment #6)
> Could you please attach your /etc/fstab and briefly explain your disk partition
> layout for us?
> anything unusual? lvm root fs fex?
> 

Since this is a test install the setup is not too complex...I do not know if the fact that I used a regular amd64 multilib stage 3 (running on EM64T 3GHZ P4) and then set the needed flags for hardened and CFLAGS as well qualifies. The setup itself is on it's own dedicated 30 gig IDE drive for / and needed swap. Neither LVM nor RAID is being used for those. FS  on that drive is EXT3. LVM2 is being used but only to gain access to data from my old install. The old install is in same box. LVM2 on top of md RAID 5 (4x80 Gig SATA WD800JD). I only manually mounted as need to gain access to that data.  Mainboard is Asus P5AD2-E Premium with 1 GIG DDR2
Comment 11 Mike Kurnik 2005-12-27 12:31:23 UTC
Created attachment 75629 [details]
config used by a kernel on effected system
Comment 12 Mike Kurnik 2005-12-27 14:39:05 UTC
Created attachment 75644 [details]
output from "ps aux" after giving "root password password for maintience"

also after giving root password for maintience as prompted but before running "ps aux" I view the following output from terminal:

   remounting remaining filesystems readonly.

   umount: devpts busy -remounted read-only
   umount: udev busy -remounted read-only
   umount: /: device is busy
   umount: /: device is busy
   umount: /: device is busy
Comment 13 kfm 2005-12-28 18:02:05 UTC
Bug 99413 seems similar enough for this to be a duplicate I reckon (thanks to Petre for the link).

*** This bug has been marked as a duplicate of 99413 ***