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
|
Details
currently, 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
Comment by
Eli Schwartz (eschwartz) - Sunday,
04 February 2018, 12:34 GMT
Comment by
Sven-Hendrik Haase (Svenstaro) -
Monday, 05 February 2018, 10:12 GMT
Comment by
Radek Podgorny (rpodgorny) -
Tuesday, 06 February 2018, 01:10 GMT
Comment by
Sven-Hendrik Haase (Svenstaro) -
Tuesday, 06 February 2018, 02:28 GMT
confirming that commenting out the "su" line from
/etc/logrotate.d/uwsgi solved the issue for me
- 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
Ok, please test now. It should create the group now. I think that
is the cleanest approach here.
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.
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.