View previous topic :: View next topic |
Author |
Message |
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Fri Jun 30, 2023 5:54 am Post subject: Plasma from scratch - Impossible to change users settings |
|
|
Hi, sorry I am coming today to you, because I am building actually a Linux system fully from scratch. And I am facing a problem with my plasma installation.
When I go to the settings (graphically), no user are listed, and it's impossible to add user.
If I start systemsetting from the terminal, I have errors like that:
Code: | TypeError: Cannot read property 'realName' of null
org.kde.kcm_users: "The name org.freedesktop.Accounts was not provided by any .service files" |
I follow the https://www.linuxfromscratch.org/blfs/downloads/11.0/BLFS-BOOK-11.0-nochunks.html book.
I use the 5.22.4 version of plasma-desktop.
I am using Openrc.
I suspect maybe a problem with polkit, but I am not an expert with polkit
Somebody is able to help me ? _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1707
|
Posted: Fri Jun 30, 2023 10:22 am Post subject: |
|
|
I suggest you consult KDE Plasma upstream, the BLFS people, or consult how we handle packaging. It's almost as if distros do certain things for a reason.. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Fri Jun 30, 2023 9:07 pm Post subject: Re: Plasma from scratch |
|
|
Fulgurance wrote: | Code: | org.kde.kcm_users: "The name org.freedesktop.Accounts was not provided by any .service files" |
|
This one, at least, means that you don't have program accounts-daemon and its accompanying D-Bus .service file from package accountsservice (sys-apps/accountsservice on Gentoo). _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Sat Jul 01, 2023 6:37 am Post subject: |
|
|
Oh thanks a lot !!! I don't know why they didn't mention that. This package is mandatory definitely. _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Fri Jul 07, 2023 10:46 am Post subject: |
|
|
So I tried with the accountsservice package, but it doesn't fix the problem.
I have this error:
Code: | org.kde.kcm_users: The permission of the setuid helper is not correct |
_________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21849
|
Posted: Fri Jul 07, 2023 2:35 pm Post subject: |
|
|
What are the current permissions on the setuid helper? If you correct them, does it work better? |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Fri Jul 07, 2023 3:05 pm Post subject: |
|
|
I think we talk about this file:
Code: |
ls -la /usr/libexec/dbus-daemon-launch-helper
--w---xrwT 1 root messagebus 97400 Jun 30 07:45 /usr/libexec/dbus-daemon-launch-helper |
_________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Wed Jul 12, 2023 5:14 pm Post subject: |
|
|
No idea ? _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1456 Location: Earth
|
Posted: Wed Jul 12, 2023 6:12 pm Post subject: |
|
|
is this your issue https://github.com/flatpak/flatpak/issues/4934
ls -la /usr/libexec/dbus-daemon-launch-helper
Code: | -rws--x--- 1 root messagebus 60736 Mai 16 00:49 /usr/libexec/dbus-daemon-launch-helper |
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21849
|
Posted: Wed Jul 12, 2023 6:29 pm Post subject: |
|
|
Fulgurance wrote: | No idea ? | My idea was to correct the permissions and repeat the test. Your existing permissions look very wrong. Among other things, it is not even setuid, despite being described as a setuid helper. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Wed Jul 19, 2023 4:46 pm Post subject: |
|
|
Yeah, I saw I need to fix some permissions issues. Anyway, I will update the database soon, I will be careful with the permissions _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Mon Sep 04, 2023 9:17 am Post subject: |
|
|
Hi, I come back after a while. I almost finished to implement the main functionalities of my package manager now, I focus now to stable it.
I was thinking to code a function to make sure the installed files have always permissions set properly.
So then my question is: do you know with the FHS if there is a normal standard for the rights and permissions for the default dirs ?
About setuid, even LFS book say to setuid, so it's not recommended ? _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Sun Nov 05, 2023 8:10 pm Post subject: |
|
|
Hi, sorry I come back to this topic, because I tried to fix the problem by setting the permission properly like that:
Code: | sudo chmod u+s /usr/libexec/dbus-daemon-launch-helper |
It was working in a previous VM I did. Then I updated my installation script process, and tried a new installation again to see if now it fix properly the problem. But now, even I fixed that, again users doesn't appear in the systemsetting.
And when I execute systemsettings in a terminal, it don't mention any specific problem.
Do you think maybe there is something missing ? What can I inspect then ?
Now I have this kind of errors:
Code: | file://usr/share/kpackage/kcms/kcm_users/contents/ui/UserDetailsPage.qml:296 TypeError : Cannot read property 'realName' of null |
_________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1220
|
Posted: Sun Nov 05, 2023 10:02 pm Post subject: |
|
|
The thing strange is, if I try to create new user by the interface, even the systemsettings doesn't show any user, it create a new one if I use the interface to create new one. _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
|