You are not logged in.

#26 2018-07-11 22:02:57

Baryon
Member
Registered: 2011-08-12
Posts: 71

Re: Dependency failed for File System Check

chrisco23 wrote:

Same here and only rebooted just now because my system, running awesomewm, locked up completely, could do nothing but reboot.


But my question to add here is:  Since pressing CTRL-D and logging in as usual seems to (so far) work ok, >is it safe< to leave as is and wait for the fix, or am I risking something getting worse?  Must I (also learn how to) downgrade lvm2?

My system also locked up completely just now (running GNOME) and I got the DEPEND errors again after rebooting.

This seems to be intermittent and I don't know why. I posted about it here before realising this issue existed: https://bbs.archlinux.org/viewtopic.php?id=238724

I also don't know if the crashing is a related thing. Maybe just a coincidence that we both had crashes.

Last edited by Baryon (2018-07-11 22:04:08)

Offline

#27 2018-07-11 22:31:48

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Re: Dependency failed for File System Check

Kewl wrote:

Same issue here which started today after lvm2's update.
As mentioned earlier whenever you can, adding the noauto,x-systemd.automount options in the fstab file avoids the issue.
This usually speeds up the boot process and can be considered a permanent solution if it works for you.
This will fsck and mount the partition only when it is first accessed, and the kernel will buffer all file access to it until it is ready.
See wiki

This works for me! Thanks

Offline

#28 2018-07-12 02:16:54

sevendogs
Member
Registered: 2016-01-24
Posts: 114

Re: Dependency failed for File System Check

Add yet another instance of this issue. I initially logged into a maintenance session but then just rebooted and it was fine after that. Odd.


When asked "Are you a god or a man?" the Buddha replied "I am awake."

Offline

#29 2018-07-12 10:48:21

selexin
Member
Registered: 2017-10-07
Posts: 2

Re: Dependency failed for File System Check

Yep this has happened to me as well on all three of my Arch computers since the latest updates - work PC, home PC, and media server PC. All running SSDs for root partition with at least one more drive mounted for /home and additional drives (5 extra drives on the media server). Interestingly I am not using LVM on any of them (not sure if there is a relation there).

Anyway, in all cases every computer would successfully boot intermittently. CTRL+D let me continue to boot successfully on each one as well.

Not going to spam with journal logs here as the bug tracker is the more appropriate place, just chiming in that CTRL+D works as a temp workaround.

Offline

#30 2018-07-12 11:54:28

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

The following assumes the base-devel group is installed and I recommend enabling Makepkg#Parallel_compilation to reduce build times

$ git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/lvm2"
$ cp -r packages/trunk lvm2
$ rm -rf packages
$ cd lvm2
# replace PKGBUILD with the one in this post
$ makepkg -rsi #this is to confirm lvm2 2.02.179 as built on your system has the issue

$ cd lvm2/src/lvm2
$ git checkout v2_02_177
$ cd ../..
$ makepkg -ersi #this is to confirm lvm2 2.02.177 as built on your system does not have the issue

$ cd lvm2/src/lvm2
$ git bisect start
$ git bisect good v2_02_177
$ git bisect bad v2_02_179
$ cd ../..
$ makepkg -ersif

$ cd lvm2/src/lvm2
$ git bisect $result #substitute good or bad here
$ cd ../..
$ makepkg -ersif #repeat these four lines and test the generated package until git has found the bad commit

PKGBUILD

# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Maintainer: Thomas Bächler <thomas@archlinux.org>

pkgbase=lvm2
pkgname=('lvm2' 'device-mapper')
pkgver=2.02.177.r0.ga1f7a4832
pkgrel=1
arch=('x86_64')
url='https://sourceware.org/lvm2/'
license=('GPL2' 'LGPL2.1')
makedepends=('git' 'systemd' 'thin-provisioning-tools')
groups=('base')
validpgpkeys=('88437EF5C077BD113D3B7224228191C1567E2C17'  # Alasdair G Kergon <agk@redhat.com>
              'D501A478440AE2FD130A1BE8B9112431E509039F') # Marian Csontos <marian.csontos@gmail.com>
source=("git+https://sourceware.org/git/lvm2.git#tag=v2_02_179"
        'lvm2_install'
        'lvm2_hook'
        'sd-lvm2_install'
        '11-dm-initramfs.rules')
sha256sums=('SKIP'
            'cc51940a8437f3c8339bb9cec7e929b2cc0852ffc8a0b2463e6f67ca2b9950f6'
            '97d7c92e4954bc0108e7cd183b2eb5fe7ecc97e6f56369669e6537cb6ed45d80'
            'b749c2da0e9307b0c2c3858d024a19c268e01e393e876a284fe1a302427f72f1'
            'e10f24b57582d6e2da71f7c80732a62e0ee2e3b867fe84591ccdb53e80fa92e0')

pkgver() {
  cd lvm2
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/_/./g;s/-/./g'
}

prepare() {
  cd lvm2/

#  # remove install section from systemd units that are enabled by default
#  sed -i -e '/^\[Install\]$/,$d' \
#    scripts/dm_event_systemd_red_hat.socket.in \
#    scripts/lvm2_lvmetad_systemd_red_hat.socket.in \
#    scripts/lvm2_lvmpolld_systemd_red_hat.socket.in \
#    scripts/lvm2_monitoring_systemd_red_hat.service.in
}

build() {
  local _CONFIGUREOPTS=(
    --prefix=/usr
    --sbindir=/usr/bin
    --sysconfdir=/etc
    --localstatedir=/var
    --enable-applib
    --enable-cmdlib
    --enable-dmeventd
    --enable-lvmetad
    --enable-lvmpolld
    --enable-pkgconfig
    --enable-readline
    --enable-udev_rules
    --enable-udev_sync
    --enable-use-lvmetad
    --with-cache=internal
    --with-default-dm-run-dir=/run
    --with-default-locking-dir=/run/lock/lvm
    --with-default-pid-dir=/run
    --with-default-run-dir=/run/lvm
    --with-systemdsystemunitdir=/usr/lib/systemd/system
    --with-thin=internal
    --with-udev-prefix=/usr
  )

  cp -af lvm2/ lvm2-initramfs/
  
  cd lvm2/

  ./configure "${_CONFIGUREOPTS[@]}" --enable-udev-systemd-background-jobs
  make

  # Build legacy udev rule for initramfs
  cd ../lvm2-initramfs
  ./configure "${_CONFIGUREOPTS[@]}" --enable-udev-systemd-background-jobs=no
  cd udev
  make 69-dm-lvm-metad.rules
}

package_device-mapper() {
  pkgdesc="Device mapper userspace library and tools"
  url="http://sourceware.org/dm/"
  depends=('glibc' 'libsystemd')

  cd lvm2/

  make DESTDIR="${pkgdir}" install_device-mapper
  # extra udev rule for device-mapper in initramfs
  install -D -m644 "${srcdir}/11-dm-initramfs.rules" "${pkgdir}/usr/lib/initcpio/udev/11-dm-initramfs.rules"
  # Install dmeventd socket and service
  make DESTDIR="${pkgdir}" install_systemd_units
  rm -f "${pkgdir}/usr/lib/systemd/system/"{blk-availability.service,lvm2-*}
  install -d -m755 "${pkgdir}/usr/lib/systemd/system/sockets.target.wants"
  ln -sf ../dm-event.socket "${pkgdir}/usr/lib/systemd/system/sockets.target.wants/dm-event.socket"
  sed -i -e '/^\[Install\]$/,$d' "${pkgdir}/usr/lib/systemd/system/dm-event.socket"
}

package_lvm2() {
  pkgdesc="Logical Volume Manager 2 utilities"
  depends=('bash' "device-mapper>=${pkgver}" 'libsystemd' 'readline' 'thin-provisioning-tools')
  conflicts=('lvm' 'mkinitcpio<0.7')
  backup=('etc/lvm/lvm.conf'
    'etc/lvm/lvmlocal.conf')
  options=('!makeflags')
  install=lvm2.install

  cd lvm2/

  make DESTDIR="${pkgdir}" install_lvm2
  # install applib
  make -C liblvm DESTDIR="${pkgdir}" install
  # /etc directories
  install -d "${pkgdir}"/etc/lvm/{archive,backup}
  # mkinitcpio hook
  install -D -m644 "${srcdir}/lvm2_hook" "${pkgdir}/usr/lib/initcpio/hooks/lvm2"
  install -D -m644 "${srcdir}/lvm2_install" "${pkgdir}/usr/lib/initcpio/install/lvm2"
  install -D -m644 "${srcdir}/sd-lvm2_install" "${pkgdir}/usr/lib/initcpio/install/sd-lvm2"
  # extra udev rule for lvmetad in non-systemd initramfs
  install -D -m644 "${srcdir}/lvm2-initramfs/udev/69-dm-lvm-metad.rules" "${pkgdir}/usr/lib/initcpio/udev/69-dm-lvm-metad.rules"
  # systemd support
  make DESTDIR="${pkgdir}" install_systemd_units
  rm -f "${pkgdir}/usr/lib/systemd/system/"dm-*
  install -d -m755 "${pkgdir}/usr/lib/systemd/system/sysinit.target.wants"
  ln -sf ../lvm2-lvmetad.socket "${pkgdir}/usr/lib/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket"
  ln -sf ../lvm2-lvmpolld.socket "${pkgdir}/usr/lib/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket"
  ln -sf ../lvm2-monitor.service "${pkgdir}/usr/lib/systemd/system/sysinit.target.wants/lvm2-monitor.service"
  make DESTDIR="${pkgdir}" install_systemd_generators
  sed -i -e '/^\[Install\]$/,$d' \
    "${pkgdir}/usr/lib/systemd/system/lvm2-lvmetad.socket" \
    "${pkgdir}/usr/lib/systemd/system/lvm2-lvmpolld.socket" \
    "${pkgdir}/usr/lib/systemd/system/lvm2-monitor.service"
}

Edit:
changed
  cp -a lvm2/ lvm2-initramfs/
to
  cp -af lvm2/ lvm2-initramfs/

Last edited by loqs (2018-07-14 12:41:50)

Offline

#31 2018-07-12 16:52:02

2Karl
Member
From: Daventry, UK
Registered: 2012-03-26
Posts: 57
Website

Re: Dependency failed for File System Check

Kewl wrote:

Same issue here which started today after lvm2's update.
As mentioned earlier whenever you can, adding the noauto,x-systemd.automount options in the fstab file avoids the issue.
This usually speeds up the boot process and can be considered a permanent solution if it works for you.
This will fsck and mount the partition only when it is first accessed, and the kernel will buffer all file access to it until it is ready.
See wiki

This worked for me, thanks.


It's affine day for a new sig:
13XQLTXH?R%20GLVHDVB!1046210467104640201045B104731046F02010458104731045902
010450104681045B1046910462104681046F02E0201045A104731045102010458104750201
04780201046F1046A104510201046902010461104671045B1047202010458104671045102E

Offline

#32 2018-07-12 20:29:11

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 889

Re: Dependency failed for File System Check

I'll test at weekend when I have time, but on the laptop:

x-systemd.device-timeout=1

in fstab allows the NFS drives to boot. However, I don't have an fstab entry for / on the laptop.

On my main machine, I have no x-systemd entries in fstab, but I explictely have fstab entries for / and /boot (and other local drives).

Don't want to revert to a ctrl-D boot until I have time to play, so for now, lvm2 is downgraded.

EDIT: I should add, the laptop has had no problems pre or post update. The main rig is where the problems are.

Last edited by Roken (2018-07-12 20:31:08)


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Ryzen 1800x 8 core/16 thread - GTX 1060 6Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (2SSD - 4Spinners) + 1 x optical.
Linux user #545703

Offline

#33 2018-07-12 20:35:52

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,543
Website

Re: Dependency failed for File System Check

Just out of curiosity, if anyone is experiencing this and NOT using lvm like me, have you tried compiling libblockdev without the lvm2 dependency (https://git.archlinux.org/svntogit/pack … 3ba08f1650)?  I am temped to try.  Might drop the xfsprogs and mdadm too.  Thoughts from those more knowledgeable that I are welcomed.  Bad idea?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!

Offline

#34 2018-07-12 20:36:38

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

I am wondering if this is the same bug as in the upstream lvm2 report which has the cause as systemd unmounting a device.
The logs for this bug do not seem to indicate systemd doing the same but that may well just be my misunderstanding.
Edit:
@graysky I would suggest masking lvm2-monitor.service first see if that works.

Last edited by loqs (2018-07-12 20:38:12)

Offline

#35 2018-07-12 21:22:29

Pryka
Member
Registered: 2018-02-07
Posts: 69

Re: Dependency failed for File System Check

graysky wrote:

Just out of curiosity, if anyone is experiencing this and NOT using lvm like me, have you tried compiling libblockdev without the lvm2 dependency (https://git.archlinux.org/svntogit/pack … 3ba08f1650)?  I am temped to try.  Might drop the xfsprogs and mdadm too.  Thoughts from those more knowledgeable that I are welcomed.  Bad idea?

I don't use lvm2. I just have it on my system from base pacman group.

Offline

#36 2018-07-12 22:00:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,543
Website

Re: Dependency failed for File System Check

@pryka - it's a dep of libblockdev... I'm asking if compiling libblockdev without it like the url I referenced fixes the issue for you.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!

Offline

#37 2018-07-12 22:11:32

sincomil
Member
Registered: 2018-02-13
Posts: 57

Re: Dependency failed for File System Check

Got exactly same error after last update today. But actually all the filesystems getting mounted at the time when emergency shell starts.
But seems that something with systemd dependency check or something with timings, because I have 6 HDDs installed and each time some of filesystems on them (XFS, ext4, ntfs ) hitting this error (excepting device with root filesystem on on lvm2) and emergency shell starts on each boot.

Offline

#38 2018-07-12 22:18:32

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

@graysky what on your system is using libblockdev in early boot eg at local-fs.target or earlier in boot?
Edit:
@sincomil yes it looks like lvm2-monitor.service which is started before local-fs.target interacts somehow with the systemd finding device unit dependencies to run fsck on local filesystems.
Any failure for local-fs.target triggers the Emergency shell while Ctrl+D just continues the boot unclear if the fsck is rerun.

Last edited by loqs (2018-07-12 22:25:20)

Offline

#39 2018-07-13 01:30:46

shanpo
Member
Registered: 2018-07-13
Posts: 1

Re: Dependency failed for File System Check

I just upgraded the system,a similar situation occurred,I use btrfs.

月 13 07:20:28 d2680 systemd[1]: systemd-fsck@dev-disk-by\x2duuid-a0748d27\x2d36de\x2d4e79\x2d92f2\x2d9422b9752b3b.service: Bound to unit dev-disk-by\x2duuid-a0748d27\x2d36de\x2d4e79\x2d92f2\x2d9422b9752b3b.device, but unit isn't active.
7月 13 07:20:28 d2680 systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/a0748d27-36de-4e79-92f2-9422b9752b3b.
7月 13 07:20:28 d2680 systemd[1]: Dependency failed for /mnt/disk0.
7月 13 07:20:28 d2680 systemd[1]: Dependency failed for Local File Systems.
7月 13 07:20:28 d2680 systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
7月 13 07:20:28 d2680 systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
7月 13 07:20:28 d2680 systemd[1]: mnt-disk0.mount: Job mnt-disk0.mount/start failed with result 'dependency'.
7月 13 07:20:28 d2680 systemd[1]: systemd-fsck@dev-disk-by\x2duuid-a0748d27\x2d36de\x2d4e79\x2d92f2\x2d9422b9752b3b.service: Job systemd-fsck@dev-disk-by\x2duuid-a0748d27\x2d36de\x2d4e79\x2d92f2\x2d9422b9752b3b.service/start failed with result 'dependency'.
7月 13 07:20:28 d2680 systemd[1]: Reached target Timers.
7月 13 07:20:28 d2680 systemd[1]: Reached target Network.
7月 13 07:20:28 d2680 systemd[1]: Starting Create Volatile Files and Directories...
7月 13 07:20:28 d2680 systemd[1]: Started Emergency Shell.
7月 13 07:20:28 d2680 systemd[1]: Reached target Emergency Mode.
7月 13 07:20:28 d2680 systemd[1]: Reached target Sockets.
7月 13 07:20:28 d2680 systemd[1]: Reached target Bluetooth.
7月 13 07:20:28 d2680 systemd[1]: Starting File System Check on /dev/disk/by-uuid/dccf5c0b-801a-4dd8-a2b8-b76047bed3b7...
7月 13 07:20:28 d2680 systemd[1]: Starting File System Check on /dev/disk/by-uuid/8287d1dd-4ad5-40d5-925a-f7c64326114e...
7月 13 07:20:28 d2680 systemd[1]: Starting File System Check on /dev/disk/by-uuid/c413c5db-7105-4441-95b7-7fa56b111f68...
7月 13 07:20:28 d2680 kernel: hid-generic 0003:04B4:4042.0005: input,hiddev1,hidraw4: USB HID v1.11 Mouse [HID 04b4:4042] on usb-0000:00:1d.0-1.6/input1
7月 13 07:20:28 d2680 systemd[1]: Unnecessary job for sys-subsystem-net-devices-enp4s0.device was removed.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/615e9c1a-c1a8-48e7-8460-88c1f5dd931b.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/adf5bc23-75a4-42c5-a697-026acbf28082.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/70437803-ed61-4ae8-a99e-1b4d24709afb.
7月 13 07:20:28 d2680 systemd[1]: Started Create Volatile Files and Directories.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/dccf5c0b-801a-4dd8-a2b8-b76047bed3b7.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/8287d1dd-4ad5-40d5-925a-f7c64326114e.
7月 13 07:20:28 d2680 systemd[1]: Started File System Check on /dev/disk/by-uuid/c413c5db-7105-4441-95b7-7fa56b111f68.
7月 13 07:20:28 d2680 systemd[1]: Mounting /home...
7月 13 07:20:28 d2680 systemd[1]: Mounting /mnt/disk5...
7月 13 07:20:28 d2680 systemd[1]: Mounting /mnt/disk6...
7月 13 07:20:28 d2680 kernel: BTRFS info (device sde1): disk space caching is enabled
7月 13 07:20:28 d2680 kernel: BTRFS info (device sde1): has skinny extents
7月 13 07:20:28 d2680 systemd[1]: Starting Update UTMP about System Boot/Shutdown...
7月 13 07:20:28 d2680 systemd[1]: Mounting /mnt/disk7...
7月 13 07:20:28 d2680 kernel:  sdc: sdc1
7月 13 07:20:28 d2680 kernel: BTRFS info (device sde3): disk space caching is enabled
7月 13 07:20:28 d2680 kernel: BTRFS info (device sde3): has skinny extents
7月 13 07:20:28 d2680 systemd[1]: Mounting /mnt/disk2...
7月 13 07:20:28 d2680 kernel:  sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6
7月 13 07:20:28 d2680 systemd[1]: Mounting /mnt/disk4...
7月 13 07:20:28 d2680 systemd[1]: Mounted /home.
7月 13 07:20:28 d2680 systemd[1]: Mounted /mnt/disk5.
7月 13 07:20:28 d2680 systemd[1]: Started Update UTMP about System Boot/Shutdown.
7月 13 07:20:28 d2680 kernel:  sdf: sdf1
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdc1): disk space caching is enabled
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdc1): has skinny extents
7月 13 07:20:28 d2680 kernel:  sdh: sdh1
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdd5): disk space caching is enabled
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdd5): has skinny extents
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdd1): disk space caching is enabled
7月 13 07:20:28 d2680 kernel: BTRFS info (device sdd1): has skinny extents
7月 13 07:20:28 d2680 kernel: BTRFS error (device sdd5): devid 4 uuid c2ff872e-840f-43ec-931d-2e4c659b941b is missing
7月 13 07:20:28 d2680 kernel: BTRFS error (device sdd5): failed to read chunk tree: -2
7月 13 07:20:28 d2680 kernel: BTRFS error (device sdd1): open_ctree failed
7月 13 07:20:28 d2680 systemd[1]: mnt-disk2.mount: Mount process exited, code=killed status=15
7月 13 07:20:28 d2680 systemd[1]: mnt-disk2.mount: Failed with result 'signal'.
7月 13 07:20:28 d2680 systemd[1]: Unmounted /mnt/disk2.
7月 13 07:20:28 d2680 systemd[1]: Stopped File System Check on /dev/disk/by-uuid/adf5bc23-75a4-42c5-a697-026acbf28082.
7月 13 07:20:28 d2680 kernel: BTRFS error (device sdc1): open_ctree failed
7月 13 07:20:28 d2680 kernel: BTRFS error (device sdd5): open_ctree failed

Offline

#40 2018-07-13 03:20:23

Eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,287

Re: Dependency failed for File System Check

graysky wrote:

Just out of curiosity, if anyone is experiencing this and NOT using lvm like me, have you tried compiling libblockdev without the lvm2 dependency (https://git.archlinux.org/svntogit/pack … 3ba08f1650)?  I am temped to try.  Might drop the xfsprogs and mdadm too.  Thoughts from those more knowledgeable that I are welcomed.  Bad idea?

What is the purpose? Allowing you to uninstall lvm2 so it's not there to sneakily run on its own at boot? Just mask the systemd units...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#41 2018-07-13 04:52:17

sincomil
Member
Registered: 2018-02-13
Posts: 57

Re: Dependency failed for File System Check

I have Downgraded lvm2 with

sudo pacman -U /var/cache/pacman/pkg/lvm2-2.02.177-5-x86_64.pkg.tar.xz

that currently solved my problem.

Offline

#42 2018-07-13 14:18:52

hfenigma
Member
Registered: 2017-06-29
Posts: 24

Re: Dependency failed for File System Check

Eschwartz wrote:
graysky wrote:

Just out of curiosity, if anyone is experiencing this and NOT using lvm like me, have you tried compiling libblockdev without the lvm2 dependency (https://git.archlinux.org/svntogit/pack … 3ba08f1650)?  I am temped to try.  Might drop the xfsprogs and mdadm too.  Thoughts from those more knowledgeable that I are welcomed.  Bad idea?

What is the purpose? Allowing you to uninstall lvm2 so it's not there to sneakily run on its own at boot? Just mask the systemd units...

To prevent some useless things randomly break my system when I have to catch some deadline.

But I don't like hacking official packages. So I traced it up, lvm2 <- libblockdev <- udisks2 <- gvfs (for automount and trash). Finally, I replaced gvfs with udevil. (I don't use trash anyway)

Offline

#43 2018-07-13 14:26:20

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

@hefenigma did you try masking lvm2-monitor.service?

Offline

#44 2018-07-13 14:28:41

hfenigma
Member
Registered: 2017-06-29
Posts: 24

Re: Dependency failed for File System Check

loqs wrote:

@hefenigma did you try masking lvm2-monitor.service?

No, lvm2 doesn't even exist on my system now.  ^_^

Offline

#45 2018-07-13 14:31:28

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

That does not help confirm if the issue on your system was lvm2-monitor.service conflicting with the systemd early boot.

Offline

#46 2018-07-13 15:31:26

Jean3799
Member
Registered: 2013-06-21
Posts: 29

Re: Dependency failed for File System Check

Related discussion on github: https://github.com/systemd/systemd/issues/1741

I'm just going to wait this one out since it mounts fine afterwards when I proceed to logging in.

Last edited by Jean3799 (2018-07-13 15:39:13)

Offline

#47 2018-07-13 15:41:50

stefguy
Member
Registered: 2018-07-13
Posts: 1

Re: Dependency failed for File System Check

Same issue here on Arch Linux ARM running on two Raspberry Pi 2.

Faulty LVM version is lvm2-2.02.179-1-armv7h.pkg.tar.xz
Downgrading to lvm2-2.02.177-5-armv7h.pkg.tar.xz fixes the issue ...

Cheers, Stefan

Offline

#48 2018-07-13 16:27:09

kakonema
Member
Registered: 2016-06-25
Posts: 7

Re: Dependency failed for File System Check

loqs wrote:

That does not help confirm if the issue on your system was lvm2-monitor.service conflicting with the systemd early boot.

Just noticed the issue and can confirm that masking lvm2-monitor fixes it, thanks.

Last edited by kakonema (2018-07-13 16:27:37)

Offline

#49 2018-07-13 17:12:19

loqs
Member
Registered: 2014-03-06
Posts: 5,826

Re: Dependency failed for File System Check

Jean3799 wrote:

Related discussion on github: https://github.com/systemd/systemd/issues/1741

I'm just going to wait this one out since it mounts fine afterwards when I proceed to logging in.

From https://github.com/systemd/systemd/issu … -404550659 onward yes but the discussion before that comment is about systemd manually unmounting a mount point which it is not clear is the cause here.
Edit:
@kakonema thank you for the confirmation.

Last edited by loqs (2018-07-13 17:14:12)

Offline

#50 2018-07-13 17:28:23

surrealskiller
Member
Registered: 2018-07-13
Posts: 1

Re: Dependency failed for File System Check

I have the same problem after update and I don't even use LVM
Looking into journalctl I see that after devices are configured LVM2-monitor starts and it apparently messes up with devices.
-- Subject: Unit dev-sdb1.device has finished start-up
...
-- Unit lvm2-monitor.service has finished starting up.
...
-- Unit systemd-fsck@dev-sda2.service has begun starting up.
Jul 13 13:46:33 vr-arch systemd[1]: systemd-fsck@dev-sdb1.service: Bound to unit dev-sdb1.device, but unit isn't active.
Jul 13 13:46:33 vr-arch systemd[1]: Dependency failed for File System Check on /dev/sdb1.
-- Subject: Unit systemd-fsck@dev-sdb1.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit systemd-fsck@dev-sdb1.service has failed.

Offline

Board footer

Powered by FluxBB