Thank you for your comment.
As you pointed out the condition is not equivalent to single-user mode.
I only check the error code to judge dbus service (or
/var/run/dbus/system_bus_socket) exists, because I thought it seems excessive
to check whether the system is in single-user mode by, for example, calling
runlevel command from systemd_inhibit.c.
I have no good idea to limit to single-user mode at the moment. Do you have any
ideas?
If the fix is not appropriate I will close this request.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/831#issuecomment-529831202
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint