NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/52905: /etc/security: garbled dkctl args



>Number:         52905
>Category:       bin
>Synopsis:       /etc/security: garbled dkctl args
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 06 21:50:00 +0000 2018
>Originator:     Petar Bogdanovic
>Release:        NetBSD 8.0_BETA
>Organization:
	-
>Environment:
	NetBSD 8.0_BETA amd64
>Description:
	from /etc/security:

	 946  if /sbin/dkctl $i listwedges -qe; then
	 947          /sbin/dkctl $i listwedges \
	 948              > "$work_dir/wedges.$i" 2>/dev/null
	 949  fi

	dkctl does not know -q/-e so I assume there is either an egrep
	missing or line 946 should redirect stdin/stderr to /dev/null
	instead of providing -qe to dkctl.

>How-To-Repeat:
	Run /etc/security, it will always generate "insecurity output".

>Fix:
	See above.



Home | Main Index | Thread Index | Old Index