public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Mysql
@ 2001-10-13 15:47 Duckx
  2001-10-15 15:24 ` Clay Mitchell
  0 siblings, 1 reply; 3+ messages in thread
From: Duckx @ 2001-10-13 15:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

Hi,

I have just emerged mysql, and I can't lauch it :(
It seems the init script is put in /etc/rc.d/init.d. Is that correct ??
I thought that all initscript should yet be put in /etc/init.d. If yes
we need to create one init script ... some more work :)

Duckx

Ps : sorry to have sent this message on gentoo-ebuild list




[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [gentoo-dev] Mysql
  2001-10-13 15:47 [gentoo-dev] Mysql Duckx
@ 2001-10-15 15:24 ` Clay Mitchell
  2001-10-15 15:47   ` Chad Huneycutt
  0 siblings, 1 reply; 3+ messages in thread
From: Clay Mitchell @ 2001-10-15 15:24 UTC (permalink / raw
  To: gentoo-dev

I just had this problem too. Also with samba... I pointed the functions
link to the correct file, but it's also requesting a doservice function
which breaks. Any ideas on how we can get around this?

-Clay

-----Original Message-----
From: gentoo-dev-admin@cvs.gentoo.org
[mailto:gentoo-dev-admin@cvs.gentoo.org] On Behalf Of Duckx
Sent: Saturday, October 13, 2001 5:52 PM
To: gentoo-dev@cvs.gentoo.org
Subject: [gentoo-dev] Mysql


Hi,

I have just emerged mysql, and I can't lauch it :(
It seems the init script is put in /etc/rc.d/init.d. Is that correct ??
I thought that all initscript should yet be put in /etc/init.d. If yes
we need to create one init script ... some more work :)

Duckx

Ps : sorry to have sent this message on gentoo-ebuild list








^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Mysql
  2001-10-15 15:24 ` Clay Mitchell
@ 2001-10-15 15:47   ` Chad Huneycutt
  0 siblings, 0 replies; 3+ messages in thread
From: Chad Huneycutt @ 2001-10-15 15:47 UTC (permalink / raw
  To: gentoo-dev

8<-- snip init scripts problem -- 8<

Clay Mitchell wrote:

> I just had this problem too. Also with samba... I pointed the functions
> link to the correct file, but it's also requesting a doservice function
> which breaks. Any ideas on how we can get around this?
> 
> -Clay

gentoo-rc6 needs different init scripts than rc5.  woodchip has updated 
some of these, but there are still a few hanging around.

A couple of notes on fixing them, until they are fixed in Portage

First, change the magic sequence at the top of the file (#!/sbin/...) to
#!/sbin/runscript

Then, get rid of any references to stuff in /etc/rc.d  This directory 
should no longer exist (feel free to rm -r it).  In general there should 
be no need to source external files.  Some scripts set some variables 
outside functions, and it is probably safe to leave such lines.  Then 
delete "doservice ${@}" if it is at the bottom of the script.

Finally add a depend function, if it is needed.  For instance, sshd 
works best if the network is started, so it has
depend() {
     need net
}

For the most part, the start,stop,restart functions can be left as-is.


Woodchip, I know you probably hate this, but it is a quick and dirty way 
to get those init scripts up and going in a pinch.

-- 
Chad Huneycutt
Ph.D. Student
http://www.cc.gatech.edu/~chadh




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-15 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-13 15:47 [gentoo-dev] Mysql Duckx
2001-10-15 15:24 ` Clay Mitchell
2001-10-15 15:47   ` Chad Huneycutt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox