Bug#833523: redis-server: configuring /etc/redis/redis.conf can break automated updates

2016-10-04 Thread Chris Lamb
Kai Kretschmann wrote:

> After any update the conf file gets overwritten with the distribution
> one

Can you provide a reliable testcase? I cannot:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833523#10


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#833523: redis-server: configuring /etc/redis/redis.conf can break automated updates

2016-08-05 Thread Chris Lamb
tags 833523 unreproducible
thanks

Kai Kretschmann wrote:

> After any update the conf file gets overwritten with the distribution
> one

Really? Not for me:

 $ sudo apt-get install redis-server
 [..]
 Setting up redis-server (2:3.2.3-1) ...
 [..]

 $ echo '# local change' | sudo tee -a /etc/redis/redis.conf
 
 # local change

 $ sudo apt-get install --reinstall redis-server
 [..]
 Setting up redis-server (2:3.2.3-1) ...
 [..]

 $ sudo grep "local change" /etc/redis/redis.conf
 # local change

There is nothing special about the handling of /etc/redis/redis.conf
in Debian - all the usual dpkg conffile conflict handling is in
operation - ie. it will not overwrite local changes..

> I would expect a default include at the end of redis.conf embedding

(Whilst I like the idea of a redis.conf.d from an aesthetic point of view,
IMHO this is orthogonal to this issue and should be discussed elsewhere.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#833523: redis-server: configuring /etc/redis/redis.conf can break automated updates

2016-08-05 Thread Kai Kretschmann
Package: redis-server
Version: 2:3.2.3-1~dotdeb+8.1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I need more than the default 16 databases within redis. So currently the only 
place to configure this is the default redis.conf. After any update the conf 
file gets overwritten with the distribution one and redis fails to start, 
because it recognizes the 32 databases of cached data.

I would expect a default include at the end of redis.conf embedding either a 
local.conf or all files within a subfolder conf.d which I can add and edit 
without changing the distributions default file.

That should be easy to add without breaking more than now.


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages redis-server depends on:
ii  adduser  3.113+nmu3
ii  init-system-helpers  1.22
ii  libc62.19-18+deb8u4
ii  redis-tools  2:3.2.3-1~dotdeb+8.1

redis-server recommends no packages.

redis-server suggests no packages.

-- Configuration Files:
/etc/default/redis-server changed [not included]
/etc/redis/redis.conf changed [not included]

-- no debconf information