PR0013.html

LSB Problem Report

Problem Report Number 0013 (REJ.0002)
Submitter's Classification Test Suite Problem (TSD)
State Resolved
Resolution Rejected (REJ)
Raised 2002-08-16 06:45
Updated 2002-08-27 16:01
Published 2002-08-27 16:01
Certification Program Linux Standard Base Conformance Release 1.2
Test Suite lsb-runtime IA32 version 1.2.1-1
Test Identification n/a
Problem Summary test suite .rpm not LSB compliant
Problem Text There are a number of problems with
lsb-runtime-test-1.2.1-1.i386.rpm that stop it from working
cleanly on Debian systems. In particular:

* it's installed into /home rather than /opt
* on Red Hat systems, afaict, installing into /home makes
all the subdirectories created setgid, whether they were
setgid in the rpm or not. This doesn't happen on Debian,
and a number of the tests assume that the directories
they're working in are setgid. The rpm should
specifically have all directories setgid.
* the rpm doesn't Depend: on lsb, thus isn't identified
as an LSB application, and the postinst isn't
automatically run
* the rpm includes files owned by non-standard users,
rather than creating the users in postinst and
chown/chgrping as necessary.
Test Output Setgid failures include:

ANSI.os/streamio/fopen/T.fopen-2 FAIL
520|149 2 00010070 2 1|fopen() did not set group id
correctly when umask was 0
ANSI.os/streamio/freopen/T.freopen-2 FAIL
POSIX.os/dataform/cpio/T.cpio-25 FAIL
POSIX.os/dataform/tar/T.tar-32 FAIL
POSIX.os/files/creat/T.creat-8 FAIL
POSIX.os/files/mkdir/T.mkdir-5 FAIL
POSIX.os/files/mkfifo/T.mkfifo-5 FAIL
POSIX.os/files/open/T.open-10 FAIL

Review Information

Review Type TSMA Review
Start Date 2002-08-16 06:46
Last Updated 2002-08-20 09:28
Completed 2002-08-20 09:28
Status Complete
Review Recommendation Rejected (REJ)
Review Response It is recommended that this request to waive
the listed tests be rejected.

The problems encountered are due to alien not
translating the rpm correctly into a deb package.
Installation on a debian system using the debian rpm binary
results in a correct installation. The rpm converted to a
normal cpio file does contain the correct user and setgid
permissions on directories. It appears that alien does not
correctly preserve group write or setgid permissions on
directories (those on files are kept correctly).

It is now reported that a newer version of
alien version 8.17 is available that works correctly.

The issue regarding the lsb dependency is a known issue
and was intentional for the LSB certification launch.We plan
in a future release to add this to the certification
test suite, however this is not an issue that prevents
certification, since this requirement is covered
in the conformance statement.

Review Type SA Review
Start Date 2002-08-20 08:28
Last Updated 2002-08-21 17:22
Completed 2002-08-21 17:22
Status Complete
Review Resolution Rejected (REJ)
Review Conclusion Concurr with REJ. Request that new issues be filed after
using the new Alien.

 

Copyright 2005, The Free Standards Group, All Rights Reserved