FS#31629 - [polkit] Change home directory to `/var/lib/polkit'

Attached to Project: Arch Linux
Opened by Vladimir (_v_l) - Friday, 21 September 2012, 05:00 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 05 February 2014, 12:39 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

I'm wonder why polkitd user uses `/' as his home directory? Other "system" users on my system have home directories in `/var/lib/'.

P.S. I may be wrong but I speculate that the only reason to use `/' is that starting a process as `polkitd' user would require to check the existence of user home directory. If it is true would it be wrong to set `polkitd' home directory to `/dev/null'?
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 05 February 2014, 12:39 GMT
Reason for closing:  Not a bug
Comment by Jan Alexander Steffens (heftig) - Wednesday, 05 February 2014, 12:38 GMT
This is correct. Polkit does not make use of $HOME, so setting it to / avoids any trouble.

Loading...