On 11/8/06, Roy Marples <[EMAIL PROTECTED]> wrote:
On Monday 06 November 2006 16:53, Roy Marples wrote:
> However, one issue is a concern. All baselayouts defined svcdir
> in /etc/conf.d/rc which defines where we hold the state information of the
> running services. This defaulted to /var/lib/init.d - which is bad as /var
> could be on a different partition.
>
> In 1.13, we've removed the variable from /etc/conf.d/rc and it's now forced
> to /lib/rcscripts/init.d which is safe as /lib is always on the same
> partition as /. The 1.13 ebuild will copy across existing state data, this
> is not the problem. However, downgrading back to 1.12 is a problem as
> services may have been stop, started etc in the middle.
>
> One solution is to ensure that we only hold one copy of the state data and
> move it to the new location. However, this does require altering the stable
> ebuild as well.
This is still an issue.
What do people think - hack the 1.12 ebuilds and try and get an
upgrade/downgrade path or just slap a large warning on the ebuild?
How about as part of the upgrade, create a symlink from
/var/lib/init.d to /lib/rcscripts/init.d?
-Richard
--
gentoo-dev@gentoo.org mailing list