FS#14175 - [deluge] uses wrong group in post install

Attached to Project: Arch Linux
Opened by Allan McRae (Allan) - Friday, 10 April 2009, 17:48 GMT
Last edited by Hugo Doria (hdoria) - Saturday, 11 April 2009, 13:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In the post_install function, deluge creates group 29 instead on 125:
"getent group deluge >/dev/null || usr/sbin/groupadd -g 29 deluge"

Group 29 is reserved for snort. See:
http://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
This task depends upon

Closed by  Hugo Doria (hdoria)
Saturday, 11 April 2009, 13:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed on deluge deluge 1.1.6-3
Comment by Jens Adam (byte) - Saturday, 11 April 2009, 03:42 GMT
  • Field changed: Percent Complete (100% → 0%)
Only half-way fixed. What about systems that had 1.1.6-1 with GID 29 installed?
Comment by Allan McRae (Allan) - Saturday, 11 April 2009, 03:47 GMT
I noticed the upgrade path was a pain too... You will have to be careful about the permissions of the /home/deluge directory (which maybe should be in /srv/?) You could also make that directory only generated when running the daemon for the first time.

Also, something is wrong with pre_remove:
> pacman -R deluge
checking dependencies...
error: scriptlet failed to execute correctly
(1/1) removing deluge
Comment by Hugo Doria (hdoria) - Saturday, 11 April 2009, 11:55 GMT
I changed to /srv/deluge.

Dont know what is causing the scriplet error. Suggestions?
Comment by Allan McRae (Allan) - Saturday, 11 April 2009, 12:12 GMT
Don't remove the group - it should automatically be removed with the user. Take a look at the mpd install file.
Comment by Hugo Doria (hdoria) - Saturday, 11 April 2009, 12:20 GMT
Done. ;)

Loading...