[Bug 809420] New: sysctl --system is not run on boot
https://bugzilla.novell.com/show_bug.cgi?id=809420 https://bugzilla.novell.com/show_bug.cgi?id=809420#c0 Summary: sysctl --system is not run on boot Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: bwiedemann@suse.com QAContact: qa-bugs@suse.de CC: mvidner@suse.com Found By: --- Blocker: --- /boot/sysctl.conf-* values should be set on boot by sysctl --system /lib/systemd/system/systemd-sysctl.service calls /lib/systemd/systemd-sysctl which does not do this job -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c1
--- Comment #1 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c2
--- Comment #2 from Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c3
--- Comment #3 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c4
--- Comment #4 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c5
--- Comment #5 from Frederic Crozat
it was used via /etc/init.d/boot.sysctl: /sbin/sysctl -e -q --system
but sysctl isn't used anymore, systemd-sysctl is now, and I'm not sure it is worth adding support for this (currently, it will follow what is descripted in man sysctld). -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c7
--- Comment #7 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c8
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c9
--- Comment #9 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c10
Tony Su
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c11
Frederic Crozat
Hello all, As resolving this issue is discussed, is there a recommended workaround today?
I noticed that /etc/sysctl.conf was not being read starting with systemd version 195 (default openSUSE 12.3). Until now, the changes I was running in /etc/sysctl.conf were optional but today I have encountered a CRITICAL problem created by this bug...
I think you are confusing things. /etc/sysctl.conf is read and applied by systemd-sysctl This bug is about /boot/sysctl.conf-* -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c12
--- Comment #12 from Tony Su
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c13
--- Comment #13 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c14
--- Comment #14 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c15
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c17
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c18
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c19
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c20
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c21
--- Comment #21 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c22
Daniel Harnett
/boot/sysctl.conf-* values should be set on boot by sysctl --system
/lib/systemd/system/systemd-sysctl.service calls /lib/systemd/systemd-sysctl which does not do this job
I am still running into this problem after applying openSUSE-RU-2013:1057-1. The system was installed on a LVM volume, which caused /boot to be created in a separate partition. When systemd-sysctl runs, /boot hasn't been mounted, yet. Adding the following to the unit configuration resolves the issue for me. RequiresMountsFor=/boot -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c23
Daniel Harnett
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c24
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c25
--- Comment #25 from Frederic Crozat
(In reply to comment #0)
/boot/sysctl.conf-* values should be set on boot by sysctl --system
/lib/systemd/system/systemd-sysctl.service calls /lib/systemd/systemd-sysctl which does not do this job
I am still running into this problem after applying openSUSE-RU-2013:1057-1. The system was installed on a LVM volume, which caused /boot to be created in a separate partition. When systemd-sysctl runs, /boot hasn't been mounted, yet. Adding the following to the unit configuration resolves the issue for me.
RequiresMountsFor=/boot
Could you open a separate bug report for this, it will be easier to track. Thanks -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c26
--- Comment #26 from Frederic Crozat
Could you open a separate bug report for this, it will be easier to track.
I retract that request, since the issue was introduced by the fix for this particular bug. -- 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=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c27
--- Comment #27 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=809420
https://bugzilla.novell.com/show_bug.cgi?id=809420#c28
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com