Results 1 to 3 of 3

Thread: Preventing restart of services during update

  1. #1
    Join Date
    Dec 2009
    Location
    Prague
    Posts
    94

    Default Preventing restart of services during update

    Is there a way how to prevent zypper/yast from restarting service during update? I've tried to set in /etc/sysconfig/services DISABLE_RESTART_ON_UPDATE="yes", but it seems that it's ignored in Leap. At least during libvirt-client update. It restarts all VMs and this is fatal for our company, we can't do anything for an hour. I need to do update and then restart VMs one by one some other time.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,932
    Blog Entries
    2

    Default Re: Preventing restart of services during update

    You probably don't have the required "systemd macros" package. Install by running the following command and then your sysconfig command should work
    Code:
    zypper in systemd-rpm-macros
    There probably should be a comment in the file /etc/sysconfig/services that this package is required

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Dec 2009
    Location
    Prague
    Posts
    94

    Default Re: Preventing restart of services during update

    Thanks for the tip, but I've checked it and I have this package installed.

Posting Permissions

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