Re: NSD failed to start via service on CentOS 7

Юрий Иванов <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <AM0PR05MB472385B547D545A67A029B74B3BA0@AM0PR05MB4723.eurprd05.prod.outlook.com>
Yes of course:

[root@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 <[email protected]>
Отправлено: 6 сентября 2019 г. 11:59
Кому: Юрий Иванов <[email protected]>; [email protected] <[email protected]>
Тема: 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@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

_______________________________________________
nsd-users mailing list
[email protected]
https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.