installing openvpn blocks lightdm on network-online.target

Bug #1443489 reported by Martin Pitt on 2015-04-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvpn (Ubuntu)
Medium
Martin Pitt

Bug Description

Under current vivid, lightdm takes very long to appear as starting lightdm is delayed until network-online.target. This is due to /etc/init.d/openvpn having

# Required-Start: $network $remote_fs $syslog
# X-Start-Before: $x-display-manager gdm kdm xdm wdm ldm sdm nodm

which results in lightdm waiting for network-online.target. This is totally unnecessary if you only have openvpn installed for dynamic VPNs, i. e. no auto-start configs in /etc/openvpn/ that happen during boot.

This should be fixed by providing proper systemd units which only add this dependency if there are some actual openvpn autostart configs.

Martin Pitt (pitti) wrote :

@vila: FYI, this is the slow boot bug that you were seeing.

tags: added: bootspeed systemd-boot
Changed in openvpn (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Triaged
Martin Pitt (pitti) on 2015-04-13
Changed in openvpn (Ubuntu):
status: Triaged → In Progress
Martin Pitt (pitti) on 2015-04-13
Changed in openvpn (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openvpn - 2.3.2-9ubuntu3

---------------
openvpn (2.3.2-9ubuntu3) vivid; urgency=medium

  * Add better_systemd_detection.patch to avoid calling systemd-ask-password
    under upstart. Backported from upstream. (Closes: #747265)
  * Add systemd unit and generator from current Debian package. This avoids
    using the init.d script, which unnecessarily blocks lightdm startup on the
    network becoming online even if there are no auto-start connections
    (LP: #1443489).
 -- Martin Pitt <email address hidden> Mon, 13 Apr 2015 11:22:56 -0500

Changed in openvpn (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers