ports/186895: shells/pdksh install breaks /etc/shells
Rodrigo Osorio
rodrigo at FreeBSD.org
Wed Feb 19 15:00:01 UTC 2014
>Number: 186895
>Category: ports
>Synopsis: shells/pdksh install breaks /etc/shells
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 19 15:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Rodrigo Osorio
>Release:
>Organization:
>Environment:
FreeBSD q 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 21:15:32 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Install script add invalid lines in the /etc/shells file
% cat /etc/shells
/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/ksh
/usr/local/man/man1/ksh.1.gz
Reported by : Scott Bennett
>How-To-Repeat:
>Fix:
Patch attached
Patch attached with submission follows:
Index: pkg-plist
===================================================================
--- pkg-plist (revision 345077)
+++ pkg-plist (working copy)
@@ -1,4 +1,4 @@
+man/man1/ksh.1.gz
bin/ksh
-man/man1/ksh.1.gz
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list