Web lists-archives.com

Re: [Samba] Time Synchronisation - SELinux Labeling and Policy




On Tue, 16 Apr 2019 18:47:07 +0200
Marco Gemignani via samba <samba@xxxxxxxxxxxxxxx> 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@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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba