-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/02/13 09:02 AM, Diego Elio Pettenò wrote: > 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. >
OK - so I've noticed some issues with the way the /run migration has gone down; it seems that a lot of systems do not have a consistent migration and as I don't remember (and my initial look couldn't find) the details for its implementation, I'm hoping someone can chime in and (A) describe the process as it is supposed to work, and (B) point out where it's implemented so that this implementation can be adjusted (or how it's been adjusted can be reviewed) to get everyone's system to a consistent state. Normally i'd just ask WilliamH on irc, but since this is more of a forensic discussion i thought it better to do it here.. So, *my* systems do have /var/run -> /run , which means at some point the /run migration did happen and compatibility symlinks were created. If hwoarang's systems don't have this, there must be an issue somewhere. Now, with /run migration itself -- WilliamH and I discussed this issue where /run (when the initial change was to be made if upgrading to openrc-0.11.x) would always have a symlink to /lib/something/openrc/ in the directory itself (that is, underneath the tmpfs mount). However when I investigated, I discovered that two of my systems had actual dead directories and temp files in /run (and no symlink). Code has been added to /etc/init.d/bootmisc to clean out anything in /run underneath the tmpfs, but it might be pertinent to figure out why this happened in the first place, as it might be related to why the /var/run symlink might not have been created (and relate to other inconsistencies we haven't found yet). -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF0EAREIAAYFAlESZhsACgkQ2ugaI38ACPC9UgD/c0orcDKEHWpuneSI9ZZ3ZuYo QwQZipdv/bryXly1Ek8A+KrameA53aeF4srZywxS+vjCucIkcS3Rm9x3Yq0O700= =x0lk -----END PGP SIGNATURE-----