* [Comm] сообщения logrotate после обнолвения p7 на p8
@ 2017-11-26 11:04 Stas
2017-11-26 12:43 ` Dmitry V. Levin
2017-11-27 8:19 ` Sergey
0 siblings, 2 replies; 3+ messages in thread
From: Stas @ 2017-11-26 11:04 UTC (permalink / raw)
To: ALT Linux Community general discussions
Приветствую!
Последний P8, обновлённый из p7
Вижу сообщения от logrotatte (вызывается из cron)
error: skipping "/var/log/uucp/errors" 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/uucp/info" 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/uucp/warnings" 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/transmission-daemon/transmission-daemon.log" 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.
1. Ротация /var/log/uucp/* заложена в пакете logrotate-common непонятно
зачем - UUCP несколько устаревший и мало где используется.
У меня не используется и убрать собщение помогает chown root /var/log/uucp
2. С /var/log/transmission-daemon/transmission-daemon.log сложнее. У
/var/log/transmission-daemon влалец root, группа _transmission-daemon и
права 0775
Менять это без серьёзных оснований не хочется, и если уж изменять, так в
пакете transmission-daemon.
Ещё в man logrotate нет рекомендованной в сообщении директивы "su"
Проясните ситуацию.
--
Станислав Дёгтев
Служба "Ваш админ"
Мои контакты:
- jabber: grumbler@grumbler.org
- email: stas.grumbler@gmail.com и stas@vashadmin.su
- телефоны в Е-бурге +79045430461, +79222112259, +79505571146
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] сообщения logrotate после обнолвения p7 на p8
2017-11-26 11:04 [Comm] сообщения logrotate после обнолвения p7 на p8 Stas
@ 2017-11-26 12:43 ` Dmitry V. Levin
2017-11-27 8:19 ` Sergey
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2017-11-26 12:43 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 1911 bytes --]
On Sun, Nov 26, 2017 at 04:04:01PM +0500, Stas wrote:
> Приветствую!
>
> Последний P8, обновлённый из p7
>
> Вижу сообщения от logrotatte (вызывается из cron)
>
> error: skipping "/var/log/uucp/errors" 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/uucp/info" 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/uucp/warnings" 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/transmission-daemon/transmission-daemon.log" 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.
>
>
> 1. Ротация /var/log/uucp/* заложена в пакете logrotate-common непонятно
> зачем - UUCP несколько устаревший и мало где используется.
> У меня не используется и убрать собщение помогает chown root /var/log/uucp
Так, наверное, и будет в следующей сборке /var/log/uucp
> 2. С /var/log/transmission-daemon/transmission-daemon.log сложнее. У
> /var/log/transmission-daemon влалец root, группа _transmission-daemon и
> права 0775
Поменяйте 0775 на 01775.
> Менять это без серьёзных оснований не хочется, и если уж изменять, так в
> пакете transmission-daemon.
>
> Ещё в man logrotate нет рекомендованной в сообщении директивы "su"
>
> Проясните ситуацию.
Не используйте директиву "su" - исправляйте права доступа на каталоги.
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] сообщения logrotate после обнолвения p7 на p8
2017-11-26 11:04 [Comm] сообщения logrotate после обнолвения p7 на p8 Stas
2017-11-26 12:43 ` Dmitry V. Levin
@ 2017-11-27 8:19 ` Sergey
1 sibling, 0 replies; 3+ messages in thread
From: Sergey @ 2017-11-27 8:19 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sunday 26 November 2017, Stas wrote:
> Проясните ситуацию.
https://bugzilla.altlinux.org/31636
--
С уважением, Сергей.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-27 8:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-26 11:04 [Comm] сообщения logrotate после обнолвения p7 на p8 Stas
2017-11-26 12:43 ` Dmitry V. Levin
2017-11-27 8:19 ` Sergey
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git