[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-07-13 Thread Tormod Volden
laptop-mode-tools (1.35-1ubuntu2) hardy-proposed; urgency=low . * Avoid using temporary files in init script to avoid hangs on shutdown if filesystem is read-only (LP: #206217) ** Attachment added: "debdiff for Hardy SRU" http://launchpadlibrarian.net/15994492/laptop-mode-tools_1.35

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-07-03 Thread Tormod Volden
Sorry, it is too late for 8.04.1, but we can try to make an SRU for Hardy anyway. It will need a debdiff against the current Hardy version and the procedure from https://wiki.ubuntu.com/StableReleaseUpdates. Contributions are welcome. -- can't reboot when root fs mounted r/o https://bugs.launchpa

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-06-24 Thread ski
Can you apply this to hardy before 8.04.1? The patch is quite simple, and the problem quite tedious. -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubun

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-06-24 Thread Bug Watch Updater
** Changed in: laptop-mode-tools (Debian) Status: New => Fix Released -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubu

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-06-03 Thread Launchpad Bug Tracker
This bug was fixed in the package laptop-mode-tools - 1.42-1ubuntu1 --- laptop-mode-tools (1.42-1ubuntu1) intrepid; urgency=low * Merge from debian unstable (LP: #229579), remaining changes: - etc/init.d/laptop-mode: Check if laptop mode is disabled in /etc/default/laptop-

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-13 Thread Bug Watch Updater
** Changed in: laptop-mode-tools (Debian) Status: Unknown => New -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread ski
Ah ha, good sleuthing Tormod. I just tried the (second) patch - works like a charm. Thanks a bunch. -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubunt

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread Tormod Volden
** Bug watch added: Debian Bug tracker #480946 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480946 ** Also affects: laptop-mode-tools (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480946 Importance: Unknown Status: Unknown -- can't reboot when root fs mounted

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread Tormod Volden
The previous patch won't apply on the Hardy version, since that one has a dangling LF on line 58. ** Attachment added: "laptop-mode_hardy.patch" http://launchpadlibrarian.net/14478850/laptop-mode_hardy.patch -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You r

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread Tormod Volden
ski, can you try this patch? After verification, I'll make a debdiff and we should try to get an SRU for this. ** Attachment added: "patch for /etc/init.d/laptop-mode" http://launchpadlibrarian.net/14476500/laptop-mode.patch -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread Tormod Volden
Sorry, I thought it was just complaining without doing more harm. But actually, if the /tmp filesystem is not writeable, mktemp fails and TEMPFILE is empty. Calling cat with the empty argument makes cat wait for input on stdin. ** Changed in: laptop-mode-tools (Ubuntu) Assignee: (unassigned)

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread ski
This is endemic on all hardy machines in our office, some upgraded, some freshly installed. Marking confirmed. ** Changed in: sysvinit (Ubuntu) Status: New => Confirmed -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification becau

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread ski
Seems to me that whomever "owns" /etc/init.d/laptop-mode is the group responsible for this bug, as I have no problems with any other init scripts. If not, do you have any suggestions for what the sysvinit folks need to track down, Tormod? Thanks. -- can't reboot when root fs mounted r/o https://b

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-05-12 Thread Tormod Volden
Closing the laptop-mode-tools task, I don't think there's anything to fix there. ** Changed in: laptop-mode-tools (Ubuntu) Status: Confirmed => Invalid -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a memb

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
Here's an image of the freeze I transcribed above (a different run), in case I made any important typos. ** Attachment added: "Image049.jpg" http://launchpadlibrarian.net/13831713/Image049.jpg -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bu

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
The following is a hackish fix which disables the log_action_end_msg, but fixes the problem. I suspect the problem is in /lib/lsb/init- functions, but I'm not having much luck determining where so far. ** Attachment added: "hackish-fix.patch" http://launchpadlibrarian.net/13831717/hackish-fix.

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
And here's a screenshot of what rebooting from a r/o fs looks like with my hackish patch applied (image attached in case there are any typing errors on my part. I disabled some debug "echo here"s in the patch). ... * Disabling laptop mode... /etc/rc6.d/K99laptop-mode: 85: cannot create: Directory

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
This also affects a coworker of mine, marking confirmed. ** Changed in: laptop-mode-tools (Ubuntu) Status: New => Confirmed -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
I've done a little more debugging, the results of which I'll post later, but for the moment just wanted to note that this is exacerbated by the fact that magic sysrq keys don't work in single user mode for some reason. -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/20621

[Bug 206217] Re: can't reboot when root fs mounted r/o

2008-04-22 Thread ski
Bump. This is urgent - people can't boot to single user mode, remount r/o, fsck, and then reboot. -- can't reboot when root fs mounted r/o https://bugs.launchpad.net/bugs/206217 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-