lsbpkgchk: doesn't check users in cpio/rpm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned | ||
lsb |
In Progress
|
Wishlist
|
|||
Mandriva |
In Progress
|
Wishlist
|
Bug Description
I've built a simple test package like this:
$ mkdir -p pkg/opt/
$ echo "#!/bin/sh" > pkg/opt/
$ fakeroot sh -c 'chown -R root:root pkg/; makelsbpkg tst pkg/'
lsbpkgchk didn't show any warnings about wrong user:
$ /opt/lsb/
lsb-etorok.net
LSB version is not specified, using 4.1 by default.
checkRpmIdxPROV
Provide Flag not checked: 8
But the package is not installable on another machine because the cpio
contains the edwin:edwin user, because fakeroot doesn't work with makelsbpkg.
Of course a package could contain some install scripts to create the required
users, but perhaps lsbpkgchk should show a warning when there is no install
script
and non-standard users are used. (and when it does contain an install script it
could produce a FIP so that you can manually check that the users are really
creatred).
I've tried checking the package using the web interface of the application
checker, but it doesn't seem to accept RPMs (although it says it does):
"Error: Could not process the following files:
/home/
tags: | added: lsb pkgchk |
affects: | unitylinux → lsb |
no longer affects: | lsb |
no longer affects: | rosa |
Changed in lsb: | |
importance: | Unknown → Wishlist |
status: | Unknown → In Progress |
description: | updated |
Changed in lsb: | |
milestone: | none → 5.1 |
Changed in mandriva: | |
importance: | Unknown → Wishlist |
status: | Unknown → In Progress |