Public bug reported:

This is on a new installation of Ubuntu 16.04 xenial with Varnish
4.1.1-1.

Any modification of /etc/default/varnish is being ignored by the daemon.
Turns out that all the values are fixed in the systemd service of
varnish (/lib/systemd/system/varnish.service):

--------------------------------------------
[Unit]
Description=Varnish HTTP accelerator
Documentation=https://www.varnish-cache.org/docs/4.1/ man:varnishd

[Service]
Type=simple
LimitNOFILE=131072
LimitMEMLOCK=82000
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 
-f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m
ExecReload=/usr/share/varnish/reload-vcl
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
PrivateDevices=true

[Install]
WantedBy=multi-user.target
--------------------------------------------

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: varnish 4.1.1-1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Fri Apr 22 14:07:10 2016
InstallationDate: Installed on 2016-04-18 (4 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Beta amd64 
(20160325)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: varnish
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.varnish: 2016-04-22T14:01:03.786366

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


** Tags: amd64 apport-bug xenial

** Summary changed:

- /etc/default/varnish is ignored (fixed in systemd service)
+ /etc/default/varnish is ignored (fixed values in systemd service)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573561

Title:
  /etc/default/varnish is ignored (fixed values in systemd service)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to