Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Systemd obwohl OpenRC System?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Dec 21, 2016 10:21 am    Post subject: [solved]Systemd obwohl OpenRC System? Reply with quote

Hallo an alle,

irgendwie verstehe ich das hier nicht:
Code:

raspi ~ # emerge -av --deep --newuse --update --with-bdeps=y world

These are the packages that would be merged, in order:

Calculating dependencies /^[[3... done!
[ebuild  N     ] app-arch/lz4-0_p131:0/r131::gentoo  USE="{-test} -valgrind" 131 KiB
[ebuild  NS    ] app-text/docbook-xml-dtd-4.4-r2:4.4::gentoo [4.1.2-r6:4.1.2::gentoo, 4.2-r2:4.2::gentoo, 4.5-r1:4.5::gentoo] 0 KiB
[ebuild  N     ] sys-apps/systemd-226-r2:0/2::gentoo  USE="acl kdbus kmod lz4 pam seccomp ssl (-apparmor) (-audit) -build -cryptsetup -curl -elfutils -gcrypt (-gnuefi) -http -idn -importd -lzma -nat -policykit -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" 3.823 KiB
[ebuild  N     ] sys-apps/dbus-1.10.12::gentoo  USE="systemd -X -debug -doc (-selinux) -static-libs {-test} -user-session" 0 KiB
[ebuild  N     ] sys-apps/gentoo-systemd-integration-6::gentoo  63 KiB
[ebuild  N    ~] virtual/tmpfiles-0::gentoo  0 KiB
[ebuild     U ~] sys-apps/openrc-0.23::gentoo [0.22.4::gentoo] USE="ncurses netifrc pam unicode (-audit) -debug -newnet (-prefix) (-selinux) -static-libs -tools" 206 KiB
[blocks B      ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-226-r2)
[blocks B      ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-225-r1)
[blocks B      ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/gentoo-systemd-integration-6)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-225-r1)

Total: 7 packages (1 upgrade, 5 new, 1 in new slot), Size of downloads: 4.222 KiB
Conflict: 4 blocks (4 unsatisfied)


Wieso zum Geier will mein System nun systemd installieren. Den will ich nicht. Mein OpenRC System auf dem Raspberry Pi läuft nämlich super.

Vielleicht hat ja jemand eine Idee, woran es liegen könnte oder haben die Entwickler wieder Langeweile gehabt ;)

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB


Last edited by bbgermany on Wed Dec 28, 2016 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1924
Location: Schweiz

PostPosted: Wed Dec 21, 2016 1:13 pm    Post subject: Reply with quote

In der Liste von dir soll dbus mit aktiviertem systemd USE-Flag gebaut werden.
Woher das Flag kommt kann ich dir zwar nicht sagen aber wenn du es nicht selbst gesetzt hast wird es wohl vom gewählten Profil kommen.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW


Last edited by schmidicom on Wed Dec 21, 2016 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
soundrolf
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2016
Posts: 122
Location: Cologne / Germany

PostPosted: Wed Dec 21, 2016 6:44 pm    Post subject: Re:Systemd obwohl OpenRC System? Reply with quote

Mal eine Dumme Frage. Hast du in deiner make.conf unter USE="-systemd" stehen.

LG
Back to top
View user's profile Send private message
misterjack
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1655

PostPosted: Wed Dec 21, 2016 6:52 pm    Post subject: Reply with quote

schmidicom wrote:
Woher das Flag kommt [...]

systemd-232.ebuild wrote:

PDEPEND=">=sys-apps/dbus-1.8.8:0[systemd]
;)

@bbgermany: die Frage nach dem "wieso will Portage $Paket installieren" beantwortet dir:

man emerge wrote:
--tree (-t)
Shows the dependency tree for the given target by indenting dependencies. This is only really useful in combination with --emptytree or --update and --deep

_________________
„Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Fri Dec 23, 2016 8:19 pm    Post subject: Reply with quote

Vermutlich kommt es durch
[ebuild N ~] virtual/tmpfiles-0::gentoo 0 KiB

/usr/portage/virtual/tmpfiles/tmpfiles-0.ebuild:
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DESCRIPTION="Virtual to select between different tmpfiles.d handlers"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

RDEPEND="
        || (
                sys-apps/opentmpfiles
                sys-apps/systemd
        )"

Sprich hier wird normal als erstes sys-apps/opentmpfiles versucht - das ist im gegensatz zu systemd aber noch nicht stable markiert - fällt also für portage erst mal weg, und dann bleibt nur noch sys-apps/systemd (was stable verfügbar wäre).

Vorschlag: Schalte dir sys-apps/opentmpfiles
frei, dann sollte es vermutlich auch mit dem gehen.


/edit
virtual/tmpfiles, welches wahrscheinlich von deinem
[ebuild U ~] sys-apps/openrc-0.23::gentoo [0.22.4::gentoo]
gezogen wird
openrc-0.23.ebuild:
RDEPEND="${COMMON_DEPEND}
        !prefix? (
                kernel_linux? (
                        >=sys-apps/sysvinit-2.86-r6
                        virtual/tmpfiles
                )
[...]


Sprich das openrc-0.23 Update braucht nun virtual/tmpfiles - und das braucht sys-apps/opentmpfiles oder alternativ geht auch sys-apps/systemd
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sun Dec 25, 2016 9:57 pm    Post subject: Re: Systemd obwohl OpenRC System? Reply with quote

bbgermany wrote:
[...]
Wieso zum Geier will mein System nun systemd installieren. Den will ich nicht. Mein OpenRC System auf dem Raspberry Pi läuft nämlich super.

Vielleicht hat ja jemand eine Idee, woran es liegen könnte oder haben die Entwickler wieder Langeweile gehabt ;) ...


Das ist schon seit über einem Jahr so, udev verlangt die Installation, aus welchem Grund auch immer.

Aber es muss nur installiert werden, verwenden musst Du es nicht, Du kannst weiterhin OpenRC verwenden. ;)
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Mon Dec 26, 2016 11:37 am    Post subject: Re: Systemd obwohl OpenRC System? Reply with quote

3PO wrote:
bbgermany wrote:
[...]
Wieso zum Geier will mein System nun systemd installieren. Den will ich nicht. Mein OpenRC System auf dem Raspberry Pi läuft nämlich super.

Vielleicht hat ja jemand eine Idee, woran es liegen könnte oder haben die Entwickler wieder Langeweile gehabt ;) ...


Das ist schon seit über einem Jahr so, udev verlangt die Installation, aus welchem Grund auch immer.

Aber es muss nur installiert werden, verwenden musst Du es nicht, Du kannst weiterhin OpenRC verwenden. ;)

Hehe nein, da hast sicherlich irgendwas durcheinander gebracht.
sys-fs/udev und sys-apps/systemd können (und sollten) nicht zusammen installiert werden, und es wird auch durch aktive Blocker verhindert.
Back to top
View user's profile Send private message
m0n0lith
n00b
n00b


Joined: 26 Dec 2016
Posts: 1

PostPosted: Mon Dec 26, 2016 8:28 pm    Post subject: Reply with quote

Hi,

versuch doch bitte durch das hinzufügen des Schalters "-t" noch deinem emerge die Abhängigkeiten zu entlocken.

fW


bei mir kommt folgendes:

Code:

------------------------- snip -------------------------
[nomerge       ] virtual/tmpfiles-0::gentoo
[nomerge       ]  sys-apps/systemd-226-r2:0/2::gentoo  USE="acl curl kdbus kmod lz4 lzma pam policykit seccomp ssl (-apparmor) -audit -build -cryptsetup -elfutils -gcrypt -gnuefi -http -idn -importd -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]   sys-apps/gentoo-systemd-integration-6::gentoo  63 KiB
[ebuild  N     ]    sys-apps/systemd-226-r2:0/2::gentoo  USE="acl curl kdbus kmod lz4 lzma pam policykit seccomp ssl (-apparmor) -audit -build -cryptsetup -elfutils -gcrypt -gnuefi -http -idn -importd -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 3.823 KiB
------------------------- snip -------------------------

und das ebuild von tmpfiles sagt:

cat /usr/portage/virtual/tmpfiles/tmpfiles-0.ebuild

Code:

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DESCRIPTION="Virtual to select between different tmpfiles.d handlers"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

RDEPEND="
        || (
                sys-apps/opentmpfiles
                [b]sys-apps/systemd[/b]
        )"



und da habe ich was übersehen:

Code:

[nomerge       ] sys-apps/openrc-0.23::gentoo [0.22.4::gentoo] USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[ebuild  N    ~]  virtual/tmpfiles-0::gentoo  0 KiB


openrc-0.23 zieht das wohl rein.
und so wie das ebuild aussieht, ist das auch so.

hmm, schade. Dachte ich komm auch ausnahmslos ohne systemd aus.

...und so fliegt "sys-apps/openrc" aus meiner /etc/portage/portage.keywords/xxx raus.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Dec 27, 2016 3:45 am    Post subject: Reply with quote

Quote:
Dachte ich komm auch ausnahmslos ohne systemd aus.

Das geht auch - wenn man jedoch openrc unstable verwenden will, muss man auch sys-apps/opentmpfiles und virtual/tmpfiles unstable verwenden. Man kann also z.B. folgendes nach
/etc/portage/package.keywords schreiben:
Code:
=sys-apps/openrc-0.23* ~amd64
=sys-apps/opentmpfiles-0.1 ~amd64
=virtual/tmpfiles-0 ~amd64

Mehr Infos dazu gibt es hier: https://forums.gentoo.org/viewtopic-t-1056424-highlight-.html
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Dec 28, 2016 8:52 pm    Post subject: Reply with quote

Hallo Leute,

vielen Dank für eure Antworten. Es war tatsächlich der unstable OpenRC daran schuld. Ich hab jetzt wieder auf stable gewechselt und nun geht das auch wieder.

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum