On Sun, 2017-08-13 at 07:17 +0200, Jakobus Schürz wrote:
> I have some systemd --user services from other packages.
> The units are located in /etc/systemd/user/ or /usr/lib/systemd/user/
> and enabled on installing.
> 
> When a daemon uses su or sudo on debian, it starts a service
> user@$UID.service which is a systemd-daemon for the user-session.
> This
> sessions are normally not started for Daemons with UID below 1000
> (except Debian-gdm).
> 
> I asked on the systemd-mailinglist, whats the problem, because
> sometimes
> leafnode starts an user-session (and with this the user-services
> which are
> thought for login-users with UID greater-equal 1000).
> They told me, there must be the use of su or sudo in some scripts
> from
> the daemon.
> I looked around and found, that there is su used in
> /etc/cron.daily/leafnode 
> 
> Just change from su to runuser, the cronjob also does his job, but
> without invoking pam_systemd!
> 
> You find my changes below to use runuser instead of su, which solves
> the
> problems comming from the su-command.
> Your original command is commented below my new line.


Hello,

In its current form, leafnode is invoked through inetd. Are you saying
that there is an issue with Debian Stretch + Systemd + leafnode/inted ?


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to