Fer*_*ner 11
是的,它会默认运行。从 wheezy 到 Jessie 的 dist 升级将切换为systemd
用作 init 系统。在杰西发行说明致力于全断面这个问题,也给人一种关于如何保持与您当前的init系统的建议:
为防止
systemd-sysv
在升级过程中被安装,您可以创建一个名为的文件/etc/apt/preferences.d/local-pin-init
,其内容如下:Run Code Online (Sandbox Code Playgroud)Package: systemd-sysv Pin: release o=Debian Pin-Priority: -1
它还提到“在非默认初始化系统下,某些软件包可能会降低行为或可能缺乏功能。”
Jessie 将systemd
默认安装,即使是从 Wheezy 升级的也是如此。安装后,您可以按照如何从 Debian jessie/sid 安装中删除 systemd 中的说明禁用它
该页面上有这些命令的解释,但要点如下:
apt-get install sysvinit-core sysvinit sysvinit-utils
reboot
# BE AWARE that the following command removes packages that depend on systemd itself or things like libpam-systemd!
apt-get remove --purge --auto-remove systemd
# These prevent systemd in the future. Unfortunately also including systemd-shim
echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferences.d/systemd
echo -e '\n\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
echo -e '\nPackage: systemd:amd64\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
echo -e '\nPackage: systemd:i386\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2570 次 |
最近记录: |