Summary: | app-admin/sagan-2.0.1-r2 need some folders to be present | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 775395 | ||
Attachments: | sagan-2.0.1-r3.ebuild.patch |
Description
Alessandro Barbieri
2021-03-13 23:18:00 UTC
Created attachment 691257 [details]
sagan-2.0.1-r3.ebuild.patch
Does this work for you?
...? Trying now This is wrong keepdir /var/log/sagan{,stats} Let me try again with keepdir /var/log/sagan/{,stats} The two issues mentioned above are fixed now Let me check if logrotate complain about the permissions Nope L'unità logrotate.service ha iniziato la fase di avvio. mar 15 02:01:38 ALESSAND-F1E8 logrotate[54404]: error: skipping "/var/log/sagan/alert" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. mar 15 02:01:38 ALESSAND-F1E8 logrotate[54404]: error: skipping "/var/log/sagan/sagan.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for ro tation. mar 15 02:01:38 ALESSAND-F1E8 logrotate[54404]: error: skipping "/var/log/sagan/sagan.stats" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. mar 15 02:01:38 ALESSAND-F1E8 systemd[1 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7e6c33f5a2f02cf74a4851b858b63ab91e6e5d commit 6e7e6c33f5a2f02cf74a4851b858b63ab91e6e5d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-15 01:19:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-15 01:19:14 +0000 app-admin/sagan: fix log and runtime directory permissions Closes: https://bugs.gentoo.org/775902 Signed-off-by: Sam James <sam@gentoo.org> .../sagan/{sagan-2.0.1-r3.ebuild => sagan-2.0.1-r4.ebuild} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0d469ed446b082600e3f4c7db0472dccd87d58 commit 0a0d469ed446b082600e3f4c7db0472dccd87d58 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-15 01:25:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-15 01:25:33 +0000 app-admin/sagan: add warning to fix permissions for older installs Bug: https://bugs.gentoo.org/775902 Signed-off-by: Sam James <sam@gentoo.org> app-admin/sagan/sagan-2.0.1-r4.ebuild | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) Thanks for the feedback. Hope this works. I'm not a user of Sagan, so I'm kind of working blindish here, but trying to test it. |