Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] systemd profiles
Date: Wed, 03 Sep 2014 18:19:08
Message-Id: 54075B96.8000908@gentoo.org
In Reply to: Re: [gentoo-dev] systemd profiles by William Hubbs
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 03/09/14 02:11 PM, William Hubbs wrote:
5 > On Sat, Aug 30, 2014 at 09:45:23AM -0400, Rich Freeman wrote:
6 >> A possible solution is to remove it in the next version of
7 >> openrc, as it is deprecated already. Another solution is to ask
8 >> the Council to let somebody apply patches if the maintainer is
9 >> unresponsive, set a deadline, etc.
10 >
11 > The problem is we have two different API's. Gentoo's API for tools
12 > that do not involve booting, and OpenRC's API. In the past, they
13 > were identical, but that isn't the case now.
14 >
15 > That is why I haven't removed /etc/init.d/functions.sh. That is
16 > actually part of OpenRC's public API now.
17 >
18 > I can deprecate it. To do so, I would need to have it print out a
19 > deprecation warning that would be wrong for Gentoo in the next
20 > release.
21 >
22 > That warning would have to tell users to source
23 > /lib*/rc/sh/functions.sh.
24 >
25 > Thoughts?
26 >
27 > William
28 >
29
30
31 I thought the whole point of the gentoo-functions package was for it
32 to take over the /etc/init.d/functions.sh shortcut??
33
34 As far as I am aware (and i believe vapier will confirm),
35 /etc/init.d/functions.sh is and shall always remain part of the Gentoo
36 API, despite /etc/init.d/ now being the realm of openrc proper. This
37 was part of the discussion over a year ago when the decision was made
38 to implement the pure-bash gentoo-functions.sh replacement in the
39 first place, and why that symlink didn't disappear back then.
40
41
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2
44
45 iF0EAREIAAYFAlQHW5YACgkQ2ugaI38ACPDligD9HBwLjLpgS/h9KQZzlBPCAENK
46 6K/X5Mnvi64fYINtebQA90Hu3GDJUHhOTG3it4ThoHphXdCd1Y3/TmutSnbDYDs=
47 =RJUs
48 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] systemd profiles William Hubbs <williamh@g.o>