Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  WARNING:System won't boot after last du, systemd: segfault error in libc-2.27.so  (Read 8589 times)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
How I did mine

Using a usb stick for chroot


If your using apt-cacher-ng your going to have to install that BEFORE you chroot and enable testing in sources


Code: [Select]
mkdir /mnt/chroot
mount /dev/sda10 /mnt/chroot/
mount --bind /proc /mnt/chroot/proc && mount --bind /run /mnt/chroot/run && mount --bind /sys /mnt/chroot/sys && mount --bind /dev /mnt/chroot/dev && mount --bind /dev/pts /mnt/chroot/dev/pts
chroot /mnt/chroot /bin/bash


Code: [Select]
apt update; apt install systemd/testing libnss-systemd/testing libpam-systemd/testing libsystemd-dev/testing libsystemd0/testing

Code: [Select]
apt install systemd/testing libnss-systemd/testing libpam-systemd/testing libsystemd-dev/testing libsystemd0/testing -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '237-4' (Debian:testing [amd64]) for 'systemd'
Selected version '237-4' (Debian:testing [amd64]) for 'libsystemd0' because of 'systemd'
Selected version '237-4' (Debian:testing [amd64]) for 'libnss-systemd'
Selected version '237-4' (Debian:testing [amd64]) for 'libpam-systemd'
Selected version '237-4' (Debian:testing [amd64]) for 'libsystemd-dev'
Selected version '237-4' (Debian:testing [amd64]) for 'libsystemd0'
The following packages were automatically installed and are no longer required:
  gstreamer1.0-plugins-base:i386 i965-va-driver:i386 libasound2:i386 libasyncns0:i386 libatomic1:i386 libavahi-common-data:i386 libavahi-common3:i386 libavcodec57:i386 libavutil55:i386 libblkid1:i386 libcairo2:i386 libcap2:i386 libcapi20-3
  libcapi20-3:i386 libcdparanoia0:i386 libcom-err2:i386 libcrystalhd3:i386 libdb5.3:i386 libdw1 libexif12:i386 libfdk-aac1:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgcrypt20:i386 libgd3:i386 libglib2.0-0:i386
  libglu1-mesa:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhogweed4:i386 libice6:i386
  libicu57:i386 libidn2-0:i386 libieee1284-3:i386 libilbc2:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libkvazaar4:i386 liblcms2-2:i386
  libldap-2.4-2:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmfx0:i386 libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libnettle6:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal1:i386 libopencore-amrnb0:i386
  libopencore-amrwb0:i386 libopenh264-4:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpcap0.8:i386 libpcre3:i386 libpixman-1-0:i386 libpng16-16:i386 libsamplerate0:i386 libsane-extras:i386 libsasl2-2:i386
  libsasl2-modules:i386 libsasl2-modules-db:i386 libselinux1:i386 libshine3:i386 libsm6:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio6.1:i386 libsoxr0:i386 libspeex1:i386 libssl1.1:i386 libswresample2:i386 libtasn1-6:i386 libtheora0:i386
  libtiff5:i386 libunistring2:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvo-amrwbenc0:i386 libvorbis0a:i386
  libvorbisenc2:i386 libvpx5:i386 libwebp6:i386 libwebpmux3:i386 libwrap0:i386 libx264-155:i386 libx265-151:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxi6:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386
  libxrender1:i386 libxslt1.1:i386 libxtst6:i386 libxvidcore4:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386 va-driver-all:i386 vdpau-driver-all:i386 wine-devel-amd64
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  systemd-container
The following packages will be REMOVED:
  libasound2-plugins:i386 libavahi-client3:i386 libcups2:i386 libdbus-1-3:i386 libpulse0:i386 libsane:i386 libsystemd0:i386 systemd-container systemd-coredump wine-devel wine-devel-i386:i386 winehq-devel winetricks
The following NEW packages will be installed:
  libnss-systemd libsystemd-dev
The following packages will be DOWNGRADED:
  libpam-systemd libsystemd0 systemd
0 upgraded, 2 newly installed, 3 downgraded, 13 to remove and 35 not upgraded.
Remv winetricks [0.0+20180217-1]
Remv winehq-devel [3.3.0~sid]
Remv wine-devel [3.3.0~sid]
Remv wine-devel-i386:i386 [3.3.0~sid]
Remv libasound2-plugins:i386 [1:1.1.5-dmo1]
Remv libcups2:i386 [2.2.6-5]
Remv libsane:i386 [1.0.25-4.1]
Remv libavahi-client3:i386 [0.7-3.1]
Remv libpulse0:i386 [11.1-4]
Remv libdbus-1-3:i386 [1.12.6-2]
Remv libsystemd0:i386 [238-1]
Remv systemd-container [238-1]
Remv systemd-coredump [238-1]
Inst libpam-systemd [238-1] (237-4 Debian:testing [amd64]) []
Inst systemd [238-1] (237-4 Debian:testing [amd64]) []
Inst libsystemd0 [238-1] (237-4 Debian:testing [amd64])
Conf libsystemd0 (237-4 Debian:testing [amd64])
Inst libnss-systemd (237-4 Debian:testing [amd64])
Inst libsystemd-dev (237-4 Debian:testing [amd64])
Conf libpam-systemd (237-4 Debian:testing [amd64])
Conf systemd (237-4 Debian:testing [amd64])
Conf libnss-systemd (237-4 Debian:testing [amd64])
Conf libsystemd-dev (237-4 Debian:testing [amd64])
root@siduction:/#
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline vayu

  • User
  • Posts: 232
When in chroot, I noticed a new kernel available, so I figured maybe that'll do it, and yes I'm in. The latest kernel update solves it without downgrading systemd. Thanks Towo.
4.15.7-towo.3-siduction-amd64

ckoerber

  • Guest
@ dacorsa: Your solution DID work for me !

However, in order to avoid confusion you might have wanted to provide the following explanations / comments:
  • libsystemd:i386 may not be present, as on my system; I simply removed it from the install list
  • apt-get install first recommends libnss-mymachines and then removes just that package, along with libnss-systemd
Regards,
Chris


Offline GoinEasy9

  • User
  • Posts: 560
I can confirm vayu's observation and solution.  Doing a DU in chroot solves the problem.

I set up my chroot like piper set up his, then, apt update; apt-get dist-upgrade 
I choose to do a full-upgrade not just the kernel.

Then umount all mounted in chroot.

fini

Once again, thanks towo.
Linux Counter number 348347

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
There is a fix for systemd by agaida in our repository.

Offline drb

  • User
  • Posts: 165
Is that 238-1.1?
I fortunately missed this. Is it now safe to du then reboot?

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Quote from: drb
Is that 238-1.1?
I fortunately missed this. Is it now safe to du then reboot?


Yes 238-1.1

Code: [Select]
Get:1 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libnss-systemd amd64 238-1.1 [184 kB]
Get:2 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 systemd-sysv amd64 238-1.1 [87.0 kB]
Get:3 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libpam-systemd amd64 238-1.1 [186 kB]
Get:4 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libsystemd-dev amd64 238-1.1 [263 kB]
Get:5 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libsystemd0 amd64 238-1.1 [283 kB]
Get:6 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libnss-myhostname amd64 238-1.1 [109 kB]
Get:7 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 systemd amd64 238-1.1 [3,033 kB]
Get:8 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 udev amd64 238-1.1 [1,183 kB]
Get:9 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main i386 libudev1 i386 238-1.1 [132 kB]
Get:10 http://10.10.10.3:3142/packages.siduction.org/fixes unstable/main amd64 libudev1 amd64 238-1.1 [129 kB]
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline drb

  • User
  • Posts: 165

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
And yes, safe to reboot, it worked here ;)
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline jure

  • User
  • Posts: 635
Code: [Select]
4.15.7-towo.3-siduction-amd64
systemd:
  Installiert:           238-1.1
  Installationskandidat: 238-1.1

no problems - thx
Gruss Juergen

nidhogg

  • Guest
Thanks very much to all of you, your posts were really helpful!
I solved it with the lines dacorsa wrote ( I just had to remove the ":i386" thing, and also had to setup my network card with "dhclient -v enp4s0" just after chroot; then everything worked like a charm )

SOLVED  :) :



mkdir /mnt/sid
fdisk -l
mount /dev/sda1 /mnt/sid
mv /mnt/sid/etc/resolv.conf /mnt/sid/etc/resolv.conf2
cp /etc/resolv.conf  /mnt/sid/etc/resolv.conf
mount --bind /dev /mnt/sid/dev
mount --bind /proc /mnt/sid/proc
mount --bind /sys /mnt/sid/sys
chroot /mnt/sid /bin/bash
apt-get install systemd=237-2.1 libsystemd0=237-2.1 libpam-systemd=237-2.1 libsystemd0:i386=237-2.1 systemd-container=237-2.1 systemd-coredump=237-2.1
« Last Edit: 2018/03/08, 22:34:32 by nidhogg »

Offline clubex

  • User
  • Posts: 265
Thanks dacorsa and Piper

Offline samoht

  • User
  • Posts: 478
Great support in this forum again! Thumbs up, devil, dacorsa, piper, melmarker/Yu Watanabe!

Greetings,
Tom

dacorsa

  • Guest
you're welcome!


 ;D :D ;)