Questions tagged [udevd]

8 questions
6
votes
0 answers

cryptsetup cannot close mapped device

When I run: LANG=C cryptsetup --debug luksClose /dev/mapper/Pool-A it fails as follows: device-mapper: remove ioctl on Pool-A failed: Device or resource busy Device /dev/mapper/Pool-A is still in use. Command failed with code 16: Device or…
sebelk
  • 642
  • 3
  • 13
  • 32
6
votes
2 answers

Ubuntu Hardy : Testing for environment variables in udev rules doesn't seem to work

I have a Ubuntu 8.04 LTS (server edition), and I need to write a udev rule for it to act upon plugging a USB thumb drive. However, I need a different action depending on the filesystem of the drive. I know I can use the ID_FS_TYPE environment…
Fred
  • 303
  • 1
  • 4
  • 7
4
votes
0 answers

systemd-udevd spams systemd-udevd[1523120]: veth20996a5: Failed to get link config: No such device

I have setup my server logging with graylog and now I see that my logs are being spamed by level: 3 errors like these: systemd-udevd[1523120]: veth20996a5: Failed to get link config: No such device I think vethxxxxxxx is an interface created by…
KugisMugis
  • 141
  • 1
3
votes
2 answers

Arch cryptsetup hangs on 'waiting for zero'

Cryptsetup was working flawlessly for months, but something I did today on my system now makes it hang: # cryptsetup --debug --verbose luksOpen /dev/sdb home --key-file=/home.key --verbose ... Key slot 1 unlocked. ... # Udev cookie 0xd4d949a (semid…
cronburg
  • 171
  • 5
3
votes
1 answer

bad page map bug during snapshot

I ran the following command to create a snapshot volume. But the kernel received a bug and the kvm hypervisor stopped responding. Why is the error and how to fix it? lvcreate -L20G -s -n volume_A_backup /dev/vgroup/volumeA Error Log: Mar 10…
Purres
  • 239
  • 1
  • 4
  • 18
2
votes
1 answer

Change network interface name with systemd.link on Ubuntu 18.04.5

I am trying to set some universal names for the predictable names. I am doing this to be able to have the same interface names on all my machines. Iam trying to follow "Example 2. /etc/systemd/network/10-dmz.link" from…
Flaep
  • 71
  • 5
0
votes
1 answer

Automounting with udev

Currently my distribution of choice (ArchLinux) has an automounting script like this: KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" But that will automount only partitions up to sdX9. I do have USB drives with 6 or more partitions…
Flavius A
  • 139
  • 7
0
votes
1 answer

Ubuntu 64bit Xen DomU Issues after upgrade from Karmic to Lucid

I was upgrading my servers today and it all went fine except the last machine which has the following issues: [Resolved using http://www.ndchost.com/wiki/server-administration/upgrade-ubuntu-pre-10.04#post-1004-upgradefinal-steps] No login prompt…
Shoaibi
  • 789
  • 1
  • 9
  • 28