Bug 1947788 - gnome-initial-setup does not run on F34 installations(vm) when user is created during anaconda setup
Summary: gnome-initial-setup does not run on F34 installations(vm) when user is create...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-initial-setup
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rui Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1977785
TreeView+ depends on / blocked
 
Reported: 2021-04-09 09:22 UTC by Bhushan Barve
Modified: 2021-08-16 12:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1977785 (view as bug list)
Environment:
Last Closed: 2021-08-16 12:42:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-initial-setup merge_requests 113 0 None None None 2021-08-16 12:44:00 UTC

Description Bhushan Barve 2021-04-09 09:22:54 UTC
Description of problem: Did the f34 WS installation (vm, ja_JP locale) with network installation method. Observed that gnome-initial-setup did not run after first time login. Same issue was observed when installation done using with boot.iso. Tried reboot many times but did not help.

However when the installation was done using live image, g-i-s ran properly. 

F34 network installation done using - http://download.eng.pnq.redhat.com/fedora/linux/development/34/Everything/x86_64/os/

F34 live image - http://download.eng.pnq.redhat.com/fedora/linux/development/34/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-34-20210408.n.0.iso

Here are the contents 0f - 
[test@fedora ~]$ cat /etc/xdg/autostart/gnome-initial-setup-first-login.desktop 
[Desktop Entry]
Name[af]=Aanvanklike opstelling
Name[an]=Configuración inicial
Name[ar]=الإعداد الأولي
Name[as]=আৰম্ভণিৰ সংস্থাপন
Name[be]=Пачатковая настройка
Name[bg]=Първоначални настройки
Name[bn_IN]=প্রাথমিক সেটআপ
Name[bs]=Početna postavka
Name[ca]=Configuració inicial
Name[ca@valencia]=Configuració inicial
Name[ckb]=ڕێکخستنی سەرەتایی
Name[cs]=Prvotní nastavení
Name[da]=Førstegangsopsætning
Name[de]=Ersteinrichtung
Name[el]=Αρχική ρύθμιση
Name[en_GB]=Initial Setup
Name[eo]=Komenca agordado
Name[es]=Configuración inicial
Name[et]=Esialgne seadistus
Name[eu]=Hasierako konfigurazioa
Name[fa]=برپاسازی نخستین
Name[fi]=Alkuasetukset
Name[fr]=Configuration initiale
Name[fur]=Configurazions iniziâls
Name[ga]=Socrú Tosaigh
Name[gd]=Suidheachadh tòiseachaidh
Name[gl]=Configuración inicial
Name[gu]=પ્રારંભિક સુયોજન
Name[he]=התקנה ראשונית
Name[hi]=आरंभिक सेटअप
Name[hr]=Početno postavljanje
Name[hu]=Kiinduló beállítások
Name[ia]=Configuration initial
Name[id]=Penyiapan Awal
Name[is]=Upphafsstillingar
Name[it]=Impostazioni iniziali
Name[ja]=初期セットアップ
Name[kk]=Бастапқы баптау
Name[kn]=ಆರಂಭಿಕ ಏರ್ಪಾಡು
Name[ko]=초기 설정
Name[lt]=Pradinis nustatymas
Name[lv]=Sākotnējā iestatīšana
Name[mjw]=Aphrangsi pangchengsi ke-ot
Name[ml]=ആദ്യ ക്രമീകരണം
Name[mr]=प्रारंभिक सेटअप
Name[ms]=Persediaan Awalan
Name[nb]=Førstegangsoppsett
Name[ne]=सुरुको सेटअप
Name[nl]=Instellingen voor eerste gebruik
Name[oc]=Configuracion iniciala
Name[or]=ପ୍ରାରମ୍ଭିକ ବ୍ୟବସ୍ଥା
Name[pa]=ਮੁੱਢਲਾ ਸੈਟਅੱਪ
Name[pl]=Początkowa konfiguracja
Name[pt]=Configuração Inicial
Name[pt_BR]=Definições iniciais
Name[ro]=Configurare inițială
Name[ru]=Первоначальная настройка
Name[sk]=Prvotné nastavenie
Name[sl]=Začetna nastavitev
Name[sr]=Почетно подешавање
Name[sr@latin]=Početno podešavanje
Name[sv]=Initial konfiguration
Name[ta]=தொடக்க அமைவு
Name[te]=ఆరంభ అమరిక
Name[tg]=Танзимоти ибтидоӣ
Name[th]=ตั้งค่าเริ่มแรก
Name[tr]=İlk Kurulum
Name[ug]=دەسلەپكى تەڭشەش
Name[uk]=Перший запуск
Name[vi]=Cài đặt lần đầu
Name[zh_CN]=初始配置
Name[zh_HK]=初始設定
Name[zh_TW]=初始設定
Name=Initial Setup
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=preferences-system
Exec=/usr/libexec/gnome-initial-setup --existing-user
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;System;
OnlyShowIn=GNOME;
NoDisplay=true
AutostartCondition=unless-exists gnome-initial-setup-done
X-GNOME-HiddenUnderSystemd=true

Not really sure what is the issue here. Please re-assign the component if required.


Version-Release number of selected component (if applicable):
[test@fedora ~]$ rpm -qa gnome-initial-setup
F34
gnome-initial-setup-40.0-1.fc34.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Bhushan Barve 2021-06-30 13:19:45 UTC
Checked it again and found that if user is created during anaconda setup, the g-i-s does not run after installation. If user is not created during anaconda, g-i-s runs properly. 

For CJK locales, if g-i-s does not run, then the default input method is not set accordingly. These locales require input method to be set along with the keyboard for input in native language. In that case user manually needs to select the IM from settings.

Updating the summary accordingly and also cloning it for RHEL-9.

Comment 2 Michael Catanzaro 2021-08-16 12:42:07 UTC
Hi, this is intentional, gnome-initial-setup no longer supports existing user mode, it now requires that it is run in a separate kiosk session, which is launched only when no user accounts exist. So if a user account is created in anaconda, it won't run at all. We did this because we don't want gnome-initial-setup running in uncontrolled environments anymore. E.g. the locale settings didn't work properly because you would have to restart your desktop session for them to take effect.

I know it's weird that the netinstall installer is different, but there's not much to do about this other than make it more like the Workstation installer, which I expect would probably irritate people. It's probably best to accept that the end result is going to be a little different when you use the netinstall.


Note You need to log in before you can comment on or make changes to this bug.