[nsd-users] NSD failed to start via service on CentOS 7
Юрий Иванов
format_hub at outlook.com
Fri Sep 6 09:37:32 UTC 2019
Yes of course:
[root at ns1 ~]# systemctl cat nsd
# /usr/lib/systemd/system/nsd.service
[Unit]
Description=NSD DNS Server
After=syslog.target network-online.target
After=nsd-keygen.service
Wants=nsd-keygen.service
[Service]
Type=simple
PIDFile=/var/run/nsd/nsd.pid
EnvironmentFile=-/etc/sysconfig/nsd
ExecStart=/usr/sbin/nsd -d -c /etc/nsd/nsd.conf $NSD_EXTRA_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
PrivateTmp=true
[Install]
WantedBy=multi-user.target
But as I mention earlier, this is selinux prevents nsd from start.
Now I need to figure how to allow nsd in selinux.
Regards, Yuri
________________________________
От: Anand Buddhdev <anandb at ripe.net>
Отправлено: 6 сентября 2019 г. 11:59
Кому: Юрий Иванов <format_hub at outlook.com>; nsd-users at NLnetLabs.nl <nsd-users at NLnetLabs.nl>
Тема: Re: [nsd-users] NSD failed to start via service on CentOS 7
On 06/09/2019 10:43, Юрий Иванов wrote:
Hi Yuri,
> Hi,
> I've installed nsd from packages via epel-repository.
>
> When try to start service listening on port 65053 with:
> [root at ns1 nsd]# service nsd status
> Is does not work:
I haven't had time to download the EPEL package and check it. Can you
please paste the output of "systemctl cat nsd" to show us how the
systemd unit file is defined?
Regards,
Anand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20190906/503b89f3/attachment.htm>
More information about the nsd-users
mailing list