Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691280 - sys-apps/systemd-243_rc1 systemd-logind dumps core when the lid is closed and suspend is inhibited
Summary: sys-apps/systemd-243_rc1 systemd-logind dumps core when the lid is closed and...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-02 05:53 UTC by Anton Gubarkov
Modified: 2019-08-11 16:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2019-08-02 05:53:47 UTC
авг 02 08:43:25 PF16W6Y2 systemd-logind[2384]: Lid closed.
авг 02 08:43:25 PF16W6Y2 systemd-logind[2384]: Assertion 'handle > HANDLE_IGNORE && handle < _HANDLE_ACTION_MAX' failed at src/login/logind-action.c:65, function manager_handle_action(). Aborting.
авг 02 08:43:25 PF16W6Y2 root[16345]: ACPI event unhandled: button/lid LID close
авг 02 08:43:25 PF16W6Y2 systemd[1]: Created slice system-systemd\x2dcoredump.slice.
авг 02 08:43:25 PF16W6Y2 systemd[1]: Started Process Core Dump (PID 16341/UID 0).
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (EE)
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: Fatal server error:
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (EE) systemd-logind disappeared (stopped/restarted?)
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (EE)
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: Please consult the The X.Org Foundation support
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]:          at http://wiki.x.org
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]:  for help.
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (EE) Please also check the log file at "/home/anton/.local/share/xorg/Xorg.0.log" for additional information.
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (EE)
авг 02 08:43:25 PF16W6Y2 /usr/libexec/gdm-x-session[3046]: (II) AIGLX: Suspending AIGLX clients for VT switch
авг 02 08:43:25 PF16W6Y2 gsd-power[4121]: Unable to inhibit lid switch: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
авг 02 08:43:25 PF16W6Y2 systemd[1]: systemd-logind.service: Main process exited, code=dumped, status=6/ABRT
авг 02 08:43:25 PF16W6Y2 systemd[1]: systemd-logind.service: Failed with result 'core-dump'.
авг 02 08:43:25 PF16W6Y2 systemd[1]: systemd-logind.service: Service has no hold-off time (RestartSec=0), scheduling restart.
авг 02 08:43:25 PF16W6Y2 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 1.
авг 02 08:43:25 PF16W6Y2 systemd[1]: Stopped Login Service.
Comment 1 Anton Gubarkov 2019-08-02 05:57:16 UTC
anton@PF16W6Y2 ~ $ emerge --info systemd
Portage 2.3.69 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.1.0, glibc-2.29-r3, 5.1.21-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.21-gentoo-x86_64-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    32612740 total,  25204452 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Thu, 01 Aug 2019 07:47:28 +0000
Head commit of repository gentoo: 5aa9bb05c7820851a3aea1b72d6a52bd67dbf31a

sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

dlang
    location: /var/lib/layman/dlang
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

go-overlay
    location: /var/lib/layman/go-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

rugubara
    location: /var/lib/layman/rugubara
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -mtune=native"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aio alsa amd64 berkdb bluetooth branding bzip2 cacert cairo cdda cdr cli client colord crypt cups cxx dbus djvu dri dri3 dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv icu introspection ipv6 jack jpeg jpeg2k lcms ldap libnotify libsecret libtirpc libzfs lm_sensors lv2 mad mng mp3 mp4 mpeg multilib native-headset nautilus ncat ncurses networkmanager nls nptl nvenc nvme ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 raw readline sdl sdl2 seccomp smp sna sound spell spice split-usr ssl startup-notification svg systemd tcpd thunderbolt tiff tracker truetype udev udisks uefi unicode upower usb usbredir user-session vaapi vala vdpau virgl vorbis wayland wxwidgets x264 x265 xattr xcb xml xv xvid zeroconf zfs zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/systemd-243_rc1::gentoo was built with the following:
USE="acl gcrypt kmod lz4 pam pcre policykit resolvconf seccomp (split-usr) sysv-utils -apparmor -audit -build -cryptsetup -curl -dns-over-tls -elfutils -gnuefi -http -idn -importd -lzma -nat -qrcode (-selinux) -test -vanilla -xkb" ABI_X86="(64) -32 (-x32)"
FEATURES="ipc-sandbox binpkg-dostrip unmerge-logs preserve-libs sfperms userpriv news sandbox multilib-strict usersync config-protect-if-modified protect-owned binpkg-logs distlocks pid-sandbox usersandbox merge-sync ebuild-locks parallel-fetch fixlafiles network-sandbox unknown-features-warn unmerge-orphans binpkg-docompress userfetch strict assume-digests"
Comment 2 Anton Gubarkov 2019-08-02 15:42:47 UTC
reverting to systemd-242-r6 solved the problem for me.
Comment 3 Mike Gilbert gentoo-dev 2019-08-03 00:23:05 UTC
Please report this upstream. Hopefully they can fix it before releasing 243.

https://github.com/systemd/systemd/issues
Comment 4 Mike Gilbert gentoo-dev 2019-08-03 13:41:28 UTC
Looks like someone reported it. Thanks!
Comment 5 Larry the Git Cow gentoo-dev 2019-08-11 16:28:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35dcfcc83b7e325672f9167b5417d67deb4e3270

commit 35dcfcc83b7e325672f9167b5417d67deb4e3270
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-08-11 16:27:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-11 16:27:41 +0000

    sys-apps/systemd: backport fixes
    
    Closes: https://bugs.gentoo.org/691232
    Closes: https://bugs.gentoo.org/691280
    Closes: https://bugs.gentoo.org/691502
    Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/files/243-rc1-cryptsetup.patch    | 148 +++++++++++++++++++++
 ...243-rc1-revert-logind-remove-unused-check.patch |  31 +++++
 .../systemd/files/243-rc1-udev-properties.patch    |  53 ++++++++
 ...243_rc1-r1.ebuild => systemd-243_rc1-r2.ebuild} |   3 +
 4 files changed, 235 insertions(+)