Bug 154639

Summary: seccheck does no more list the device files in /dev/ in its report
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Christian Andretzky <Christian.Andretzky>
Component: SecurityAssignee: Thomas Biege <thomas>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: security-team, suse-beta
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: patchinfos submitted
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Andretzky 2006-03-02 09:47:42 UTC
during the run of seccheck-weekly a list of all available block and char devices is created. Unfortunately in 10.0 this does no longer work.
First - in /usr/lib/secchk/security-weekly.sh the line (No. 134)
"( nice -n 1 find $MNT -type c -or -type b -mount | xargs ls -cdl --time-style=long-iso -- | \"
...

produces a warning message from find because the 'mount' parameter is on a wrong position in the command line.

Second - dependend from the use of the 'mount' parameter in this line the device files located in /dev could not be found because /dev is identified as a mounted filesystem and so never checked.

The only device files found in my installation are:

Complete list of (char/block) devices:
crw------- 	root 	root 	5, 	1 	/lib/klibc/dev/console
crw-rw-rw- 	root 	root 	1, 	3 	/lib/klibc/dev/null
crw-rw-rw- 	root 	root 	1, 	3 	/var/lib/named/dev/null
crw-rw-rw- 	root 	root 	1, 	8 	/var/lib/named/dev/random
Comment 1 Thomas Biege 2006-03-06 12:40:16 UTC
Package seccheck submitted to /work/src/done/10.0/seccheck

Comment 2 Thomas Biege 2006-03-06 12:42:20 UTC
Maintenance-Tracker-3727
Comment 3 Thomas Biege 2006-03-06 12:48:54 UTC
Thanks for the bugreport. Updates will be released soon.


/work/src/done/PATCHINFO/seccheck.patch.box
Comment 4 Anja Stock 2006-03-07 16:20:59 UTC
released