Bug 244756 - x11/sddm: /etc/ isn't a place for home directories
Summary: x11/sddm: /etc/ isn't a place for home directories
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
: 245117 (view as bug list)
Depends on:
Reported: 2020-03-12 14:41 UTC by Colin Percival
Modified: 2020-03-28 07:59 UTC (History)
4 users (show)

See Also:
tcberner: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Colin Percival freebsd_committer 2020-03-12 14:41:16 UTC
The UIDs entry for sddm places its home directory in /usr/local/etc/sddm/home:

sddm:*:219:219::0:0:SDDM Display Manager user:/usr/local/etc/sddm/home:/usr/sbin/nologin

This seems like a bad idea, since /usr/local/etc/ normally holds configuration files, and is often managed via systems designed for that purpose; having it contain a home directory is liable to cause unintended results.

It seems to me that the home directory should probably be somewhere under /var/
Comment 1 Tobias C. Berner freebsd_committer 2020-03-12 19:19:37 UTC
Moin moin 

Sure, I see no problem with moving it in principal.
It may have been that we took gdm, which  does the same as a template... too long ago to remember :)

mfg Tobias
Comment 2 Tobias C. Berner freebsd_committer 2020-03-28 07:59:30 UTC
*** Bug 245117 has been marked as a duplicate of this bug. ***