FS#47266 - [fcron] post_remove scriptlet fails

Attached to Project: Community Packages
Opened by WorMzy Tykashi (WorMzy) - Friday, 04 December 2015, 23:46 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 28 March 2016, 10:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thorsten Töpper (Atsutane)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since USERGROUPS_ENAB is set to yes in /etc/login.defs, userdel removes the fcron group (provided no other users belong to it), meaning that the groupdel call is superfluous (in most cases).

Suggest removing the groupdel call, or prepending it with '|| return 0', or an informative message why the group couldn't be removed.

Additional info:
See also https://bbs.archlinux.org/viewtopic.php?id=205799


Steps to reproduce:
Install fcron. Then remove fcron. Recieve "error: command failed to execute correctly" message.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Monday, 28 March 2016, 10:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 3.2.0-3. Also resolves the todo.
Comment by Doug Newgard (Scimmia) - Saturday, 05 December 2015, 00:13 GMT
Related: https://www.archlinux.org/todo/usergroup-management/
It's been 10 months now...

Loading...