Problem Report Number | 0002 (INT.0002) |
---|---|
Submitter's Classification | Specification Problem (INT) |
State | Resolved |
Resolution | Interpretation (INT) |
Raised | 2002-07-19 00:42 |
Updated | 2002-08-07 08:29 |
Published | 2002-08-07 08:29 |
Certification Program | Linux Standard Base Conformance Release 1.2 |
Test Suite | lsb-runtime IA32 version 1.2.1-1 |
Test Identification | LSB.fhs/linux/dev/dev-tc 23 |
Specification | Linux Standard Base Specification 1.2 |
Location in Spec | Chapter 18 (FHS) |
Problem Summary | Symlinks for device files not allowed |
Problem Text | On some systems (eg Debian PPC32) the following tests fail: /tset/LSB.fhs/linux/dev/dev-tc 23 FAIL /tset/LSB.fhs/linux/dev/dev-tc 24 FAIL These two tests check that the major and minor numbers of /dev/vcs1 .. /dev/cvs12 and /dev/vcsa1 .. /dev/vcsa12 are correct. On the system being tested these are actually symlinks. Eg. lr-xr-xr-x 1 root root 5 Jun 14 16:52 /dev/vcs1 -> vcc/1 The test currently fails because it checks the symlink and not what it points to. In general in the FHS symlinks are ok as substitutes, but in Section 6.1.3 of the FHS it says: -Symbolic links in /dev should not be distributed with Linux systems except as provided in the Linux Allocated Devices document.- though taking the definition of -should- from the LSB specification: -For an implementation that conforms to this document, describes a feature or behavior that is recommended but not mandatory.- As an aside the future direction of the FHS appears to be to remove this statement from the normative part of the document. It appears that symlinks in /dev should be allowed (this will be a more common situation with the use of devfs). |
Test Output | 200|520 23 22:54:15|TP Start 520|520 23 27498 1 1|Reference 6.1.3-23(A) 520|520 23 27498 1 2|The devices /dev/vcs1 ... /dev/vsc12 exist with 520|520 23 27498 1 3|major number 7 and minor number 1 .. 12 respectively 520|520 23 27498 1 4|exit code 1 returned, expected 0 520|520 23 27498 1 5|exit code 1 returned, expected 0 520|520 23 27498 1 6|exit code 1 returned, expected 0 520|520 23 27498 1 7|exit code 1 returned, expected 0 520|520 23 27498 1 8|exit code 1 returned, expected 0 220|520 23 1 22:54:15|FAIL 410|520 23 1 22:54:15|IC End |
Review Type | SA Review |
---|---|
Start Date | 2002-07-19 00:42 |
Last Updated | 2002-08-06 06:37 |
Completed | 2002-08-06 06:37 |
Status | Complete |
Review Resolution | Interpretation (INT) |
Review Conclusion | An interpretation is granted. A future version of the specification is expected to define more precisely the requirements regarding devices. For this version of the specification symbolic linksto devices are permitted. |
Copyright 2005, The Free Standards Group, All Rights Reserved