Skip to contentSkip to conversation

NTP log rotation on debian [policy addition]

DISCUSSION Erich Schubert 1 participant 1 message Nov 30, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,
Debian needs the following addition to the NTP policy:

ifdef(distro_debian',

# cronjob to rotate ntp statistic files
create_dir_file(system_crond_t, ntpd_log_t)
')

Since the ntp package contains a cronjob to rotate the ntp stats file, which are created by default. ntpd doesn't have security critical logs, so I think it's okay to have the cronjob do that directly. I've filed a bug report with debian
(http://bugs.debian.org/340781 ) to request they use logrotate... (but I'm not sure if logrotate currently can handle the timestamped file naming they use)

best regards,
Erich Schubert

Signature · 9 lines
     erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C     (o_
 A man doesn't know what he knows until he knows what he doesn't know. //\
   In unseren Freunden suchen wir, was uns fehlt. --- Thornton Wilder  V_/_


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.