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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Doug Newgard (Scimmia)
Monday, 06 July 2015, 05:37 GMT
Reason for closing:  Not a bug
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.

Loading...