Bug 32832 - Нарушает ALT Secure Packaging Policy
: Нарушает ALT Secure Packaging Policy
Status: NEW
: Sisyphus
(All bugs in Sisyphus/snort)
: unstable
: all Linux
: P3 blocker
Assigned To:
:
: https://www.altlinux.org/Secure_Packa...
:
:
:
  Show dependency tree
 
Reported: 2016-12-01 05:22 by
Modified: 2016-12-01 10:12 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2016-12-01 05:22:42
Пакет нарушает ALT Secure Packaging Policy, на что ежедневно в почту жалуется
logrotate (3.9.1-alt2 и выше):

=8<=======================================================================
error: skipping "/var/log/snort/snort.log.1480503381" because parent directory
has insecure permissions (it's group writable and has no sticky bit set);
consider using "su" directive in config file to tell logrotate which user/group
should be used for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480496531" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480497478" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480498666" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480498719" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480499917" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480500364" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth0/snort.u2.1480503469" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth1/snort.u2.1480500364" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
error: skipping "/var/log/snort/eth1/snort.u2.1480503469" because parent
directory has insecure permissions (it's not owned by "root"); consider using
"su" directive in config file to tell logrotate which user/group should be used
for rotation.
=8<=======================================================================

Полиси гласит:
=8<=======================================================================
Пакеты не должны содержать каталоги, принадлежащие псевдо-пользователям. Вместо
этого следует использовать каталоги, принадлежащие root, с установленным sticky
bit и доступом группы по записи.
=8<=======================================================================

P.S.: предыстория здесь: https://bugzilla.altlinux.org/show_bug.cgi?id=31623

P.P.S.: согласно определению ldv в багтрекере, пакеты нарушающие SPP это блокер
для выпуска продуктов, основанных на сизифе (цитата не дословная).