Re: [Bug 1454725] Re: openvpn fails after upgrade from 14.10 to 15.04

2016-02-01 Thread Nicolas Jungers
On 01/02/16 15:57, Simon Déziel wrote:
> Nicolas, the journal log shows that the VPN server hostname was not
> resolvable and eventually when it finally connected, it failed after
> calling a --up script. Could you provide this --up script and maybe the
> sanitized configuration of your VPN client?
>
> ** Changed in: openvpn (Ubuntu)
> Status: Confirmed => Incomplete
Simon,

The DNS error was a transient one, so not relevant here. The --up script 
is the distro standard one and I modified the connection script to 
include the "script-security 2" config that was before a OPTARGS from 
/etc/default/openvpn.


The /etc/default/openvpn way was the documented way pre-15.04.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1454725

Title:
  openvpn does not use OPTARGS from /etc/default/openvpn

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1454725/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1454725] Re: openvpn does not use OPTARGS from /etc/default/openvpn

2016-02-01 Thread Nicolas Jungers
On 01/02/16 18:37, Simon Déziel wrote:
> I just check on 14.04 and 16.04 and the init script automatically adds
> "--script-security 2" unless the VPN config contains a script-security
> directive.
>
> Problem is that since the switch to systemd, the init script is no
> longer used and the daemon is used like this:
>
>$ systemctl cat openvpn@.service | grep ^ExecStart
> ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 
> 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf --writepid 
> /run/openvpn/%i.pid
>
> This probably breaks setups relying on "--script-security 2" like yours.
> Could you try adding "script-security 2" to /etc/openvpn/infra.conf and
> see if it helps?

Yes, it solves the problem. I thought I reported that before. The 
problem is the migration mechanism that has to be corrected. The way I 
used "--script-security 2" was the one put forward in the official doc.

The problem shall be the same for the migration 14.04 -> 16.04 (I
presume).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1454725

Title:
  openvpn does not use OPTARGS from /etc/default/openvpn

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1454725/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1454725] [NEW] openvpn fails after upgrade from 14.10 to 15.04

2015-05-13 Thread Nicolas Jungers
Public bug reported:

1) the config in /etc/default/openvpn seems to not be respected, specifically 
the value of the OPTARGS is not used.
 -- it can be set in the vpn config file

2) the package uml-utilities is not installed and tunctl seems to be
required by the openvpn start procedure.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: openvpn 2.3.2-9ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed May 13 16:23:29 2015
InstallationDate: Installed on 2013-06-01 (710 days ago)
InstallationMedia: Kubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120423)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=en_DK.UTF-8
 SHELL=/bin/bash
SourcePackage: openvpn
UpgradeStatus: Upgraded to vivid on 2015-05-13 (0 days ago)
mtime.conffile..etc.default.openvpn: 2015-05-13T16:08:10.362615

** Affects: openvpn (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1454725

Title:
  openvpn fails after upgrade from 14.10 to 15.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1454725/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 573853] Re: Cannot control squid Unknown instance

2010-08-29 Thread Nicolas Jungers
I solved it for my case by reducing the shutdown_lifetime to 1 seconds in 
/etc/squid/squid.conf and modifying the 
script in /etc/resolvconf/update-libc.d/squid to replace

restart squid
by
stop squid;sleep 1;start squid

Which defeat the restart intended behavior but doesn't need to wait
forever.  Could upstart directly get the value of shutdown_lifetime
from the squid configuration file?

-- 
Cannot control squid Unknown instance
https://bugs.launchpad.net/bugs/573853
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs