1 |
On Mon, Aug 31, 2015 at 02:40:02PM +0200, Alan McKinnon wrote: |
2 |
> On 31/08/2015 13:49, covici@××××××××××.com wrote: |
3 |
> >> A clue is in the ebuilds for systemd: |
4 |
> >> > |
5 |
> >> > sysv-utils? ( |
6 |
> >> > !sys-apps/systemd-sysv-utils |
7 |
> >> > !sys-apps/sysvinit ) |
8 |
> >> > |
9 |
> >> > That's a hard blocker, no way round it. It's in all the systemd ebuilds |
10 |
> >> > for the current unstable versions. |
11 |
> >> > |
12 |
> >> > Do you have USE="sysv-utils" set for sysvinit? |
13 |
> >> > |
14 |
> >> > If so, to have both sysvinit and systemd, you will have to disable that |
15 |
> >> > USE flag and see what comes next. |
16 |
> > I put that use flag in there because I thought it would allow systemd to |
17 |
> > generate a service from a script in /etc/init.d, but I will see what |
18 |
> > happens when I remove that flag or maybe if there is another way to |
19 |
> > accomplish that? |
20 |
> > Well, that did it! It still is downgrading systemd, but that's not too |
21 |
> > bad, thanks guys. |
22 |
> |
23 |
> $ euses -sf sysv-utils |
24 |
> sys-apps/systemd:sysv-utils - Install sysvinit compatibility symlinks |
25 |
> and manpages for init, telinit, halt, poweroff, reboot, runlevel, and |
26 |
> shutdown |
27 |
> |
28 |
> |
29 |
> That description is quite vague, and could mean many things. I'm no |
30 |
> expert on systemd, but I would imagine that it already has it's own |
31 |
> scripts to deal with those listed functions. I wonder what the use of |
32 |
> the flag is then? Perhaps an old compatibility layer than is not needed now? |
33 |
|
34 |
This means that it installs /bin/poweroff, /bin/reboot, etc. and the |
35 |
relevant manpages. I'm pretty sure that's all it does. |
36 |
|
37 |
It is not needed at all, as long as you don't mind typing `systemctl |
38 |
poweroff' instead of `poweroff', and so on and so forth. I guess the |
39 |
/bin/init symlink would be helpful so that you don't have to add |
40 |
`init=/usr/lib/systemd/systemd' to the kernel commandline, but whatever. |
41 |
|
42 |
Alec |