x11/sddm: Switch SDDM user's HOME directory from /usr/local/etc/sddm/home to

/var/lib/sddm, as sddm(5) man page requests.

PR:		244756
Reviewed by:	tcberner, adridg
This commit is contained in:
Gleb Popov 2020-05-17 08:21:04 +00:00
parent 5c2e203cc0
commit a84a002264
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535524
4 changed files with 28 additions and 2 deletions

2
UIDs
View File

@ -164,7 +164,7 @@ opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
nsd:*:216:216::0:0:NSD DNS Server:/nonexistent:/usr/sbin/nologin
anvil:*:217:217::0:0:anvil certificate dropper:/var/db/anvil:/bin/sh
zap:*:218:218::0:0:zap user:/usr/local/zap:/bin/sh
sddm:*:219:219::0:0:SDDM Display Manager user:/usr/local/etc/sddm/home:/usr/sbin/nologin
sddm:*:219:219::0:0:SDDM Display Manager user:/var/lib/sddm:/usr/sbin/nologin
bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
opensips:*:221:221::0:0:OpenSIPS user:/nonexistent:/usr/sbin/nologin
rtpproxy:*:222:222::0:0:& user:/nonexistent:/sbin/nologin

View File

@ -5,6 +5,20 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20200517:
AFFECTS: users of x11/sddm
AUTHOR: arrowd@FreeBSD.org
The home directory of sddm user has been moved to /var/lib/sddm. It is advised
to run following commands as root after updating the package:
# pw usermod -n sddm -d /var/lib/sddm
# pwd_mkdb /etc/master.passwd
# mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
# rm -rf /usr/local/etc/sddm/home
Otherwise, SDDM will keep using /usr/local/etc/sddm/home/ as its HOME.
20200515:
AFFECTS: users of devel/libphutil, devel/arcanist-lib, devel/phabricator
AUTHOR: grembo@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= sddm
PORTVERSION= 0.18.1
DISTVERSIONPREFIX= v
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11
MAINTAINER= kde@FreeBSD.org

12
x11/sddm/pkg-message Normal file
View File

@ -0,0 +1,12 @@
[
{ type: upgrade
message: <<EOM
SDDM user's home directory have been moved to /var/lib/sddm. It is advised to run
following commands as root:
# pw usermod -n sddm -d /var/lib/sddm
# pwd_mkdb /etc/master.passwd
# mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
# rm -rf /usr/local/etc/sddm/home
EOM
}
]