udevadm[4193]: systemd-udev-settle.service is deprecated. Please fix zfs-load-module.service, zfs-import-cache.service not to pull it in.

Bug #2032934 reported by Bartosz Woronicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

After recent update my Jammy ZFS based distro goes into emergency mode

It waits till timeout 3 minutes for systemd-udev-settle

I see the following message
Aug 24 10:46:28 drakkar udevadm[4193]: systemd-udev-settle.service is deprecated. Please fix zfs-load-module.service, zfs-import-cache.service not to pull it in.

I need restart the service manually

  systemctl restart systemd-udev-settle
  systemctl restart zfs-load-module
  systemctl restart zfs-import-cache
  exit

and exit emergency shell so the system can start normally to the default target

I guess solution would be to remove that dependency, but maybe I am wrong

For instance

  mkdir /etc/systemd/system/zfs-load-module.service.d
  mkdir /etc/systemd/system/zfs-import-cache.service.d
  echo -e "[Unit]\nRequires=" > /etc/systemd/system/zfs-load-module.service.d/override.conf
  echo -e "[Unit]\nRequires=" /etc/systemd/system/zfs-import-cache.service.d/override.conf
  systemctl daemon-reload

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: zfsutils-linux 2.1.5-1ubuntu6~22.04.1
ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 24 13:06:52 2023
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.logrotate.d.apport: 2023-08-24T03:09:53.125138

Revision history for this message
Bartosz Woronicz (mastier1) wrote :
description: updated
description: updated
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

Ok, so I used udev.log-priority=info and udev.max-children=2 to see what fails here
annd the culprit seems some of my zfs datasets.

Yet, the deprecation should be fixed.

Will check more later on.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.