Fedora 18 Upgrade Experience

Brown, David M JR david.brown at pnnl.gov
Sun Nov 4 18:44:39 UTC 2012


Okay, So this is a package specific issue and both bind and ddclient need to remove the PidFile directives in their systemd service configuration?

Thanks,
- David Brown
________________________________________
From: Reindl Harald [h.reindl at thelounge.net]
Sent: Sunday, November 04, 2012 10:36 AM
To: Development discussions related to Fedora
Cc: Brown, David M JR
Subject: Re: Fedora 18 Upgrade Experience

Am 04.11.2012 19:26, schrieb Brown:
> And there's the creation of the pid file directories for both named and ddclient
> that seem to disappear every time I reboot, also seems like a bug somewhere

man tmpfiles.d

BTW:
all these packages should be fixed a long time ago
nearly no service needs a pid-file, systemd knows the pid

if i have any problem with such services the first is to clone
them under /etc/systemd/system and remove any pid-crap

so far this fixed every problem in this context
____________________________________

[root at srv-rhsoft:~]$ cat /etc/systemd/system/named.service
[Unit]
Description=DNS Server
After=network.target

[Service]
Type=forking
ExecStart=/usr/sbin/named -u named -t /var/named/chroot
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
PrivateTmp=true
TimeoutSec=25
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target



More information about the devel mailing list