Bug#871489: port-change in varnish hardly possible and reverts on update

2017-08-08 Thread Salvatore Bonaccorso
Hi

On Tue, Aug 08, 2017 at 04:13:17PM +0200, jakob-tobias.win...@stuttgart.de 
wrote:
> Hi,
> 
> thanks for the answer. That actually fixes the problem. :)
> 
> I still think this issues needs fixing. Please make the package honor
> settings in /etc/default/varnish so new varnish users don't have to go
> through outages on package updates.
> 
> At least document it in the unit file with a comment.

Perfect, thanks for the quick feedback.

Will leave the bug open for the varnish maintainers, to decide how/if
something needs to be changed.

Regards,
Salvatore



Bug#871489: port-change in varnish hardly possible and reverts on update

2017-08-08 Thread Jakob-Tobias . Winter
Hi,

thanks for the answer. That actually fixes the problem. :)

I still think this issues needs fixing. Please make the package honor
settings in /etc/default/varnish so new varnish users don't have to go
through outages on package updates.

At least document it in the unit file with a comment.

Thanks a lot

Jakob-Tobias


Bug#871489: port-change in varnish hardly possible and reverts on update

2017-08-08 Thread Salvatore Bonaccorso
Hi

Not the maintainer here, but cf.:

On Tue, Aug 08, 2017 at 02:29:39PM +0200, jakob-tobias.win...@stuttgart.de 
wrote:
> Package: varnish
> Version: 5.0.0-7+deb9u1
> Severity: important
> 
> When using systemd its hard to change the port varnish listens on. In our 
> case we want it to listen on port 80.
> 
> You have to edit /lib/systemd/system/varnish.service as all other config 
> options I found are simply ignored.
> 
> In addition on update of the varnish package the systemd unit file gets 
> overwritten and without notice or warning you have a broken varnish with 
> possible external effect.
> 
> Please declare the unitfile as config file so the update process asks what 
> to do if there are changes to the file or make changing the port in 
> /etc/default/varnish possible.

https://bugs.debian.org/870712#10

# Note: If systemd is installed, this file is obsolete and ignored.  You will
# need to copy /lib/systemd/system/varnish.service to /etc/systemd/system/ and
# edit that file.

Regards,
Salvatore



Bug#871489: port-change in varnish hardly possible and reverts on update

2017-08-08 Thread Jakob-Tobias . Winter
Package: varnish
Version: 5.0.0-7+deb9u1
Severity: important

When using systemd its hard to change the port varnish listens on. In our 
case we want it to listen on port 80.

You have to edit /lib/systemd/system/varnish.service as all other config 
options I found are simply ignored.

In addition on update of the varnish package the systemd unit file gets 
overwritten and without notice or warning you have a broken varnish with 
possible external effect.

Please declare the unitfile as config file so the update process asks what 
to do if there are changes to the file or make changing the port in 
/etc/default/varnish possible.

Thanks a lot

Jakob-Tobias