[Rpm-maint] [rpm-software-management/rpm] Suppress inhibition lock warning message in single-user mode (#831)
shogo-matsumoto
notifications at github.com
Tue Sep 10 08:29:40 UTC 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190910/dff4793c/attachment.html>
More information about the Rpm-maint
mailing list