On Fri, Nov 11, 2005 at 09:11:26PM +0100, Ola Lundqvist wrote:
> Hello
> 
> On Fri, Nov 11, 2005 at 09:33:22PM +0200, Simo Kauppi wrote:
> > Package: ntop
> > Version: 3:3.2-1
> > Severity: minor
> > 
> > When isntalling ntop with aptitude, I get nasty warnings from adduser:
> 
> Well nasty is a bit harsh but I understand what you mean.

I agree :) bad choice of a word.

> > Setting up ntop (3.2-1) ...
> > Adding system user: ntop.
> > adduser: Warning: The home dir you specified already exists.
> > Adding system user `ntop'...
> > Adding new group `ntop' (116).
> > Adding new user `ntop' (116) with group `ntop'.
> > The home directory `/var/lib/ntop' already exists.  Not copying from
> > `/etc/skel'
> > adduser: Warning: that home directory does not belong to the user you
> > are currently creating
> > Starting network top daemon: Fri Nov 11 16:33:29 2005  NOTE: Interface
> > merge enabled by default
> > Fri Nov 11 16:33:29 2005  Initializing gdbm databases
> > 
> > The warnings are probably caused by the fact that ntop installs files
> > into the /var/lib/ntop directory and then calls the adduser with
> > --home /var/lib/ntop in the postinst script.
> > 
> > Maybe the adduser should be in a preinst script, so it would not
> > get upset.
> 
> Maybe that is a solution, yes.
> 
> Regards,
> 
> // Ola

And while I'm at it, after purging the ntop, the user is still in the
/etc/passwd. I don't know why, but maybe the $USER doesn't get set in
the postrm.

Simo
> > -- System Information:
> > Debian Release: testing/unstable
> >   APT prefers testing
> >   APT policy: (990, 'testing')
> > Architecture: amd64 (x86_64)
> > Shell:  /bin/sh linked to /bin/bash
> > Kernel: Linux 2.6.14
> > Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 
> > (charmap=ISO-8859-15)
> > 
> > Versions of packages ntop depends on:
> > ii  adduser                       3.77       Add and remove users and groups
> > ii  debconf [debconf-2.0]         1.4.58     Debian configuration 
> > management sy
> > ii  libc6                         2.3.5-6    GNU C Library: Shared 
> > libraries an
> > ii  libfreetype6                  2.1.7-2.4  FreeType 2 font engine, shared 
> > lib
> > ii  libgd2-noxpm                  2.0.33-2   GD Graphics Library version 2 
> > (wit
> > ii  libgdbm3                      1.8.3-2    GNU dbm database routines 
> > (runtime
> > ii  libjpeg62                     6b-10      The Independent JPEG Group's 
> > JPEG 
> > ii  libpcap0.7                    0.7.2-7    System interface for 
> > user-level pa
> > ii  libpng12-0                    1.2.8rel-5 PNG library - runtime
> > ii  libssl0.9.8                   0.9.8a-3   SSL shared libraries
> > ii  zlib1g                        1:1.2.3-4  compression library - runtime
> > 
> > ntop recommends no packages.
> > 
> > -- debconf information:
> > * ntop/user: ntop
> > * ntop/interfaces: eth0
> 
> -- 
>  --------------------- Ola Lundqvist ---------------------------
> /  [EMAIL PROTECTED]                     Annebergsslingan 37      \
> |  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
> |  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
> |  http://www.opal.dhs.org             UIN/icq: 4912500         |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
>  ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to