FS#31404 - [transmission-cli] create user 'transmission' on *install*

Attached to Project: Arch Linux
Opened by Thomas Weißschuh (t-8ch) - Monday, 03 September 2012, 22:39 GMT
Last edited by Tom Gundersen (tomegun) - Saturday, 22 September 2012, 22:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The current "transmission-cli.install" only creates the dedicated
"transmission" user "post_upgrade()".

Furthermore the home-directory of the created user should be
"/var/lib/transmission/" and also get created/chowned on install.

package version: 2.61

proposed fixes:

* call "post_upgrade" during "post_install"
* create user "transmission" with homedir "/var/lib/transmission"
* include "/var/lib/transmission/" owned by 169:169 to package
This task depends upon

Closed by  Tom Gundersen (tomegun)
Saturday, 22 September 2012, 22:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  In testing
Comment by Roberto Malinverni (daneel971) - Monday, 10 September 2012, 16:31 GMT
The lack of a "transmission" user after install makes systemd fail at boot:

-----------------------------------------------------------------------------
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
Active: failed (Result: exit-code) since Mon, 10 Sep 2012 18:25:59 +0200; 5s ago
Docs: man:tmpfiles.d(5)
Process: 2596 ExecStart=/usr/bin/systemd-tmpfiles --create --remove (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/systemd-tmpfiles-setup.service
Sep 10 18:25:59 faye.bebop systemd-tmpfiles[2596]: [/usr/lib/tmpfiles.d/transmission.conf:1] Unknown user 'transmission'.

Loading...