[Mageia-dev] [343016] provide need /var/run/ nscd in nscd package otherwise nscd failed to start

Thomas Backlund tmb at mageia.org
Tue Jan 8 19:14:39 CET 2013


root-odJJhXpcy38dnm+yROfE0A at public.gmane.org skrev 8.1.2013 20:06:
> Revision
>     343016
> Author
>     nanardon
> Date
>     2013-01-08 19:06:55 +0100 (Tue, 08 Jan 2013)
>
>
>       Log Message
>
> provide need /var/run/nscd in nscd package otherwise nscd failed to start
>
>
>       Modified Paths
>
>   * cauldron/glibc/current/SPECS/glibc.spec
>     <#cauldronglibccurrentSPECSglibcspec>
>
> Modified: cauldron/glibc/current/SPECS/glibc.spec
> ===================================================================
> --- cauldron/glibc/current/SPECS/glibc.spec	2013-01-08 17:58:03 UTC (rev 343015)
> +++ cauldron/glibc/current/SPECS/glibc.spec	2013-01-08 18:06:55 UTC (rev 343016)
> @@ -1041,6 +1041,7 @@
>   install -m 644 %{SOURCE7} %{buildroot}%{_unitdir}/nscd.socket
>   mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d/
>   install -m 644 %{SOURCE9} %{buildroot}%{_prefix}/lib/tmpfiles.d/nscd.conf
> +mkdir -p %{buildroot}%{_var}/run/nscd
>   %endif
>
>   # These man pages require special attention
> @@ -1673,6 +1674,7 @@
>   %{_unitdir}/nscd.service
>   %{_unitdir}/nscd.socket
>   %{_prefix}/lib/tmpfiles.d/nscd.conf
> +%{_var}/run/nscd
>   %endif


Nope, wrong fix...

if there is something wrong, it must be fixed in SOURCE9 (nscd.conf) as 
/run (to wich  /var/run point at) is a tmpfs

--
Thomas




More information about the Mageia-dev mailing list