Mailinglist Archive: opensuse (769 mails)

< Previous Next >
Re: [opensuse] System is booting up. See pam_nologin(8)
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Mon, 16 May 2016 17:11:41 +0200
  • Message-id: <nhcnvd$bde$1@saturn.local.net>
Andrei Borzenkov wrote:

File is *created* on boot by this tmpfile snippet:

/usr/lib/tmpfile.d/systemd-nologin.conf

What is the content of this file?

<-------------
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

# See tmpfiles.d(5) and systemd-forbid-user-logins.service(5).
# This file has special suffix so it is not run by mistake.

F! /run/nologin 0644 - - - "System is booting up. See pam_nologin(8)"
---------->

Same as on more backlevel 13.2 systems.

This should be executed only by the service
systemd-tmpfiles-setup.service. This file (/run/nologin) should be
removed by systemd-user-sessions.service. So the first step is to
check status of both services (including execution time).

Both look normal (I'll be happy post output if anyone wants to
have a look).

Check that
/run is indeed tmpfs.

Checked, it is.

Boot with systemd.log_level=debug and "quiet"
removed from kernel command line, it should show when each service is
being started.

I'll post some output in a minute.


--
Per Jessen, Zürich (12.6°C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups