Re: starting services in fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-04-17, Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> wrote:
> On Tue, Apr 17, 2018 at 08:30:59AM +0200, Miroslav Suchý wrote:
>> Dne 17.4.2018 v 07:46 Petr Pisar napsal(a):
>> > Maybe nobody knows how to determine a system is live.
>> 
>> +1
>
> Actually we do. If systemd is running

You mean systemctl can talk to a systemd via
/var/run/dbus/system_bus_socket. Ok.

> and dnf is installing packages into the same root from which it is
> running, it's a live system.  Otherwise, it's not. This is what
> systemctl checks.
>
Does systemctl really check it is an indirect child of dnf and where
that dnf installs to? You cannot get meaningful chroot path by calls
from a chrooted process. Also you can execute "rpm --root /foo -i
foo.rpm" without DNF. I cannot see how this second condition is
meaningfully implemented.

-- Petr
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux