Bug#593458: zabbix-agent: Wrong home directory for zabbix user in agent-only install

2010-09-01 Thread Christoph Haas
The problem I see here is that zabbix-agent and a zabbix-server-*
package is likely to be installed on the same server. And
zabbix-server-* uses:

adduser --quiet \
--system --disabled-login --ingroup zabbix \
--home /var/run/zabbix-server/ --no-create-home \
zabbix

So if the server package gets installed first the 'zabbix' user gets
created with a home directory of /var/run/zabbix-server/

Maybe we should omit the --no-create-home option. Hmmm.

 Christoph


Am 18.08.2010 13:33, schrieb Petr Černohouz:
 Package: zabbix-agent
 Version: 1:1.4.6-1
 Severity: normal
 
 
 Installation create zabbix user with home directory 
 /var/run/zabbix-server but this directory doesn't exist. Agent use 
 directory /var/run/zabbix-agent. This cause problem if user defined 
 chceck need home directory (ie for doted config files).Bug is also in 
 testing release in version 1:1.8.2-1
 
 -- System Information:
 Debian Release: 5.0.5
   APT prefers stable
   APT policy: (500, 'stable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages zabbix-agent depends on:
 ii  adduser  3.110   add and remove users and groups
 ii  debconf [debconf-2.0]1.5.24  Debian configuration management 
 sy
 ii  libc62.7-18lenny4GNU C Library: Shared libraries
 ii  libldap-2.4-22.4.11-1+lenny2 OpenLDAP libraries
 ii  logrotate3.7.1-5 Log rotation utility
 ii  ucf  3.0016  Update Configuration File: 
 preserv
 
 zabbix-agent recommends no packages.
 
 zabbix-agent suggests no packages.
 
 -- debconf information:
   zabbix-agent/server:
 
 




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#593458: zabbix-agent: Wrong home directory for zabbix user in agent-only install

2010-08-18 Thread Petr Černohouz
Package: zabbix-agent
Version: 1:1.4.6-1
Severity: normal


Installation create zabbix user with home directory 
/var/run/zabbix-server but this directory doesn't exist. Agent use 
directory /var/run/zabbix-agent. This cause problem if user defined 
chceck need home directory (ie for doted config files).Bug is also in 
testing release in version 1:1.8.2-1

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zabbix-agent depends on:
ii  adduser  3.110   add and remove users and groups
ii  debconf [debconf-2.0]1.5.24  Debian configuration management sy
ii  libc62.7-18lenny4GNU C Library: Shared libraries
ii  libldap-2.4-22.4.11-1+lenny2 OpenLDAP libraries
ii  logrotate3.7.1-5 Log rotation utility
ii  ucf  3.0016  Update Configuration File: preserv

zabbix-agent recommends no packages.

zabbix-agent suggests no packages.

-- debconf information:
  zabbix-agent/server:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org