<div dir="ltr"><div dir="ltr">On Wed, Apr 3, 2019 at 7:18 AM Emmanuel Bourg <<a href="mailto:ebourg@apache.org">ebourg@apache.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: systemd<br>
Version: 241-1<br>
Severity: normal<br>
<br>
Hi,<br>
<br>
The description of the systemd package states that installing it will not<br>
switch the init system, unfortunately that's what happens, unless systemd<br>
is installed with --no-install-recommends. It looks like a recommended<br>
dependency (libpam-systemd?) triggers the removal of sysvinit-core. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I haven't been able to track exactly why it happens in testing with the<br>
version 241-1. With the version 241-2 in sid I guess the removal of<br>
systemd-shim from the alternative dependencies of libpam-systemd [1]<br>
last week doesn't help.<br>
<br>
<br>
root@sysvinit:~# ps aux<br>
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND<br>
root 1 0.0 0.0 7900 1980 pts/1 Ss+ 09:29 0:00 init [2]<br>
root 884 0.0 0.1 156188 2412 ? Ssl 09:29 0:00 /usr/sbin/rsyslogd<br>
root 912 0.0 0.0 5508 1968 ? Ss 09:29 0:00 /usr/sbin/cron<br>
root 940 0.0 0.1 4000 3300 ? Ss 09:29 0:00 /bin/bash<br>
root 1237 0.0 0.0 2420 1480 pts/0 Ss+ 09:31 0:00 /sbin/getty --noclear 38400 tty1<br>
root 1238 0.0 0.0 2420 1556 pts/1 Ss+ 09:31 0:00 /sbin/getty --noclear 38400 tty2<br>
root 2269 0.0 0.1 7640 2724 ? R+ 09:53 0:00 ps aux<br>
<br>
root@sysvinit:~# ls -l /sbin/init<br>
-rwxr-xr-x 1 root root 53016 Feb 14 20:33 /sbin/init<br>
<br>
root@sysvinit:~# apt install systemd<br>
Reading package lists... Done<br>
Building dependency tree<br>
Reading state information... Done<br>
The following packages were automatically installed and are no longer required:<br>
initscripts insserv startpar sysv-rc<br>
Use 'apt autoremove' to remove them.<br>
The following additional packages will be installed:<br>
dbus libargon2-1 libcryptsetup12 libdbus-1-3 libexpat1 libjson-c3 libnss-systemd libpam-systemd systemd-sysv<br>
Suggested packages:<br>
default-dbus-session-bus | dbus-session-bus systemd-container policykit-1<br>
The following packages will be REMOVED:<br>
sysvinit-core<br>
The following NEW packages will be installed:<br>
dbus libargon2-1 libcryptsetup12 libdbus-1-3 libexpat1 libjson-c3 libnss-systemd libpam-systemd systemd systemd-sysv<br>
0 upgraded, 10 newly installed, 1 to remove and 0 not upgraded.<br>
Need to get 4786 kB of archives.<br>
After this operation, 16.7 MB of additional disk space will be used.<br>
Do you want to continue? [Y/n] n<br>
Abort.<br></blockquote><div><br></div><div>Looks like sysvinit-core needs XB-Important: yes to prevent such easy removal.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>