This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
unowned /usr/share/glib-2.0/schemas/20_ubuntu-desktop-installer-interface.gschema.override after canary install #2315
Labels
bug
Something isn't working
From https://bugs.launchpad.net/ubuntu-desktop-installer/+bug/2033117
After a classic install (no tpm fde) using the 20230825.2 canary image, I have a file
/usr/share/glib-2.0/schemas/20_ubuntu-desktop-installer-interface.gschema.override on the target system which according to dpkg has no owner.
The contents of the file are:
$ cat /mnt/2/usr/share/glib-2.0/schemas/20_ubuntu-desktop-installer-interface.gschema.override
[org.gnome.desktop.interface:ubuntu]
color-scheme='prefer-light'
gtk-theme='Yaru'
$
I do not remember if the non-canary image prompted me for a theme preference, or if I made the same selection on the non-canary image. However, the installer should not be writing files under /usr to the target system; /usr is owned by the package manager. Overrides need to be written somewhere else, one of /home, /var, /etc in decreasing order of preference (the theme selection should IMHO only apply to the initial user and not to further users on the system who are added post-install).
On both canary and daily-live, I also see a file /usr/share/glib-2.0/schemas/20_ubuntu-desktop-installer-wm.gschema.override which is identical between the two installs.
$ cat /mnt/2/usr/share/glib-2.0/schemas/20_ubuntu-desktop-installer-wm.gschema.override
[org.gnome.desktop.wm.keybindings:ubuntu]
maximize=@as []
unmaximize=@as []
$
I have no idea what this file is for.
This is done by ubuntu-desktop-installer/snap/local/postinst.d/10_override_desktop_settings and four files are created this way:
The text was updated successfully, but these errors were encountered: