Bug#1037295: live-config: starting Calamares installer requires a password (which is 'live')
Source: live-config
Version: 11.0.3+nmu1
Severity: normal
To reproduce:
* Boot debian-live-12.0.0-amd64-gnome.iso (the version used for
release-day testing)
- KDE has a similar issue with slightly different steps to start the
installer, probably all desktops' variants are affected
* Wait for a GNOME desktop
* Click next/skip until gnome-initial-setup goes away
* Press Windows key to go to Overview, and click on "Install Debian"
(Calamares) icon in the dash
Expected result: Calamares installer starts
Actual result: I get a polkit prompt as follows:
Authentication Required
Authentication is required to run the installation program
(logo here)
Debian Live user
[Password__________________]
[ Cancel ] [ Authenticate]
Workaround: enter the password, which is "live". The installer starts.
If this is not the intended behaviour, the solution would be:
- drop a file similar to /usr/share/doc/polkitd/examples/50-local-allow.rules
into /usr/share/polkit-1/rules.d (if it's owned by a .deb) or into
/etc/polkit-1/rules.d (if it's created on an ad-hoc basis by scripts)
- use that file to configure polkitd to allow whatever action Calamares
is using, without authentication (polkit.Result.YES), for either the
live user or all members of the sudo group
- when installing with Calamares, make sure that file is not included in
the installed system
Please ask the polkitd maintainers if more information is needed.
smcv
Reply to: