• Alf Gaida's avatar
    Failed udev start should not break apt update · 47b75f1a
    Alf Gaida authored
    To be clear about - that will handle only the apt problem - if something goes
    wrong systemd-udevd will not run, but the update will be fine.
    (Closes: #903224 #903249)
    
    Rationale:
    
    if can_start_udevd; then
      if [ -d /run/systemd/system ] ; then
        # we know that the reload might fail - so we give back a true anyways
        systemctl daemon-reload || true
      fi
      # if the daemon-reload fails the invoke might fail too - give back true here too
      # might be a good idea - ok, in case the restart fail the service will not run
      # but that is a different issue
      invoke-rc.d udev restart || true
    fi
    47b75f1a
Name
Last commit
Last update
.github Loading commit data...
.mkosi Loading commit data...
catalog Loading commit data...
coccinelle Loading commit data...
debian Loading commit data...
doc Loading commit data...
factory/etc Loading commit data...
hwdb Loading commit data...
man Loading commit data...
modprobe.d Loading commit data...
network Loading commit data...
po Loading commit data...
presets Loading commit data...
rules Loading commit data...
shell-completion Loading commit data...
src Loading commit data...
sysctl.d Loading commit data...
sysusers.d Loading commit data...
test Loading commit data...
tmpfiles.d Loading commit data...
tools Loading commit data...
travis-ci Loading commit data...
units Loading commit data...
xorg Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
.vimrc Loading commit data...
.ycm_extra_conf.py Loading commit data...
LICENSE.GPL2 Loading commit data...
LICENSE.LGPL2.1 Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
configure Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mkosi.build Loading commit data...
mkosi.default Loading commit data...
zanata.xml Loading commit data...