Re: On init in Debian
Timo Juhani Lindfors, le Fri 23 Mar 2012 14:15:00 +0200, a écrit :
> Samuel Thibault <sthibault@debian.org> writes:
> > the particular script that poses problem. With a deamon like systemd,
> > it's rather all-or-nothing.
>
> This gives me the impression that systemd would be a single monolithic
> binary but isn't vconsole-setup.c that you mention actually part of a
> small helper binary at /lib/systemd/systemd-vconsole-setup?
You didn't quote what I said just after that:
>> Of course, systemd can probably be made to do such kind of isolation
>> of the start bits, to isolate the problem and work on it. That's
>> still more involved to work on than when dealing with mere shell
>> scripts.
And indeed, vconsole-setup.c has to be recompiled to fix it.
Of course, console-setup is usually not so critical, but it's just an
example.
> And if you suspect that an upgrade
> broke something you probably can get an older version of this binary
> with debsnap and then
>
> systemctl restart systemd-vconsole-setup.service
>
> to test it.
That's what I meant by "isolation of the start bits". It's still more
involved to deal with the C code than with a shell script. You need to
find out of to rebuild it, for a start...
Samuel
Reply to: