VirtualBox

Changeset 69007 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Oct 6, 2017 3:31:05 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118276
Message:

Additions: missing conflict with systemd-timesyncd.service for guest service.
bugref:3809: Linux installer maintenance

This change adds "Conflicts=systemd-timesyncd.service" to the systemd unit
file for the guest service. This prevents our time synchronisation service
and the systemd time synchronisation service from running at the same time.
See Debian bug 873263.
https://bugs.debian.org/873263
Thank you Gianfranco Costamagna <locutusofborg@…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/routines.sh

    r68319 r69007  
    123123    test -n "${unit_path}" || \
    124124        { echo "$self: systemd unit path not found" >&2 && return 1; }
     125    conflicts=`sed -n 's/# *X-Conflicts-With: *\(.*\)/\1/p' "${script}" | sed 's/\$[a-z]*//'`
    125126    description=`sed -n 's/# *Short-Description: *\(.*\)/\1/p' "${script}"`
    126127    required=`sed -n 's/# *Required-Start: *\(.*\)/\1/p' "${script}" | sed 's/\$[a-z]*//'`
     
    138139Before=${targets}shutdown.target ${before}
    139140After=${after}
    140 Conflicts=shutdown.target
     141Conflicts=shutdown.target ${conflicts}
    141142
    142143[Service]
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette