Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485484 - app-emulation/virtualbox-guest-additions: missing ConditionVirtualization=oracle directive in the systemd unit
Summary: app-emulation/virtualbox-guest-additions: missing ConditionVirtualization=ora...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-20 13:04 UTC by jackieku
Modified: 2013-09-21 14:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jackieku 2013-09-20 13:04:24 UTC
SystemD has a nice feature that detects the executing virtualized environment. Since there is no point to start VirtualBox guest service outside of VirtualBox guests. The unit file should include "ConditionVirtualization=oracle" as follows:

[Unit]
...
ConditionVirtualization=oracle
...

See system.unit(1) for the details of ConditionVirtualization=.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2013-09-21 14:17:10 UTC
+  21 Sep 2013; Pacho Ramos <pacho@gentoo.org>
+  files/virtualbox-guest-additions.service:
+  Add ConditionVirtualization=oracle (#485484 by jackieku)
+