我在hardened/linux/amd64/selinux
Gentoo amd64 最近的第 3 阶段的个人资料上。
我正在尝试安装 SystemD,并且看到以下内容:
> emerge -aq sys-apps/
The following mask changes are necessary to proceed:
( see "package.unmask" in the portage(5) man page for more details)
# required by sys-apps/systemd (argument)
# /usr/portage/profiles/features/selinux/package.mask
# Jason Zaman<[email protected]> (27 Jun 2015)
# SystemD has no support in the SELinux policy at the moment.
# Please see: https://wiki.gentoo.org/wiki/SELinux/FAQ#Can_I_use_SELinux_with_SystemD.3F
=sys-apps/systemd-228-r1
Would you like to add these changes to your config files? [Yes/No]
我回答是,然后看到:
Autounmask changes successfully written.
!!! All ebuilds that could satisfy ">=sys-apps/dbus-1.6.8-r1:0[systemd]" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/dbus-1.10.6::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask
# Mike Gilbert <[email protected]> (06 Dec 2015)
# Masked for testing.
(dependency required by "sys-apps/systemd-228-r1::gentoo" [ebuild])
(dependency required by "sys-apps/systemd" [argument])
For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
作为参考,我的 /etc/portage/make.conf 如下所示:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="bindist mmx sse sse2 systemd -consolekit"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
ACCEPT_KEYWORDS="~amd64"
如果我访问上面提到的网址,我看到以下内容:
TL;DR:可以将 SystemD 与 SELinux 一起使用,但请参阅错误报告。
我正在努力学习 Gentoo 的诀窍。我在这里做错了什么吗?我只想安装 SystemD,以便可以继续安装。
编辑:很明显,它需要一个仍在测试中的 DBUS 版本,1.10.6。然而,有DBUS包仍然可以满足其要求。它正在要求>=sys-apps/dbus-1.6.8-r1:0[systemd]
并且稳定版中有 1.8.16,它应该满足要求。我已经手动安装了 DBUS 并添加dbus
到我的 USE 标志中,但仍然无法解决。为什么看不到满足DBUS要求?
编辑2:我已经能够走得更远,但事情似乎存在自我冲突: