FS#52580 - [gnome-initial-setup] RFC: use /run/gnome-initial-setup as home dir
Attached to Project:
Community Packages
Opened by Marcos Mello (marcosfrm) - Monday, 16 January 2017, 17:28 GMT
Last edited by Balló György (City-busz) - Tuesday, 24 January 2017, 11:26 GMT
Opened by Marcos Mello (marcosfrm) - Monday, 16 January 2017, 17:28 GMT
Last edited by Balló György (City-busz) - Tuesday, 24 January 2017, 11:26 GMT
|
Details
Arch's package install script puts gnome-initial-setup's
home dir in /var/lib/gnome-initial-setup. This is
problematic, because after a successful completion of
initial setup, if we exclude the newly created user, initial
setup will not run again until /var/lib/gnome-initial-setup
contents are erased. I am not sure why this occurs. May be
due to permissions inside /var/lib/gnome-initial-setup (they
are from the created user, not from gnome-initial-setup).
Other distributions like Fedora[1] and openSUSE[2] put g-i-s
home in /run/gnome-initial-setup. As by default it is a
tmpfs, it will go away on each reboot and things will
work.
Tested with: usermod -d /run/gnome-initial-setup gnome-initial-setup exclude all regular users, reboot g-i-s runs, create user foo exclude user foo, reboot g-i-s runs again, create user bar [1] https://src.fedoraproject.org/cgit/rpms/gnome-initial-setup.git/tree/gnome-initial-setup.spec#n87 [2] https://build.opensuse.org/package/view_file/openSUSE:Factory/gnome-initial-setup/gnome-initial-setup.spec?expand=1 |
This task depends upon
Closed by Balló György (City-busz)
Tuesday, 24 January 2017, 11:26 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-initial-setup 3.22.1-2
Tuesday, 24 January 2017, 11:26 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-initial-setup 3.22.1-2
# pwck
user 'gnome-initial-setup': directory '/run/gnome-initial-setup' does not exist
I think that gnome-initial-setup should clear its home directory itself when needed. So please report this problem to the upstream developers:
https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gnome-initial-setup
Upstream is relying on this behaviour:
https://bugzilla.gnome.org/show_bug.cgi?id=701100
https://git.gnome.org/browse/gnome-initial-setup/commit/?id=1f9c2bdf8f3c098a3c4af4b91f3df9efb4d5785b