El 5/12/19 a las 13:09, Angel L. Mateo via rsyslog escribió:
El 4/12/19 a las 18:39, Rainer Gerhards via rsyslog escribió:
There is a setting in rsyslog.conf:
https://www.rsyslog.com/doc/v8-stable/configuration/global/options/rsconf1_umask.html
I think it has no new style equivalent.
I don't know if the umask option documented at
https://www.rsyslog.com/doc/v8-stable/rainerscript/global.html?highlight=umask
is the same or not.
But what I don't understand is why I need to configure an umask
value when I'm forcing mode with dirCreateMode and fileCreateMode. If
I'm using these option, rsyslog could force the file and dir mode
independently of the value of the umask.
Anyway, I have configured the umask, both with:
$umask 0000
global(umask="0000")
but with this config files are correctly created, but now I can't
write to /var/log/messages which is my default output file and have mode:
Forget about this last problem. I think the problem is that I have
changed anything so imuxsock has stopped working. The problem is that
rsyslog is not receiving any local log, just remote logs.
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.