Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57359 - [uwsgi] package probably missing a sysusers.d snippet
Attached to Project:
Arch Linux
Opened by Radek Podgorny (rpodgorny) - Sunday, 04 February 2018, 01:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 11:24 GMT
Opened by Radek Podgorny (rpodgorny) - Sunday, 04 February 2018, 01:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 11:24 GMT
|
Detailscurrently, uwsgi package comes with a logrotate config file which contains: "su root uwsgi"
this makes logrotate fail with "error: uwsgi:9 unknown group 'uwsgi'" and,m indeed, there is no such group. probably a systemd sysusers.d snippet that creates the group is missing from the package. OR! ...it looks like the group is not used anywhere, anyway, so i may be cleaner to just drop the "su" line from logrotate config and leave it to use the default root user and group. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 10 February 2018, 11:24 GMT
Reason for closing: Fixed
Saturday, 10 February 2018, 11:24 GMT
Reason for closing: Fixed
Comment by Radek Podgorny (rpodgorny) -
Sunday, 04 February 2018, 01:46 GMT
confirming that commenting out the "su" line from /etc/logrotate.d/uwsgi solved the issue for me
Comment by Eli Schwartz (eschwartz) -
Sunday, 04 February 2018, 12:34 GMT
- Task assigned to Bartłomiej Piotrowski (Barthalion), Felix Yan (felixonmars), Sven-Hendrik Haase (Svenstaro)
Seems to have been broken by https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/uwsgi&id=c89c2450f246c16baf16fc308323f4fa041c3755
Comment by Sven-Hendrik Haase (Svenstaro) -
Monday, 05 February 2018, 10:12 GMT
Ok, please test now. It should create the group now. I think that is the cleanest approach here.
Comment by Radek Podgorny (rpodgorny) -
Tuesday, 06 February 2018, 01:10 GMT
yeah, seems to be working fine. still, it feels like the uwsgi group is not being used anywhere (the daemon itself does not use it) so it just messes up the system.
Comment by Sven-Hendrik Haase (Svenstaro) -
Tuesday, 06 February 2018, 02:28 GMT
True, it's only used for the logrotate currently. I think that's a fairly proper way to do it but I'm open to feedback.