Bug 743299

Summary: Scheduled shutdown stops working properly after kernel upgrade
Product: [openSUSE] openSUSE 12.1 Reporter: Jean Delvare <jdelvare>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jean Delvare 2012-01-25 08:24:10 UTC
If I upgrade the kernel to version 3.2, the "shutdown -P [TIME]" command stops working properly. Basically I have to run it twice for it to work, first attempt fails with the following error message in /var/log/messages:

systemd-shutdownd[2391]: Got request from unprivileged user. Ignoring.

The problem doesn't happen with the original 3.1 kernel from openSUSE 12.1.

I found a similar report at Red Hat:
https://bugzilla.redhat.com/show_bug.cgi?id=757628
They say that the problem comes from upstream kernel change:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=16e5726269611b71c930054ffe9b858c1cea88eb

And the fix would be in systemd:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=75d3fc60f88e08bf953063819a8a04b881d6db23

Frederic, I know we don't officially support kernel 3.2 in openSUSE 12.1, but a number of users may still run that for various reasons. May I ask that the commit above is included in the next maintenance update of systemd? Thanks.
Comment 1 Frederic Crozat 2012-01-25 13:31:32 UTC
I've pushed this patch and a few other related to home:fcrozat:systemd / systemd. Please test.
Comment 2 Jean Delvare 2012-01-26 12:56:03 UTC
I tested with package systemd-37-3.133.1.x86_64, on kernels 3.1.0, 3.2.1 and 3.3-rc1, and "shutdown -P [TIME]" worked fine every time. Thanks Frederic!
Comment 3 Frederic Crozat 2012-01-26 13:47:03 UTC
Thanks.

I'll close this bug when maintenance update is pushed.
Comment 4 Bernhard Wiedemann 2012-02-20 13:01:07 UTC
This is an autogenerated message for OBS integration:
This bug (743299) was mentioned in
https://build.opensuse.org/request/show/106032 12.1 / systemd
Comment 5 Frederic Crozat 2012-03-14 16:45:43 UTC
update released