On 29/05/2016 01:01 μμ, Thef keo wrote:

    Message: 1
    Date: Fri, 27 May 2016 21:36:53 +0200
    From: Thef keo <[email protected] <mailto:[email protected]>>
    To: [email protected]
    <mailto:[email protected]>
    Subject: [lfs-support] lfs-support Digest
    Message-ID:

    Hello,

    I followed LFS 7.9 Book.
    I finished installing the system and I tried to solve à problem :
    During the last command shutdown -r now, I get the following result:
    Failed to talk to init daemon .

    I tried several commands to correct this problem like systemctl poweroff
    but it returns : Failed to get D-Bus connection: Unknown error -1.

    I restarted the installation of systemd but this has not solved the
    problem.

    Do I have a problem with a package or is it something else ?

    Regards,

    Florent
    ------------------------------

    Message: 2
    Date: Fri, 27 May 2016 23:34:29 +0300
    From: Thanos Baloukas <[email protected] <mailto:[email protected]>>
    To: [email protected]
    <mailto:[email protected]>
    Subject: Re: [lfs-support] lfs-support Digest
    Message-ID: <[email protected] <mailto:[email protected]>>
    Content-Type: text/plain; charset=UTF-8; format=flowed

    On 27/05/2016 10:36 μμ, Thef keo wrote:
     > Hello,
     >
     > I followed LFS 7.9 Book.
     > I finished installing the system and I tried to solve à problem :
     > During the last command shutdown -r now, I get the following result:
     > Failed to talk to init daemon .
     >
     > I tried several commands to correct this problem like systemctl
    poweroff
     > but it returns : Failed to get D-Bus connection: Unknown error -1.
     >
     > I restarted the installation of systemd but this has not solved the
     > problem.
     >
     > Do I have a problem with a package or is it something else ?
     >
    I would also check if something is wrong with the dbus installation.
    Were the commands ran as root?
    What's the output of
    echo $DBUS_SESSION_BUS_ADDRESS
    ?
    Date: Fri, 27 May 2016 15:43:13 -0500
    From: Bruce Dubbs <[email protected] <mailto:[email protected]>>
    To: LFS Support List <[email protected]
    <mailto:[email protected]>>
    Subject: Re: [lfs-support] shutting down systemd
    Message-ID: <[email protected] <mailto:[email protected]>>
    Content-Type: text/plain; charset=UTF-8; format=flowed

    I cannot help, but please make sure the message title is descriptive
    when posting.


Hi,

Yes, I ran the commands as root, and I even tried reinstalling dbus but
it doesn't solve the problem.

When I tried echo $DBUS_SESSION_BUS_ADDRESS, this is no message (the
variable has an empty value)

So what I need to do is to declare this variable ?


Resenting because I replied to the wrong message and confused the OP.

Receiving the list's mails batched makes it difficult to reply.
Maybe you should go to your mailing list account's preferences
and disable that. On LFS mailing lists bottom posting is preferred,
so please use this style.

DBUS_SESSION_BUS_ADDRESS should be set automatically.
When I login as root to a linux console, it is set to
unix:path=/run/user/0/bus

As a next step I suggest to run `ps -ef|grep dbus`
and then `journalctl -u dbus` and `journalctl --user|grep -i bus`
hopefully will give a clue on what's wrong.

--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to