powernap 2.15-0ubuntu2 causes unclean rootfs unmount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powernap (Ubuntu) |
Confirmed
|
Medium
|
Andres Rodriguez |
Bug Description
I have determined that powernap is causing my system to be unable to unmount root (/) on shutdown or reboot. I noticed that my system was doing an fsck check of root on every boot following installation of powernap. I found that the system was failing to unmount '/' due to it being busy. I instrumented the /etc/init.
So it seems that powernapd has an open file handle that is causing root to be busy and so it won't unmount.
I then proceeded to patch the /etc/init/
jheck@paragon:
6a7
> stop on runlevel [!2345]
This fixes the problem. Now the root mount point properly unmounts on shutdown and reboot, and the fsck is no longer happening.
More info:
jheck@paragon:
Description: Ubuntu 11.04
Release: 11.04
jheck@paragon:
powernap:
Installed: 2.15-0ubuntu2
Candidate: 2.15-0ubuntu2
Version table:
*** 2.15-0ubuntu2 0
100 /var/lib/
2.6-0ubuntu2.1 0
500 http://
2.6-0ubuntu1 0
500 http://
Please note that I built this package from source using dpkg-buildpackage so I could get a later version to go with Natty.
Attached please find my /etc/powernap/
jheck@paragon:
-rw-r--r-- 1 root root 731 2011-10-10 23:33 /var/log/
-rw-r--r-- 1 root root 20 2011-10-09 18:59 /var/log/
-rw-r--r-- 1 root root 20 2011-10-06 07:34 /var/log/
-rw-r--r-- 1 root root 20 2011-10-03 14:06 /var/log/
-rw-r--r-- 1 root root 20 2011-09-30 15:09 /var/log/
-rw-r--r-- 1 root root 20 2011-09-28 08:23 /var/log/
-rw-r--r-- 1 root root 0 2011-10-10 08:19 /var/log/
-rw-r--r-- 1 root root 20 2011-10-09 18:59 /var/log/
-rw-r--r-- 1 root root 20 2011-10-06 07:34 /var/log/
-rw-r--r-- 1 root root 20 2011-10-03 14:06 /var/log/
-rw-r--r-- 1 root root 20 2011-09-30 15:09 /var/log/
-rw-r--r-- 1 root root 20 2011-09-28 08:23 /var/log/
Changed in powernap (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
Changed in powernap (Ubuntu): | |
status: | In Progress → Confirmed |
Hi Jim,
Could you please provide a sample step by step to be able to reproduce this bug report exactly. Also, do you have any keyboard/mouse connected through USB?
Cheers,