Bugzilla – Bug 280507
file /var/log/ntp is not owned by any package
Last modified: 2007-06-05 08:55:23 UTC
The logfile should be owned by the package xntp as the scripts of this package create it. Using something like %ghost %config(noreplace) /var/log/ntp in the %files list should aviod verify-errors from RPM or security scanners.
mbuild report an error if I insert this line: /work/built/mbuild/boris-mskibbe-1/ppc/Logfile.xntp.spec [...] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Obsoletes: xntpdoc Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xntp-4.2.4-build RPM build errors: File not found: /var/tmp/xntp-4.2.4-build/var/log/ntp [...] an idea how to avoid this error? I see an entry in the changlog. looks like the ghost option is bad. ------------------------------------------------------------------- Tue Sep 9 18:09:20 CEST 2003 - pthomas@suse.de - Don't include files possibly created at runtime, not even as ghost.
See Bug #280493 Comment #0 - you have to touch the file in %install bevore you can use it in %files. ...and yes: sometimes even S.u.S.E. packagers are wrong ;-)
:-) ok - i thought ghost do some magic and i do not need to touch the file.
package checked into stable