[systemd-devel] [PATCH] var-run.service: create console dir needed by pam
Lennart Poettering
lennart at poettering.net
Sun Sep 26 16:42:15 PDT 2010
On Fri, 24.09.10 16:26, harald at redhat.com (harald at redhat.com) wrote:
> From: Harald Hoyer <harald at redhat.com>
After the comments from Kay and Bill I believe that a change like this
is probably something we should add as a patch in the Fedora packages if
at all -- instead of upstream git. It probably is nicer if we finally
would get rid of pam-console for good...
Thanks for the patch!
> @@ -17,3 +17,4 @@ Type=oneshot
> RemainAfterExit=yes
> ExecStart=/bin/touch /var/run/utmp ; /bin/chmod 0664 /var/run/utmp ; /bin/chown root:utmp /var/run/utmp
> ExecStart=/bin/mkdir /var/run/user ; /bin/chmod 0755 /var/run/user ; -/sbin/restorecon /var/run/user
> +ExecStart=/bin/mkdir /var/run/console ; /bin/chmod 0755 /var/run/console ; -/sbin/restorecon /var/run/console
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list