avahi-daemon.service: Failed to reset devices.list: Operation not permitted

  • Still trying to install on a LXD Debian Stretch i386 container.
    https://openmediavault.readthe…ian.html#debian-9-stretch
    Get error messages....


    # apt-get --yes --auto-remove --show-upgraded \
    > --allow-downgrades --allow-change-held-packages \
    > --no-install-recommends \
    > --option Dpkg::Options::="--force-confdef" \
    > --option DPkg::Options::="--force-confold" \
    > install postfix openmediavault
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    postfix is already the newest version (3.1.14-0+deb9u1).
    openmediavault is already the newest version (4.1.35-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    5 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up avahi-daemon (0.6.32-2) ...
    Job for avahi-daemon.service failed because the control process exited with error code.
    See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript avahi-daemon, action "start" failed.
    * avahi-daemon.service - Avahi mDNS/DNS-SD Stack
    Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sun 2020-03-08 03:03:24 UTC; 11ms ago
    Process: 26312 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255)
    Main PID: 26312 (code=exited, status=255)



    Mar 08 03:03:24 omv systemd[1]: avahi-daemon.service: Failed to reset devices.list: Operation not permitted
    Mar 08 03:03:24 omv systemd[1]: avahi-daemon.service: Failed to set invocation ID on control group /system.slice/avahi-daemon.service, ignoring: Operation not permitted
    Mar 08 03:03:24 omv systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    Mar 08 03:03:24 omv systemd[1]: avahi-daemon.service: Main process exited, code=exited, status=255/n/a
    Mar 08 03:03:24 omv systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
    Mar 08 03:03:24 omv systemd[1]: avahi-daemon.service: Unit entered failed state.
    Mar 08 03:03:24 omv systemd[1]: avahi-daemon.service: Failed with result 'exit-code'.
    dpkg: error processing package avahi-daemon (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault:
    openmediavault depends on avahi-daemon; however:
    Package avahi-daemon is not configured yet.



    dpkg: error processing package openmediavault (--configure):
    dependency problems - leaving unconfigured
    Setting up postfix (3.1.14-0+deb9u1) ...



    Postfix (main.cf) configuration was untouched. If you need to make changes,
    edit /etc/postfix/main.cf (and others) as needed. To view Postfix
    configuration values, see postconf(1).



    After modifying main.cf, be sure to run 'service postfix reload'.



    Running newaliases
    newaliases: warning: valid_hostname: misplaced delimiter: omv.fios-router.home.
    newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: omv.fios-router.home.
    dpkg: error processing package postfix (--configure):
    subprocess installed post-installation script returned error exit status 75
    dpkg: dependency problems prevent configuration of libnss-mdns:i386:
    libnss-mdns:i386 depends on avahi-daemon (>= 0.6.16-1); however:
    Package avahi-daemon is not configured yet.



    dpkg: error processing package libnss-mdns:i386 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of bsd-mailx:
    bsd-mailx depends on default-mta | mail-transport-agent; however:
    Package default-mta is not installed.
    Package mail-transport-agent is not installed.
    Package postfix which provides mail-transport-agent is not configured yet.



    dpkg: error processing package bsd-mailx (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    avahi-daemon
    openmediavault
    postfix
    libnss-mdns:i386
    bsd-mailx
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!