FS#45568 - [mopidy] Should cleanup group and user in post_remove in mopidy.install
Attached to Project:
Arch Linux
Opened by Aneesh Agrawal (aneeshusa) - Monday, 06 July 2015, 05:33 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 05:37 GMT
Opened by Aneesh Agrawal (aneeshusa) - Monday, 06 July 2015, 05:33 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 05:37 GMT
|
Details
Mopidy's .install file adds a new group - mopidy - and a new
user - mopidy - with primary group mopidy and supplementary
group audio. However, it does not remove these entries upon
uninstallation.
A post_remove function should be added to mopidy.install to perform the necessary cleanup. FYI, a quick grepping of the abs tree shows about 60 other packages may be in a similar state. It would be nice if these other packages' install files could be amended as well without opening a ticket for each one. |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Monday, 06 July 2015, 05:37 GMT
This is by design. Removing the users creates a security problem,
as another user could be created with the same ID and then own
files they shouldn't.