[Bug 753904] New: systemd ignores settings in /etc/systemd/system.conf
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c0 Summary: systemd ignores settings in /etc/systemd/system.conf Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Yarny@public-files.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 I set ShowStatus=yes and SysVConsole=yes in /etc/systemd/system.conf and reboot, but systemd ignores my orders. Kernel command line does not have any settings which might override system.conf.
From a console: linux-1234:~ # cat /etc/systemd/system.conf | grep -E 'Status|Console' ShowStatus=yes SysVConsole=yes linux-1234:~ # systemctl show | grep -E 'Status|Console' ShowStatus=no SysVConsole=no linux-1234:~ # cat /proc/cmdline root=/dev/disk/by-id/ata-VBOX_HARDDISK_VB8362006a-7bc1993e-part2 resume=/dev/disk/by-id/ata-VBOX_HARDDISK_VB8362006a-7bc1993e-part1 splash=off quiet vga=0x317
Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c1 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2012-03-26 15:11:05 UTC --- try removing quiet -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c2 --- Comment #2 from Yarny Yarny <Yarny@public-files.de> 2012-03-26 16:22:08 UTC --- Aha. Yes, it shows a lot of "starting"/"started"/... without the quiet setting. So systemd sees the quiet option and this overrides the settings in system.conf. It even overrides "systemd.showconsole=yes" on the kernel command line. It seems reasonable that systemd infers verbosity settings from this quiet option in the absence of explicit configuration. But at the moment, it is impossible to suppress kernel-messages while showing systemd progress. If this is intended behaviour, please consider this bug report an enhancement request. My usecase: kernel messages sometimes hide the luks passphrase prompt from the initrd (e.g. user plugs in a keyboard to enter passphrase). This confuses the unversed user. The quiet option remedies this, but with systemd, the screen is frozen for almost a minute after the kernel calls init. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-03-26 16:39:08 UTC --- try to replace quiet with loglevel=0 : it should make sure systemd output is visible but kernel one isn't. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c4 --- Comment #4 from Yarny Yarny <Yarny@public-files.de> 2012-03-26 19:37:26 UTC --- Thanks Frederic, this solves the problem as far as I am concerned, so I'm happy. And I was wrong about systemd.show_console: I just forgot the underscore. However, the manpages suggests that system.conf overrides the quiet option while in fact the converse is true. I think this should be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753904 https://bugzilla.novell.com/show_bug.cgi?id=753904#c5 kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kkzhang@novell.com Resolution| |FIXED --- Comment #5 from kk zhang <kkzhang@novell.com> 2012-04-11 07:36:53 UTC --- Resolved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com