[Bug 1766574] Re: Installation failed if systemd isn't installed: /var/lib/dpkg/info/rsyslog.postinst: 28: /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Apr 24 13:34:02 UTC 2018


It is concerning that the docker containers does not have systemd
package installed.

I'm not saying that systemd-sysv should be installed and/or init
present, but certainly many utils shipped by systemd package are useful
in general.

For example, rsyslog's logging directories would not be configured
correctly with the right permissions.

Why is systemd deb package not installed in the ubuntu docker container?

** Also affects: cloud-images
   Importance: Undecided
       Status: New

** Description changed:

+ 
+ Ubuntu Bionic docker container missing Priority: Import; Task:minimal package.
+ 
+ --
+ 
  If you have an image that doesn't have systemd installed, installing
  rsyslog fails with the following error:
  
-   /var/lib/dpkg/info/rsyslog.postinst: 28:
+   /var/lib/dpkg/info/rsyslog.postinst: 28:
  /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found
  
  If I install the systemd package, the rsyslog installation succeeds.
  
  This is with with version 8.32.0-1ubuntu3 in bionic.
  
  A quick way of reproducing this is to grab the latest docker bionic
  image and try to install rsyslog in there.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1766574

Title:
  Installation failed if systemd isn't installed:
  /var/lib/dpkg/info/rsyslog.postinst: 28:
  /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

Status in cloud-images:
  New
Status in rsyslog package in Ubuntu:
  Confirmed

Bug description:
  
  Ubuntu Bionic docker container missing Priority: Import; Task:minimal package.

  --

  If you have an image that doesn't have systemd installed, installing
  rsyslog fails with the following error:

    /var/lib/dpkg/info/rsyslog.postinst: 28:
  /var/lib/dpkg/info/rsyslog.postinst: systemd-tmpfiles: not found

  If I install the systemd package, the rsyslog installation succeeds.

  This is with with version 8.32.0-1ubuntu3 in bionic.

  A quick way of reproducing this is to grab the latest docker bionic
  image and try to install rsyslog in there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1766574/+subscriptions



More information about the foundations-bugs mailing list