[Samba] Time Synchronisation - SELinux Labeling and Policy

Rowland Penny rpenny at samba.org
Tue Apr 16 17:56:01 UTC 2019


On Tue, 16 Apr 2019 18:47:07 +0200
Marco Gemignani via samba <samba at lists.samba.org> wrote:

> hi, i want set selinux to usw with ntpd
> 
> 
> but when i run (as described in wiki)
> 
> semanage -a -t ntpd_t "/usr/local/samba/var/lib/ntp_signd"
> 
> 
> i have that error
> "
> usage: semanage [-h]
> 
>                  {import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit}
>                  ...
> semanage: error: argument subcommand: invalid choice:
> 'ntpd_t' (choose from 'import', 'export', 'login', 'user', 'port',
> 'ibpkey', 'ibendport', 'interface', 'module', 'node', 'fcontext',
> 'boolean', 'permissive', 'dontaudit') [root at dc ~]#
> 
> "
> 
> my sistem is a centos 7
> 
> 

I am not an expert on selinux (I normally turn it off), but it sounds
like you need some extra selinux packages installing, or to put it
another way, it isn't really a Samba problem ;-)

Rowland



More information about the samba mailing list