• Update Warning

    From santo@2:250/1 to All on Sun Feb 20 10:37:58 2022
    hi all...
    I am in the process of updating my system after some time...
    during the scrolling of the various pakages I saw the following warning:

    Warning: The unit file, source configuration file or drop-ins of udisks2.service changed on disk. Run 'systemctl daemon-reload' to reload units.

    when the update is finished what is exactly that I have to do? or is just
    a routine message?

    To Run:

    Run 'systemctl daemon-reload'

    means that as root I have to type the above line?

    Apologies but I am not a computer savvy...
    :-)

    Thanks in advance for the help...
    Santo

    --- MBSE BBS v1.0.7.24 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to santo on Sun Feb 20 14:23:16 2022
    Hello santo!

    Sunday February 20 2022 10:37, santo wrote to All:

    hi all...
    I am in the process of updating my system after some time...
    during the scrolling of the various pakages I saw the following
    warning:

    Warning: The unit file, source configuration file or drop-ins of udisks2.service changed on disk. Run 'systemctl daemon-reload' to
    reload units.

    when the update is finished what is exactly that I have to do? or is
    just a routine message?

    To Run:

    Run 'systemctl daemon-reload'

    means that as root I have to type the above line?

    Apologies but I am not a computer savvy...
    :-)

    More likely sudo systemctl daemon-reload

    How ever if you reboot the system after the update and if it is a lot of packages I would seriously recommend doing that then it will be done any
    way.

    Vincent


    SEEN-BY: 25/0 21 250/0 1 2 3 4 5 6 7 10 21 263/0 301/1
  • From Bit Twister@2:250/1 to All on Sun Feb 20 16:09:46 2022
    On Sun, 20 Feb 2022 10:37:58 -0000 (UTC), santo wrote:
    hi all...
    I am in the process of updating my system after some time...
    during the scrolling of the various pakages I saw the following warning:

    Warning: The unit file, source configuration file or drop-ins of udisks2.service changed on disk. Run 'systemctl daemon-reload' to reload units.

    when the update is finished what is exactly that I have to do? or is just
    a routine message?


    That is not a routine message.'
    '
    To Run:

    Run 'systemctl daemon-reload'

    means that as root I have to type the above line?

    Yes, because is needs root privileges to execute successfully.

    --- MBSE BBS v1.0.7.24 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Sun Feb 20 16:24:52 2022
    On 2022-02-20, santo <nanci@auroville.org.in> wrote:
    hi all...
    I am in the process of updating my system after some time...
    during the scrolling of the various pakages I saw the following warning:

    Warning: The unit file, source configuration file or drop-ins of udisks2.service changed on disk. Run 'systemctl daemon-reload' to reload units.

    when the update is finished what is exactly that I have to do? or is just
    a routine message?

    To Run:

    Run 'systemctl daemon-reload'

    means that as root I have to type the above line?
    You have to type in
    systemctl daemon-reload
    and then hit the enter key. Hitting the enter key tells bash to
    interpret the line and carry out the operations that that line tells it
    to carry out. That is what "Run" means.
    Ie, the word Run is an instruction to you. The instruction to the
    computer is
    systemctl daemon-reload


    --- MBSE BBS v1.0.7.24 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Feb 20 16:58:13 2022
    On Sun, 20 Feb 2022 05:37:58 -0500, santo <nanci@auroville.org.in> wrote:
    I am in the process of updating my system after some time...
    during the scrolling of the various pakages I saw the following warning: Warning: The unit file, source configuration file or drop-ins of udisks2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
    when the update is finished what is exactly that I have to do? or is just
    a routine message?
    To Run:
    Run 'systemctl daemon-reload'
    means that as root I have to type the above line?
    Apologies but I am not a computer savvy...

    As explained by others, it is not a routine message, as it does require user action.

    The message is generated by systemd whenever a file in /lib/systemd/system/
    (or in one of it's sub directories) has been modified by an update. As per the comment, The command ...
    systemctl daemon-reload
    must be run. That command must be run as root.

    In a terminal program such as konsole or gnome-terminal either use "su -" to become root and then enter the command, or if you've set it up, use (as the regular user, "sudo systemctl daemon-reload". A third option is to reboot the system, just like with kernel or glibc updates as that will also force all daemons
    (always running programs such as polkit) to be restarted.

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.7.24 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Feb 20 17:40:50 2022
    On Sun, 20 Feb 2022 11:58:13 -0500, David W. Hodgins wrote:

    In a terminal program such as konsole or gnome-terminal either use "su -" to become root and then enter the command, or if you've set it up, use (as the regular user, "sudo systemctl daemon-reload". A third option is to reboot the system, just like with kernel or glibc updates as that will also force all daemons
    (always running programs such as polkit) to be restarted.

    I agree a reboot will cause all daemons to be restarted, but I am not sure systemd will run any newly installed unit files. As I misunderstand it
    systemd keeps a separate copy of the unit files that are the ones executed
    on start/stop. The reload command copies all those unit files back into
    the actual directories systemd uses to start/stop those units.

    I base the above on experience with changing my custom unit files and trying
    to have systemd run the unit where it complains about the unit file has
    changed and requests me to do a reload to pick up the new unit file.



    --- MBSE BBS v1.0.7.24 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Feb 20 18:30:34 2022
    On Sun, 20 Feb 2022 12:40:50 -0500, Bit Twister <BitTwister@mouse-potato.com> wrote:

    On Sun, 20 Feb 2022 11:58:13 -0500, David W. Hodgins wrote:

    In a terminal program such as konsole or gnome-terminal either use "su -" to >> become root and then enter the command, or if you've set it up, use (as the >> regular user, "sudo systemctl daemon-reload". A third option is to reboot the
    system, just like with kernel or glibc updates as that will also force all daemons
    (always running programs such as polkit) to be restarted.

    I agree a reboot will cause all daemons to be restarted, but I am not sure systemd will run any newly installed unit files. As I misunderstand it systemd keeps a separate copy of the unit files that are the ones executed
    on start/stop. The reload command copies all those unit files back into
    the actual directories systemd uses to start/stop those units.

    I base the above on experience with changing my custom unit files and trying to have systemd run the unit where it complains about the unit file has changed and requests me to do a reload to pick up the new unit file.

    There are two similar sub commands of systemctl. From the systemctl man page ...
    =========
    reload PATTERN...
    Asks all units listed on the command line to reload their configuration. Note that this will reload the service-specific configuration, not the unit configuration file of systemd. If you want
    systemd to reload the configuration file of a unit, use the daemon-reload command. In other words: for the example case of Apache, this will reload Apache's httpd.conf in the web server, not
    the apache.service systemd unit file.
    This command should not be confused with the daemon-reload command.

    daemon-reload
    Reload the systemd manager configuration. This will rerun all generators (see systemd.generator(7)), reload all unit files, and recreate the entire dependency tree. While the daemon is being
    reloaded, all sockets systemd listens on behalf of user configuration will stay accessible.
    This command should not be confused with the reload command. =========
    The info that is being reloaded by the daemon reload is all of the inter-relationships between various units. That info is in ram only (/run/systemd/).

    I've never seen a situation where changing a unit file and then rebooting also required running "systemctl daemon-reload".

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Mon Feb 21 01:19:44 2022
    On Sun, 20 Feb 2022 16:24:52 +0000, William Unruh wrote:

    On 2022-02-20, santo <nanci@auroville.org.in> wrote:
    hi all...


    means that as root I have to type the above line?
    You have to type in systemctl daemon-reload and then hit the enter key. Hitting the enter key tells bash to interpret the line and carry out the operations that that line tells it to carry out. That is what "Run"
    means.
    Ie, the word Run is an instruction to you. The instruction to the
    computer is systemctl daemon-reload

    Thank you all for the answers...
    :-)

    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)