[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] /var/run is a symlink now
From:       Cristian_Rodríguez <crrodriguez () opensuse ! org>
Date:       2014-05-25 18:04:43
Message-ID: 538230BB.2070107 () opensuse ! org
[Download RAW message or body]

El 25/05/14 12:01, Stephan Kulow escribió:
> Am 25.05.2014 18:00, schrieb Stephan Kulow:
> > Am 22.04.2014 13:11, schrieb Stephan Kulow:
> > > Hi,
> > > 
> > > The filesystem package was changed to provide /var/run only as a symlink
> > > to /run instead of doing two mounts of the same file system.
> > > 
> > > This has one (and only one AFAICS) consequence: %ghost entries in
> > > packages need to move to /run - as packaging behind symlinks is
> > > forbidden by policy.
> > > 
> > > In doubt you can easily remove this %ghost entry - their only use
> > > case is reporting something for rpm -qf, which is of doubtful use
> > > as most packages create a directory with their name and leave the
> > > content unreported for -qf.
> > > 
> > rpmlint has an error now (as just sending mails to opensuse-packaging results in \
> > nothing ;( 
> > Sorry for the ascii screenshot, but this is from \
> > https://build.opensuse.org/project/status/openSUSE:Factory: 
> One detail I forgot: rpm has a %_rundir now upstream and in factory. So
> if it's defined, use it - otherwise continue using %_localstatedir/run
> 

One can use:

%{!?_rundir: %global _rundir /run}

for distros that do not have that definition (assuming you only want to
target versions that have /run)




-- 
Cristian
"I don't know the key to success, but the key to failure is trying to
please everybody."
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic