Results 1 to 4 of 4

Thread: How to restart systemd after a zypper update

  1. #1

    Default How to restart systemd after a zypper update

    So, after a zypper software update, I manage to restart all the daemons that use deleted files by issuing "systemctl restart <daemon_name>.service". However, the one service I cannot figure out how to restart is, I guess, the main systemd daemon:

    Code:
    ~ # zypper ps
    The following running processes use deleted files:
    
    PID  | PPID | UID | Login | Command | Service | Files                           
    -----+------+-----+-------+---------+---------+---------------------------------
    1    | 0    | 0   | root  | systemd |         |
    Is there a way to restart the main systemd daemon without a reboot?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to restart systemd after a zypper update

    On 2014-01-12 20:06, johnpnew wrote:

    > Code:
    > --------------------
    > ~ # zypper ps
    > The following running processes use deleted files:
    >
    > PID | PPID | UID | Login | Command | Service | Files
    > -----+------+-----+-------+---------+---------+---------------------------------
    > 1 | 0 | 0 | root | systemd | |
    > --------------------
    >
    >
    > Is there a way to restart the main systemd daemon without a reboot?


    Yes. Reboot. >:-)

    The PID is one! :-))

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  3. #3

    Default Re: How to restart systemd after a zypper update

    Quote Originally Posted by johnpnew View Post
    Is there a way to restart the main systemd daemon without a reboot?
    Code:
    systemctl daemon-reexec

  4. #4

    Default Re: How to restart systemd after a zypper update

    Quote Originally Posted by wolfi323 View Post
    Code:
    systemctl daemon-reexec
    That did it, thank-you!

    I had been trying systemctl --daemon-reload without success. I guess I should have looked one item down in the man page to find the daemon-reexec command!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •