在Ubuntu 14.04安装 openntpd时报错:
Setting up openntpd (20080406p-7) ... Starting openntpd: /etc/openntpd/ntpd.conf: Permission denied invoke-rc.d: initscript openntpd, action "start" failed. dpkg: error processing package openntpd (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for ureadahead (0.100.0-16) ... Errors were encountered while processing: openntpd E: Sub-process /usr/bin/dpkg returned an error code (1)
随后通过下面命令可以解决:
apt-get install openntpd -y apt-get purge ntp -y service apparmor restart service openntpd restart
原文链接:https://bugs.launchpad.net/ubuntu/+source/openntpd/+bug/458061
转载请注明:自动化运维 » Ubuntu安装openntpd报错:Starting openntpd: /etc/openntpd/ntpd.conf: Permission denied