Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 18:25:31 +0400 (MSD)
From:      =?KOI8-R?B?IubPzcnexdcg98nL1M/SIg==?= <vfom@narod.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kirill Ponomarew <krion@voodoo.oberon.net>
Subject:   ports/85219: Update port: net-mgmt/netmond
Message-ID:  <4309E05B.000002.18288@colgate.yandex.ru>
Resent-Message-ID: <200508221430.j7MEUPgF066241@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85219
>Category:       ports
>Synopsis:       Update port: net-mgmt/netmond
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 14:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Viktor Fomichev <vfom@narod.ru>
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ipsec.sicex.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Jun 9 11:17:26 NOVST 2005 vfom@ipsec.sicex.ru:/usr/src/sys/i386/compile/IPSEC i386


>Description:
	After port deinstalling some files remain in a system.
 	Automaic ports builder and checker consider this as a bug.
	Attached patch resove the problem.
>How-To-Repeat:
>Fix:

--- netmond/Makefile.orig	Tue Aug 22 02:19:18 2005
+++ netmond/Makefile	Tue Aug 22 02:23:20 2005
@@ -43,7 +43,7 @@
 	@if pw user show netmon 2>/dev/null ; then \
 	    ${ECHO} "User 'netmon' exists." ; \
 	else \
-	    pw useradd -n netmon -g wheel -c 'Network monitor account' -m ; \
+	    pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ; \
 	fi
 	@if pw group show ${BINGRP} 2>/dev/null ; then \
 	    ${ECHO} "Group '${BINGRP}' exists." ;  \
--- netmond/pkg-install.orig	Tue Aug 22 02:24:42 2005
+++ netmond/pkg-install	Tue Aug 22 02:24:34 2005
@@ -8,7 +8,7 @@
 	if pw user show netmon 2>/dev/null ; then 
 	    echo "User 'netmon' exists." ; 
 	else 
-	    pw useradd -n netmon -g wheel -c 'Network monitor account' -m ;
+	    pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ;
 	fi
 	if pw group show netmon 2>/dev/null ; then 
 	    echo "Group 'netmon' exists." ;  

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4309E05B.000002.18288>