[systemd-devel] Cannot call GetUnit method with ssh

Lennart Poettering lennart at poettering.net
Tue Mar 12 15:47:29 UTC 2019


On Di, 12.03.19 18:17, Bao Nguyen (baondt at gmail.com) wrote:

> Hi again,
>
> I tried to add the LDAP user in /etc/dbus-1/system.conf policy and then
> send signal SIGHUP to reload the configuration, also for dbus flush user
> cache, but dbus said that
>
> Unknown username "ldap_demo" on element <allow>
> Reloaded configuration
>
> I search the source code in dbus. it will
> call _dbus_get_user_id_and_primary_group ,
> then _dbus_user_database_get_system to search user ldap_demo in its
> database but I am not clear how this database is built. Could you please
> help me for that?
> Is there anyway to make dbus aware the new user except restart dbus? If I
> restart dbus, does it have any impact to the system?

Please contact the dbus mailing list instead. They can definitely help
you better there than here.

Lennart

--
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list