[Bug 710281] New: wpa_supplicant: fails rpmlint check non-ghost-in-var-run
https://bugzilla.novell.com/show_bug.cgi?id=710281 https://bugzilla.novell.com/show_bug.cgi?id=710281#c0 Summary: wpa_supplicant: fails rpmlint check non-ghost-in-var-run Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: jw@novell.com ReportedBy: lnussel@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- wpa_supplicant fails the rpmlint check non-ghost-in-var-run which must be fixed for 12.1 as /var/run is on tmpfs now. http://en.opensuse.org/openSUSE:Packaging_checks#non-ghost-in-var-run https://features.opensuse.org/303793 The check will be made fatal for the next mass rebuild, therefore it's necessary to fix your package ASAP. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c1
--- Comment #1 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c2
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c3
--- Comment #3 from Vladimir Botka
for 12.1 as /var/run is on tmpfs now.
I've added [1] in the spec file and the package [2] builds again in openSUSE_Factory. But, could you help me with the packaging ? IMHO, the %ghost directive shall apply only for tmpfs. How this condition could be coded in the spec-file ? [1] %dir %{_localstatedir}/run/%{name} %ghost %{_localstatedir}/run/%{name} [2] home:vbotka:branches:hardware/wpa_supplicant -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c4
--- Comment #4 from Vladimir Botka
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c5
--- Comment #5 from Ludwig Nussel
(In reply to comment #0)
for 12.1 as /var/run is on tmpfs now.
I've added [1] in the spec file and the package [2] builds again in openSUSE_Factory. But, could you help me with the packaging ? IMHO, the %ghost directive shall apply only for tmpfs. How this condition could be coded in the spec-file ?
You mean for older distros? The %ghost will work just fine there as well.
[1] %dir %{_localstatedir}/run/%{name} %ghost %{_localstatedir}/run/%{name}
You only actually need one line: %ghost %dir %{_localstatedir}/run/%{name} Or with attributes: %ghost %attr (755, root, root) %dir %{_localstatedir}/run/%{name} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710281
https://bugzilla.novell.com/show_bug.cgi?id=710281#c6
Vladimir Botka
You mean for older distros? The %ghost will work just fine there as well.
Done. SRID 80378 to hardware project. Just for the record, the %ghost directive apply to versions later then 11.4 [1]. [1] %if 0%{?suse_version} > 1140 %ghost %{_localstatedir}/run/%{name} %endif -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com