Re: [gentoo-dev] /var/run or /run for init scripts?
130206 Diego Elio Pettenò wrote: > On 06/02/2013 14:58, Markos Chandras wrote: >> Would it made sense to symlink /var/run -> /run >> so we don't end up with stable entries in /var/run directory? > I would say that we should have that symlink > and I told WilliamH so before. FWIW I have : root:505 ~> ls -l /var/run lrwxrwxrwx 1 root root 4 Jun 20 2012 /var/run -> /run root:506 ~> equery b /var/run * Searching for /var/run ... sys-apps/dbus-1.6.8 (/var/run) -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-dev] /var/run or /run for init scripts?
On 06/02/2013 14:58, Markos Chandras wrote: > Thanks. Would it made sense to symlink /var/run -> /run so we don't > end up with stable entries in /var/run directory? Some of my init > scripts appear to reported as "crashed" whereas the process is running > just fine. I suspect this is because a stale entry is in /var/run > directory (or /run I am not sure) I would say that we should have that symlink, and I told WilliamH so before. I think he was going to ask Mike (vapier) about adding the symlink to baselayout itself, so that it doesn't get reaped away. I agree that the symlink should stay there for compatibility at least, which should also answer Ian's question. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/
Re: [gentoo-dev] /var/run or /run for init scripts?
On 6 February 2013 13:55, Diego Elio Pettenò wrote: > On 06/02/2013 14:52, Markos Chandras wrote: >> I see a lot of inconsistencies in the init scripts. Some of them are >> using /var/run, others use /run. I just checked my box, and there is >> no /var/run although some init scripts are trying to use it. Which one >> is the correct one and why do we have both? The following guide only >> mentions /var/run > > We should be migrating to /run at this point. > > http://goo.gl/hrWcN > > -- > Diego Elio Pettenò — Flameeyes > flamee...@flameeyes.eu — http://blog.flameeyes.eu/ > Thanks. Would it made sense to symlink /var/run -> /run so we don't end up with stable entries in /var/run directory? Some of my init scripts appear to reported as "crashed" whereas the process is running just fine. I suspect this is because a stale entry is in /var/run directory (or /run I am not sure) -- Regards, Markos Chandras - Gentoo Linux Developer http://dev.gentoo.org/~hwoarang
Re: [gentoo-dev] /var/run or /run for init scripts?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/02/13 08:55 AM, Diego Elio Pettenò wrote: > On 06/02/2013 14:52, Markos Chandras wrote: >> I see a lot of inconsistencies in the init scripts. Some of them >> are using /var/run, others use /run. I just checked my box, and >> there is no /var/run although some init scripts are trying to use >> it. Which one is the correct one and why do we have both? The >> following guide only mentions /var/run > > We should be migrating to /run at this point. > > http://goo.gl/hrWcN > I had thought /var/run was supposed to be compatibility a symlink to /run now ? Is that the case or should /var/run be eliminated from systems? (I realize this is a tangent to the original post) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlESYUIACgkQ2ugaI38ACPBUyQEArLfQfeUnW510aizYrjlHcGRl fjHoZOnHdC10O2Sam6UBALOedX+jKZb5wig4xI/l6lEtFOUVOLNcPU69kk3cpEsU =aueY -END PGP SIGNATURE-
Re: [gentoo-dev] /var/run or /run for init scripts?
On 06/02/2013 14:52, Markos Chandras wrote: > I see a lot of inconsistencies in the init scripts. Some of them are > using /var/run, others use /run. I just checked my box, and there is > no /var/run although some init scripts are trying to use it. Which one > is the correct one and why do we have both? The following guide only > mentions /var/run We should be migrating to /run at this point. http://goo.gl/hrWcN -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/
[gentoo-dev] /var/run or /run for init scripts?
Hi all, I see a lot of inconsistencies in the init scripts. Some of them are using /var/run, others use /run. I just checked my box, and there is no /var/run although some init scripts are trying to use it. Which one is the correct one and why do we have both? The following guide only mentions /var/run http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 -- Regards, Markos Chandras - Gentoo Linux Developer http://dev.gentoo.org/~hwoarang