systemd-detect-virt fails with "Operation not permitted"

Bug #1747614 reported by Oliver Zweigle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

systemd version the issue has been seen with

    229

- Used distribution

Ubuntu 16.04

- In case of bug report: Expected behaviour you didn't see

systemd-detect-virt should show virtual system (e.g. docker) or none

- In case of bug report: Unexpected behaviour you saw

During apt-get upgrade grub-pc can not install in virtual container (docker) because of systemd-detect-virt fails with "Operation not permitted".

Error output: /var/lib/dpkg/info/grub-pc.postinst: line 299: /usr/bin/systemd-detect-virt: Operation not permitted

Call of systemd-detect-virt returns: "Operation not permitted"

- In case of bug report: Steps to reproduce the problem

apt-get update; apt-get upgrade; systemd-detect-virt

Tags: docker systemd
description: updated
Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.