Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Warning about old init scripts when updating dev-db/mysql-init-scripts-2.0_pre1-r2
Date: Sun, 05 Feb 2012 20:09:06
Message-Id: 20120205220642.2b43e7e7@khamul.example.com
In Reply to: Re: [gentoo-user] Warning about old init scripts when updating dev-db/mysql-init-scripts-2.0_pre1-r2 by Tanstaafl
1 On Sun, 05 Feb 2012 12:19:33 -0500
2 Tanstaafl <tanstaafl@×××××××××××.org> wrote:
3
4 > On 2012-02-05 12:08 PM, Michael Mol <mikemol@×××××.com> wrote:
5 > > On Sun, Feb 5, 2012 at 12:00 PM,
6 > > Tanstaafl<tanstaafl@×××××××××××.org> wrote:
7 > >> In the emerge post install I get:
8 > >>
9 > >> WARN: postinst
10 > >> Old /etc/init.d/mysql and /etc/conf.d/mysql still present!
11 > >> Update both of those files to the new versions!
12 > >>
13 > >> But it doesn't say anything about *how* to update them...
14 > >>
15 > >> Is this documented anywhere? Or is this just evidence that I'm
16 > >> clueless (meaning, I should 'just know' what needs to be done)?
17 >
18 > > Probably etc-update.
19 >
20 > Nope, ran etc-update and it didn't fix it...
21 >
22
23 You have some other threads going on this and it looks
24 like you used etc-update or equivalent correctly. In other words, it
25 should all just work for you. Equally obviously, it doesn't.
26
27 In your shoes what I would be doing now is backup your entire mysql
28 install (everything listed in "equery files mysql"), delete the package
29 (emerge -C) and remerge mysql.
30
31 Then check if starting and stopping works correctly. I suspect you'll
32 find it will. Now you just need to diff these new files with your
33 backups and find differences.
34
35 Yes, this is sort of the long way round but you're not having much luck
36 asking "anyone seen this before?", so now it's time to bring out the
37 big guns
38
39 --
40 Alan McKinnnon
41 alan.mckinnon@×××××.com

Replies