FS#56666 - [usbmuxd] Make use of sysusers

Attached to Project: Arch Linux
Opened by Bruno Pagani (ArchangeGabriel) - Sunday, 10 December 2017, 18:29 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 17 December 2017, 19:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

usbmuxd should be moved to systemd-sysusers to create its user and group. It would be very simple, a simple line like this should be enough to do exactly the same as https://git.archlinux.org/svntogit/packages.git/tree/trunk/usbmuxd.install?h=packages/usbmuxd:

u usbmux 140 "usbmux user"
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 17 December 2017, 19:25 GMT
Reason for closing:  None
Additional comments about closing:  will be handled as part of https://www.archlinux.org/todo/switch-to -systemd-sysusers/
Comment by loqs (loqs) - Sunday, 17 December 2017, 19:13 GMT
If it being changed consider dropping the fixed uid/gid 140 as it does not seem to serve any purpose.
https://github.com/libimobiledevice/usbmuxd/blob/46bdf3ec90acf3916ee8aba622a7da9da5eb8e06/systemd/usbmuxd.service.in#L6 just seems to need a usbmux user and no file in the package is owned by that user / group.

Loading...