[sles-beta] question systemd
Frederic Crozat
fcrozat at suse.com
Tue Sep 30 05:08:42 MDT 2014
Le mardi 30 septembre 2014 à 13:00 +0200, Günther J. Niederwimmer a
écrit :
> Hello,
>
> I have two Problems with systemd, can any say way.
>
> On a new installation I miss the
>
> /etc/tmpfiles.d/tmp.conf
This is expected, we don't ship any files in /etc/tmpfiles.d by default,
since those are for administrators. All packaged tmpfiles.d files are
located in /usr/lib/tmpfiles.d (where you'll find tmp.conf)
> The second Problem is, way work this on a reboot but not on start time
>
> I make a new kinit.service, the cron parameter "@reboot" don't work anymore
>
> /etc/tmpfiles.d/kinit.conf
> d /run/user/0/krb5cc 1777 root root -
>
> /etc/systemd/system/kinit.service
> [Unit]
> Description=Kerberos initial kinit
> Wants=SuSEfirewall2_setup.service
> After=SuSEfirewall2_setup.service
>
> [Service]
> Type=simple
> ExecStart=/usr/bin/kinit -k host/asmtp.gjn.prv
> Restart=on-failure
> RestartSec=30
>
> [Install]
> WantedBy=multi-user.target
>
> /etc/systemd/system/kinit.timer
> [Unit]
> Description=Fist Initialisation of KRB5
>
> [Timer]
> OnBootSec=3min
>
> [Install]
> WantedBy=timers.target
I'm not 100% sure I understand what you want to do. Could you elaborate
a bit more ?
--
Frederic Crozat
Project Manager Enterprise Desktop
SUSE
More information about the sles-beta
mailing list