Results 1 to 4 of 4

Thread: How to restart systemd

  1. #1

    Question How to restart systemd

    Occasionally after installing system updates via zypper I'm told that there are running processes using deleted files, which I can list with zypper ps. Often some systemd service is among them, and I can fix this by running systemctl stop systemd-SERVICENAME; systemctl start systemd-SERVICENAME. However, sometimes systemd is shown without any corresponding service:
    Code:
    # zypper ps
    The following running processes use deleted files:
    
    PID | PPID | UID | Login | Command | Service | Files                    
    ----+------+-----+-------+---------+---------+--------------------------
    1   | 0    | 0   | root  | systemd |         | /lib64/libdbus-1.so.3.8.2
    
    You may wish to restart these processes.
    See 'man zypper' for information about the meaning of values in the above table.
    In such cases is there any way of restarting systemd short of rebooting? I've tried init 1 but that didn't work.

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

    Default Re: How to restart systemd

    On 2014-01-27 11:16, psych0naut wrote:

    > In such cases is there any way of restarting systemd short of rebooting?
    > I've tried init 1 but that didn't work.


    The PID is 1, so it is the master process, the parent of all the processes.

    --
    Cheers / Saludos,

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

  3. #3

    Default Re: How to restart systemd

    Quote Originally Posted by robin_listas View Post
    On 2014-01-27 11:16, psych0naut wrote:

    > In such cases is there any way of restarting systemd short of rebooting?
    > I've tried init 1 but that didn't work.


    The PID is 1, so it is the master process, the parent of all the processes.
    That's what I suspected. But is it at least possible to get it to restart whatever part of itself which depends on /lib64/libdbus-1.so.3.8.2?

  4. #4

    Default Re: How to restart systemd

    You can restart systemd with:
    Code:
    systemctl daemon-reexec

Tags for this Thread

Posting Permissions

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