Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge nimmt consolekit nicht obwohl explizit angegebe
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
guru meditation
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2018
Posts: 141
Location: Planet Earth

PostPosted: Fri Aug 07, 2020 1:46 pm    Post subject: Emerge nimmt consolekit nicht obwohl explizit angegebe Reply with quote

In einer emerge-Meldung stand neulich noch, wer unbedingt elogind nicht will, soll das eben in make.conf ausschließen (USE="-elogind…"). Nun schreit emerge beim neulichen Update:

Code:
!!! The ebuild selected to satisfy "sys-auth/polkit" has unmet requirements.
- sys-auth/polkit-0.116-r1::gentoo USE="introspection nls pam (-consolekit) -elogind -examples -gtk -jit -kde (-selinux) -systemd -test"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( consolekit elogind systemd )

(dependency required by "lxde-base/lxsession-0.5.4-r1::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Also wird consolekit package.unmask eben wieder erlaubt und in package.use dessen Verwendung vorgeschrieben (sys-auth/polkit consolekit -elogiind -systemd). Das habe ich zwar vorher nicht gebraucht, aber wenn Emerge gerne "exactly one of" den dreien haben möchte… Gegen Systempest und elogind habe ich eine Aversion.

consolekit läßt sich damit wunderbar mit emerge -1q installieren, systemd und elogind sind nachweislich nicht installiert, und damit sollte die Bedingung "exactly-one-of" auch erfüllt sein. Emerge meckert aber immer noch mit der gleichen Meldung herum.
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: Fri Aug 07, 2020 2:06 pm    Post subject: Reply with quote

Ich würde in der make.conf folgendes eintragen:

USE="-systemd -consolekit elogind"

[31] 2020-04-14 Desktop profile switching USE default to elogind

Genau nachlesen kannst du das mit
Code:
eselect news read 31


Last edited by soundrolf on Fri Aug 07, 2020 2:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Fri Aug 07, 2020 2:07 pm    Post subject: Reply with quote

In ein paar Wochen ist consolekit Geschichte.

Code:
$ emerge -vp consolekit

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "consolekit" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-auth/consolekit-9999::gentoo (masked by: package.mask, missing keyword)
/usr/portage/profiles/package.mask:
# Mikle Kolyada (2020-08-02)
# consolekit is abandoned upstream.
# People are encouraged to switch to any logind
# implementation (systemd/elogind).
# Removal in 60 days (bug #727730)

- sys-auth/consolekit-1.2.1::gentoo (masked by: package.mask)
- sys-auth/consolekit-1.2.0::gentoo (masked by: package.mask)
- sys-auth/consolekit-1.1.2::gentoo (masked by: package.mask)
- sys-auth/consolekit-1.1.0-r1::gentoo (masked by: package.mask)
- sys-auth/consolekit-0.4.6::gentoo (masked by: package.mask)


guru meditation wrote:
Gegen Systempest und elogind habe ich eine Aversion.

Kannst du das auch rational begründen? Vermutlich verwendest du auch eudev - das ist um nichts weniger abhängig von systemd als elogind.

soundrolf wrote:
[31] 2020-04-14 Desktop profile switching USE default to elogind

Genau nachlesen kannst du das mit
Code:
eselect news read 31

So funktioniert das nicht. Die 31 ist kein globaler Index sondern eine lokale laufende Nummer, und jedem System werden andere News angezeigt entsprechend der Filterkriterien.
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: Fri Aug 07, 2020 3:14 pm    Post subject: Reply with quote

Code:
eselect news list


Code:

News items:
  [1]      2013-09-27  (2013-09-27-initramfs-required - removed?)
  [2]      2014-06-15  (2014-06-15-gcc48_ssp - removed?)
  [3]      2014-10-26  (2014-10-26-gcc_4_7_introduced_new_c++11_abi - removed?)
  [4]      2014-11-25  (2014-11-25-bash-completion-2_1-r90 - removed?)
  [5]      2015-02-01  (2015-02-01-use-libav - removed?)
  [6]      2015-02-02  New portage plug-in sync system
  [7]      2015-04-16  (2015-04-16-ffmpeg-default - removed?)
  [8]      2015-07-25  (2015-07-25-python-targets - removed?)
  [9]      2015-08-13  (2015-08-13-openssh-weak-keys - removed?)
  [10]     2015-10-22  (2015-10-22-gcc-5-new-c++11-abi - removed?)
  [11]     2015-12-16  Python ABIFLAGS rebuild needed
  [12]     2016-06-19  L10N USE_EXPAND variable replacing LINGUAS
  [13]     2016-08-11  (2016-08-11-grub2_multislot_default - removed?)
  [14]     2017-10-10  (2017-10-10-perl-5_26-update - removed?)
  [15]     2017-10-13  OpenRC "service" binary removal
  [16]     2017-11-30  New 17.0 profiles in the Gentoo repository
  [17]     2017-12-26  (2017-12-26-experimental-amd64-17-1-profiles - removed?)
  [18]     2018-01-30  Portage rsync tree verification
  [19]     2018-03-13  (2018-03-13-portage-rsync-verification-unstable - removed?)
  [20]     2018-05-22  Python 3.6 to become the default target
  [21]     2018-06-23  (2018-06-23-mpfr-4-update - removed?)
  [22]     2018-07-11  Portage rsync hardlink support
  [23]     2018-08-07  Migration required for OpenSSH with LDAP
  [24]     2019-05-19  (2019-05-19-accept_license - removed?)
  [25]     2019-05-23  Change of ACCEPT_LICENSE default
  [26]     2019-06-05  amd64 17.1 profiles are now stable
  [27]     2019-12-30  Genkernel 4 changed default filenames
  [28]     2020-02-07  Python 2.7 went EOL
  [29]     2020-02-19  (2020-02-19-openssh-8.2-service-breakage - removed?)
  [30]     2020-02-20  OpenSSH 8.2_p1 running sshd breakage
  [31]     2020-04-14  Desktop profile switching USE default to elogind
  [32]     2020-04-22  Python 3.7 to become the default target
  [33]     2020-06-23  sys-libs/pam-1.4.0 upgrade
  [34]     2020-06-24  xorg-server dropping default suid


Code:
eselect news read 31
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Fri Aug 07, 2020 3:27 pm    Post subject: Reply with quote

Wie asturm gesagt hat:
Code:
systemd-system ~ # eselect news list
News items:
  [1]      2011-10-15  (2011-10-15-libpng15 - removed?)
  [2]      2013-06-01  (2013-06-01-mysql-pbxt-dropped - removed?)
  [3]      2013-09-27  (2013-09-27-initramfs-required - removed?)
  [4]      2014-06-15  (2014-06-15-gcc48_ssp - removed?)
  [5]      2014-10-26  (2014-10-26-gcc_4_7_introduced_new_c++11_abi - removed?)
  [6]      2014-11-25  (2014-11-25-bash-completion-2_1-r90 - removed?)
  [7]      2015-01-28  (2015-01-28-cpu_flags_x86-introduction - removed?)
  [8]      2015-02-01  (2015-02-01-use-libav - removed?)
  [9]      2015-02-02  nfs service changes
  [10]     2015-02-02  New portage plug-in sync system
  [11]     2015-03-28  (2015-03-28-true-multilib - removed?)
  [12]     2015-04-06  Apache AddHandler/AddType exploit protection
  [13]     2015-04-16  (2015-04-16-ffmpeg-default - removed?)
  [14]     2015-06-08  udev-init-scripts-29 important changes
  [15]     2015-07-25  (2015-07-25-python-targets - removed?)
  [16]     2015-08-13  (2015-08-13-openssh-weak-keys - removed?)
  [17]     2015-10-22  (2015-10-22-gcc-5-new-c++11-abi - removed?)
  [18]     2015-12-16  Python ABIFLAGS rebuild needed
  [19]     2016-01-27  Upgrading Apache from 2.2 to 2.4
  [20]     2016-06-19  L10N USE_EXPAND variable replacing LINGUAS
  [21]     2016-08-11  (2016-08-11-grub2_multislot_default - removed?)
  [22]     2016-10-25  LLVM 3.9 with LLVM_TARGETS
  [23]     2016-11-04  Important fstab and localmount update
  [24]     2017-07-16  systemd rootprefix migration
  [25]     2017-10-10  (2017-10-10-perl-5_26-update - removed?)
  [26]     2017-10-13  OpenRC "service" binary removal
  [27]     2017-11-30  New 17.0 profiles in the Gentoo repository
  [28]     2017-12-26  (2017-12-26-experimental-amd64-17-1-profiles - removed?)
  [29]     2018-01-23  systemd sysv-utils blocker resolution
  [30]     2018-01-30  Portage rsync tree verification
  [31]     2018-03-13  (2018-03-13-portage-rsync-verification-unstable - removed?)
  [32]     2018-05-22  Python 3.6 to become the default target
  [33]     2018-07-11  Portage rsync hardlink support
  [34]     2018-08-07  Migration required for OpenSSH with LDAP
  [35]     2019-02-13  MySQL server and library dependency shift
  [36]     2019-05-19  (2019-05-19-accept_license - removed?)
  [37]     2019-05-23  Change of ACCEPT_LICENSE default
  [38]     2019-06-05  amd64 17.1 profiles are now stable
  [39]     2020-02-07  Python 2.7 went EOL
  [40]     2020-02-19  (2020-02-19-openssh-8.2-service-breakage - removed?)
  [41]     2020-04-03  Deprecation of legacy X11 input drivers
  [42]     2020-04-22  Python 3.7 to become the default target
  [43]     2020-06-23  sys-libs/pam-1.4.0 upgrade
  [44]     2020-06-24  xorg-server dropping default suid
 
systemd-system ~ # ssh openrc-system
openrc-system ~ # eselect news list
News items:
  [1]      2014-11-25  (2014-11-25-bash-completion-2_1-r90 - removed?)
  [2]      2015-02-01  (2015-02-01-use-libav - removed?)
  [3]      2015-04-16  (2015-04-16-ffmpeg-default - removed?)
  [4]      2015-10-22  (2015-10-22-gcc-5-new-c++11-abi - removed?)
  [5]      2016-04-24  Changes in default VIDEO_CARDS
  [6]      2016-06-19  L10N USE_EXPAND variable replacing LINGUAS
  [7]      2016-08-11  (2016-08-11-grub2_multislot_default - removed?)
  [8]      2018-08-07  Migration required for OpenSSH with LDAP
  [9]      2019-02-13  MySQL server and library dependency shift
  [10]     2019-05-23  Change of ACCEPT_LICENSE default
  [11]     2020-02-07  Python 2.7 went EOL
  [12]     2020-04-03  Deprecation of legacy X11 input drivers
  [13]     2020-04-14  Desktop profile switching USE default to elogind
  [14]     2020-04-22  Python 3.7 to become the default target
  [15]     2020-06-23  sys-libs/pam-1.4.0 upgrade
  [16]     2020-06-24  xorg-server dropping default suid


Deswegen lieber das passende News-Item auf der Website suchen: https://gentoo.org/support/news-items/
Und das dann verlinken: https://gentoo.org/support/news-items/2020-04-14-elogind-default.html
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
guru meditation
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2018
Posts: 141
Location: Planet Earth

PostPosted: Fri Aug 07, 2020 11:21 pm    Post subject: Reply with quote

Danke für den Tip mit eselect news read.

Ich dachte eher an die Meldung 2020-06-24-xorg-server-dropping-default-suid (es geht hier um den X-Server), deshalb wunderte ich mich, daß jetzt polkit nach logind schreit, obwohl sich am Paket 0.116-r1 nichts geändert hat.

Wozu braucht man consolekit/logind überhaupt? Beides war auf dem Rechner gar nicht drauf, und die Kiste funktionierte prima. Ich bin halt ein außerordentlicher KISS-Fan und da paßt das eierlegende Wollmilchsaukonzept des Herrn Pöttering nicht dazu.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


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

PostPosted: Sat Aug 08, 2020 12:16 am    Post subject: Reply with quote

guru meditation wrote:
Ich bin halt ein außerordentlicher KISS-Fan

Da bist Du nicht der Einzige :)

Ich sehe das genauso. Wenn man sichere und stabile Systeme haben will, sollte man möglichst wenig installieren - und nicht: möglichst viel.

guru meditation wrote:
Wozu braucht man consolekit/logind überhaupt?

Einen Hinweis gibt https://github.com/elogind/elogind
Quote:
Elogind is the systemd project's "logind", extracted out to be a standalone daemon. It integrates with PAM to know the set of users that are logged in to a system and whether they are logged in graphically, on the console, or remotely. Elogind exposes this information via the standard org.freedesktop.login1 D-Bus interface, as well as through the file system using systemd's standard /run/systemd layout. [...]

Weitere Informationen gibt es bei "man systemd-logind"
Quote:
systemd-logind is a system service that manages user logins. It is responsible for:

• Keeping track of users and sessions, their processes and their idle state. This is implemented by allocating a systemd slice unit for each user below user.slice, and a scope unit below it for each concurrent session of a user. Also, a per-user service manager is started as system service instance of user@.service for each logged in user.

• Generating and managing session IDs. If auditing is available and an audit session ID is already set for a session, then this ID is reused as the session ID. Otherwise, an independent session counter is used.

• Providing polkit[1]-based access for users for operations such as system shutdown or sleep

• Implementing a shutdown/sleep inhibition logic for applications

• Handling of power/sleep hardware keys

• Multi-seat management

• Session switch management

• Device access management for users

• Automatic spawning of text logins (gettys) on virtual console activation and user runtime directory management

User sessions are registered with logind via the pam_systemd( 8 ) PAM module.

Also da passieren eine Menge Dinge. Um das wirklich zu verstehen, müsste ich mich einige Tage einarbeiten. Und das will ich gar nicht! Zumal ich nicht den Eindruck habe, dass systemd-logind bzw. elogind irgendeinen Mehrwert für mich bringen. Deshalb wäre es mir lieber, ich könnte systemd-logind bzw. elogind weglassen und wie bisher ohne die beiden Pakete arbeiten.

Leider sind systemd-logind bzw. elogind nicht optional. Selbst Minimal-DEs wie Sway erfordern zwingend Systemd-logind oder elogind. :(
Back to top
View user's profile Send private message
guru meditation
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2018
Posts: 141
Location: Planet Earth

PostPosted: Sat Aug 08, 2020 4:13 am    Post subject: Reply with quote

mike155 wrote:
Keider sind systemd-logind bzw. elogind nicht optional. Selbst Minimal-DEs wie Sway erfordern zwingend Systemd-logind oder elogind. :(


Kann man nicht einfach ein Fake-Overlay einbinden, was dann emerge befriedigt, solange man nicht Pakete installiert, die wirklich elogind brauchen?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Sat Aug 08, 2020 8:06 am    Post subject: Reply with quote

Das Paket, das das von dir will, ist ja schon längst installiert, siehe allererster Post:
Code:
 * dependency graph for lxde-base/lxsession-0.5.4-r1
 `--  lxde-base/lxsession-0.5.4-r1  amd64
   `--  sys-auth/polkit-0.117  (sys-auth/polkit) ~amd64
    `--  dev-lang/spidermonkey-68.11.0  (dev-lang/spidermonkey) ~amd64  [-debug]
    `--  sys-auth/elogind-243.7  (sys-auth/elogind) ~amd64
    `--  sys-auth/pambase-20200618  (sys-auth/pambase) ~amd64
    `--  sys-libs/pam-1.4.0-r2  (sys-libs/pam) ~amd64
    `--  sys-apps/systemd-246  (sys-apps/systemd) ~amd64  [policykit]
    `--  sys-auth/consolekit-9999  (sys-auth/consolekit) M[package.mask]  [policykit]
[ lxde-base/lxsession-0.5.4-r1 stats: packages (81), max depth (2)

^ equery g zeigt hier alle 3 Alternativen an ohne das entweder-oder Verhältnis darzustellen.
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