[Bug 1173166] New: [rpmlint] falsely marks %ghosted directory in /var/run as error
http://bugzilla.opensuse.org/show_bug.cgi?id=1173166 Bug ID: 1173166 Summary: [rpmlint] falsely marks %ghosted directory in /var/run as error Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: All OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: dmueller@suse.com Reporter: eich@suse.com QA Contact: qa-bugs@suse.de Found By: Development Blocker: --- rpmlint throws a temper tantrum on a %ghost'ed directory in /var/run: specfile: ... %ghost %{_localstatedir}/run/%{name} ... rpmlint output: ... [ 47s] munge.x86_64: E: dir-or-file-in-var-run (Badness: 10000) /var/run/munge [ 47s] A file in the package is located in /var/run. It's not permitted for packages [ 47s] to install files in this directory. ... But without the above %ghost-line, it recommends to add one: ... [ 48s] munge.x86_64: W: tmpfile-not-in-filelist /var/run/munge [ 48s] please add the specified file to your %files section as %ghost so users can [ 48s] easily query who created the file, it gets uninstalled on package removal and [ 48s] finally other rpmlint checks see it ... Needless to say, it would be nice if rpmlint would inform the user to use %_rundir for the location of the 'run'-directory as /var/run has been a symlink to /run for quite a while now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173166 http://bugzilla.opensuse.org/show_bug.cgi?id=1173166#c1 Arjen de Korte <suse+build@de-korte.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse+build@de-korte.org OS|openSUSE Factory |All --- Comment #1 from Arjen de Korte <suse+build@de-korte.org> --- I've not seen this behavior before, but I now see this in Tumbleweed too for all packages which create a directory under /run through a tmpfiles.d file. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com