systemd-localed failure.

Hello.
First boot to day was very long.
Looking at journald i found this :


.............
Dec 29 10:44:42 linux-faa3 systemd[1]: Starting Locale Service...
Dec 29 10:44:42 linux-faa3 btrfsmaintenance-refresh-cron.sh[1358]: Refresh timer btrfs-trim for none
Dec 29 10:44:42 linux-faa3 systemd[1]: Reloading.
Dec 29 10:44:42 linux-faa3 dbus-daemon[1337]: [system] Successfully activated service 'org.freedesktop.locale1'
Dec 29 10:44:42 linux-faa3 systemd-localed[2169]: Failed to read locale data: Permission denied
Dec 29 10:44:42 linux-faa3 display-manager[2122]: Failed to set keymap: Message recipient disconnected from message bus without replying
Dec 29 10:44:42 linux-faa3 sddm[2177]: Initializing...
Dec 29 10:44:43 linux-faa3 systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
Dec 29 10:44:43 linux-faa3 systemd[1]: Started Hold until boot process finishes up.
Dec 29 10:44:43 linux-faa3 systemd[1]: systemd-localed.service: Main process exited, code=exited, status=1/FAILURE
Dec 29 10:44:43 linux-faa3 systemd[1]: Failed to start Locale Service.
Dec 29 10:44:43 linux-faa3 systemd[1]: systemd-localed.service: Unit entered failed state.
Dec 29 10:44:43 linux-faa3 systemd[1]: systemd-localed.service: Failed with result 'exit-code'.
Dec 29 10:44:43 linux-faa3 systemd[1]: Cannot find unit for notify message of PID 2169.

I found also that the mode of the file ‘/etc/locale.conf’ was ‘000’
I change the mode to 644

I reboot.
Now journald show :

déc. 29 11:18:48 linux-faa3 systemd-localed[2299]: Failed to read locale data: Permission denied
déc. 29 11:18:48 linux-faa3 display-manager[2252]: Failed to set keymap: Message recipient disconnected from message bus without replying
déc. 29 11:18:48 linux-faa3 systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
déc. 29 11:18:48 linux-faa3 sddm[2307]: Initializing...
déc. 29 11:18:48 linux-faa3 systemd[1]: Started MiniDLNA UPnP-A/V and DLNA media server.
déc. 29 11:18:48 linux-faa3 systemd[1]: systemd-localed.service: Main process exited, code=exited, status=1/FAILURE
déc. 29 11:18:48 linux-faa3 systemd[1]: Failed to start Locale Service.Dec 29 10:44:42 linux-faa3 systemd[1]: Starting Locale Service...
déc. 29 11:18:48 linux-faa3 systemd[1]: systemd-localed.service: Unit entered failed state.
déc. 29 11:18:48 linux-faa3 systemd[1]: systemd-localed.service: Failed with result 'exit-code'.
déc. 29 11:18:48 linux-faa3 systemd[1]: Cannot find unit for notify message of PID 2299.

restarting locale show :

déc. 29 11:20:14 linux-faa3 systemd[1]: Starting Locale Service...
déc. 29 11:20:14 linux-faa3 systemd[1]: Started Locale Service.
déc. 29 11:20:14 linux-faa3 systemd-localed[3667]: Failed to read locale data: Permission denied
déc. 29 11:20:14 linux-faa3 systemd[1]: systemd-localed.service: Main process exited, code=exited, status=1/FAILURE
déc. 29 11:20:14 linux-faa3 systemd[1]: systemd-localed.service: Unit entered failed state.
déc. 29 11:20:14 linux-faa3 systemd[1]: systemd-localed.service: Failed with result 'exit-code'.

Different command from root terminal show :


linux-faa3:~ # localectl status
Could not get properties: Message recipient disconnected from message bus without replying

linux-faa3:~ # locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

linux-faa3:~ # localectl set-locale lang=en_US.utf8
Failed to issue method call: Message recipient disconnected from message bus without replying

linux-faa3:~ # localectl set-locale en_US.utf8
Failed to issue method call: Message recipient disconnected from message bus without replying

linux-faa3:~ # localectl list-locales
C.utf8
aa_DJ
aa_DJ.utf8
aa_ER
aa_ER@saaho
aa_ET
.........
.........
zh_TW
zh_TW.euctw
zh_TW.utf8
zu_ZA
zu_ZA.utf8

Other than that the system seems to work normally.
Any help is welcome

Try: localectl set-locale en_US.UTF-8

Output of “ls -l /etc/locale.conf” is more useful than any description.

Now journald show

And what are permissions of /etc/locale.conf now?

user_install@ASUS-G75VW:~> sudo ls -l /etc/locale.conf
-rw-r--r-- 1 root root 17 avril 25  2019 /etc/locale.conf

user_install@ASUS-G75VW:~> sudo localectl set-locale en_US.UTF-8 
Failed to issue method call: Message recipient disconnected from message bus without replying

What is the content:

:~ # cat /etc/locale.conf 
LANG=de_DE.UTF-8
:~ # 

Can you actually access this file? “cat /etc/locale.conf”?


user_install@ASUS-G75VW-JC:~> cat /etc/locale.conf
LANG=en_US.UTF-8

user_install@ASUS-G75VW:~> ls -l /etc/locale.conf
-rw-r--r-- 1 root root 17 avril 25  2019 /etc/locale.conf

user_install@ASUS-G75VW:~> sudo localectl set-locale en_US.UTF-8
Failed to issue method call: Message recipient disconnected from message bus without replying

user_install@ASUS-G75VW:~> sudo localectl set-locale lang=en_US.utf8
Failed to issue method call: Message recipient disconnected from message bus without replying

user_install@ASUS-G75VW:~> localectl set-locale en_US.UTF-8
Failed to issue method call: Message recipient disconnected from message bus without replying

user_install@ASUS-G75VW:~> localectl set-locale lang=en_US.utf8
Failed to issue method call: Message recipient disconnected from message bus without replying