[Bug 811793] New: /var/run/nologin is periodically re-created after upgrade to 12.3
https://bugzilla.novell.com/show_bug.cgi?id=811793 https://bugzilla.novell.com/show_bug.cgi?id=811793#c0 Summary: /var/run/nologin is periodically re-created after upgrade to 12.3 Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: vkrevs@yahoo.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 Upgraded two openSUSE 12.2 boxes to 12.3 via zypper dup. Instantly lost ability to SSH as a non-root user into these machines. Also, a custom application that uses PAM to authenticate users stopped working. Both SSH and the PAM library produce a "System is booting up" message. Hours of googling revealed that a /var/run/nologin file may cause this. Checked both boxes, and for some reason it existed on both machines. Deleted it, and both SSH and PAM authentication in custom application started working again. The problem is that something (systemd???) is periodically re-creating the /var/run/nologin file on both boxes. Reproducible: Sometimes Steps to Reproduce: 1. No idea 2. 3. Actual Results: /var/run/nologin is automatically re-created by something. Expected Results: /var/run/nologin is not automatically re-created by something. -- 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=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c1
--- Comment #1 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c2
Mike Lowery
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c3
Thomas Biege
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c4
--- Comment #4 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c5
Christian Boltz
Looks like "init 5" is the culprit. After reboot to runlevel 3, /var/run/nologin does not exist, and the system is functional. Do an "init 5" and something creates /var/run/nologin and never removes is.
Let's have a look who/what creates the file ;-) First, make sure auditd is installed (package audit) and start it with systemctl start auditd.service. Then add a watch to /var/run/ auditctl -w /var/run/ After that, run init 3 and init 5 (which should reproduce the problem) and then attach /var/log/audit/audit.log to the bugreport. -- 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=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c6
--- Comment #6 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c7
--- Comment #7 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c8
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c9
--- Comment #9 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c10
--- Comment #10 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c11
--- Comment #11 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c12
--- Comment #12 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c13
--- Comment #13 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c14
--- Comment #14 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c15
--- Comment #15 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c16
--- Comment #16 from Frederic Crozat
And if the answer to this is "systemd", what next?
how about first doing the test and then we'll see what to do. -- 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=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c17
--- Comment #17 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c18
--- Comment #18 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c19
--- Comment #19 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c20
--- Comment #20 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c21
--- Comment #21 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c22
--- Comment #22 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c23
--- Comment #23 from Vadim Krevs
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c24
Christian Wittmer
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c25
Christian Wittmer
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c26
--- Comment #26 from Cristian Rodríguez
Hi Christian, can you help please ? I am not familiar with systemd, not yet.
I did some cleanups and updates to the systemd stuff in proftpd now, see equest id 184568 -- 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=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c27
Victor Pereira
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=811793
https://bugzilla.novell.com/show_bug.cgi?id=811793#c28
--- Comment #28 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com