Gentoo Archives: gentoo-dev

From: Ben Beuchler <insyte@×××××.org>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions
Date: Mon, 03 Sep 2001 21:27:22
Message-Id: 20010903222707.C3501@emt-p.org
In Reply to: Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions by Daniel Robbins
1 On Mon, Sep 03, 2001 at 08:56:48PM -0600, Daniel Robbins wrote:
2
3 > On Mon, Sep 03, 2001 at 09:51:38PM -0500, Ben Beuchler wrote:
4 >
5 > > I'm definitely using 1.0_rc6. I don't recall saying differently, but perhaps
6 > > we miscommunicated. /etc/make.profile is symlinked to
7 > > /usr/portage/profiles/insyte-1.0_rc6
8 >
9 > OK; I may have thought you were someone else :) Do an emerge rsync, and merge
10 > openssh-2.9_p2-r2, and you shouldn't have problems except having rc-update not
11 > being able to run. This is normal.
12
13 I did an emerge rsync earlier today prior to mergeing openssh-2.9_p2-r2, right
14 after you updated it. But I just did another one for good measure. Anyway, I
15 thought you had told me earlier to do openssh-2.0_p2 (without the r2) but that
16 may have been my spongy brain cells. So I did an emerge on openssh-2.9_p2-r2,
17 which gave me this:
18
19 ================
20 mazer openssh # emerge openssh-2.9_p2-r2.ebuild
21 Calculating dependencies.
22
23 !!! Portage had a problem processing this file:
24 !!! /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild
25
26 /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild:
27 line 57: syntax error near unexpected token `}'
28 /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild:
29 line 57: `}'
30
31 !!! aborting.
32
33 !!! emerge aborting.
34 ================
35
36 Just for the hell of it, I also did an emerge on 'openssh-2.0_p2', which
37 failed the same way it did earlier, which gave me this:
38
39 ================
40 >>> original instance of package unmerged safely.
41 >>> /usr/sbin/ebuild.sh: /etc/rc.d/config/functions: No such file or directory
42 >>> /usr/sbin/ebuild.sh: einfo: command not found
43 >>> /usr/sbin/ebuild.sh: //usr/sbin/rc-update: No such file or directory
44 >>> !!! pkg_postinst() script failed; exiting.
45 >>>
46 ================
47
48 And, of course, the init scripts don't actually work as
49 /etc/rc.d/config/functions doesn't exist. Nor does /usr/sbin/rc-update, but I
50 guess that doesn't matter. Right?
51
52 What is the current status with init scripts? I understand they're in
53 considerable flux these days. For example, which location is correct for the
54 'functions' file? /etc/rc.d/config/functions or /etc/init.d/functions.sh?
55
56 Thanks,
57 Ben
58
59 --
60 Ben Beuchler There is no spoon.
61 insyte@×××××.org -- The Matrix

Replies

Subject Author
Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions Daniel Robbins <drobbins@g.o>