[ntp:questions] HopfClockSerial with Suse 10.2

Martin Burnicki martin.burnicki at meinberg.de
Wed Feb 21 08:25:35 UTC 2007


Richard B. gilbert wrote:
> Gerhard Pisl wrote:
>> Question:
>> What does the message "refclock_open /dev/hopfclock0: Operation not
>> permitted" exactly mean?
> It probably means that the account that is running ntpd does not have
> permission to access that file.  Run ntpd as root or change the
> permissions to allow access to the account you are using!

As acknowledged by Gerhard in the meantime, it's just AppArmor which is a
security tool which has been developed by Novell and has made its way into
the Suse Linux distribution which is now called OPENSUSE. See:

AFAIK Opensuse 10.2 is the first version where AppArmor is enabled by
default. AppArmor is shipped with some default profiles which work with the
default installation, but if you modify your system to use some special
configuration (e.g. a refclock device with ntpd) then the AppArmor profile
has to be modified accordingly. This does not only affect ntpd but also
other application which are modified to use a non-standard configuration.

If you just stop AppArmor then everything works as usual under Linux,
regarding file and device permissions.


Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont

More information about the questions mailing list