On 2023-05-26 18:46, Andrei Borzenkov wrote:
On 26.05.2023 17:15, Carlos E. R. wrote:
I get this in the /var/log/warn logfile:
2023-05-26T16:00:03.721677+02:00 Elesar systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap: Cannot add dependency job, ignoring: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap not found. 2023-05-26T16:00:03.736908+02:00 Elesar systemd[1]: message repeated 11 times: [ dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap: Cannot add dependency job, ignoring: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap not found.]
Strange things: the message is not in /var/log/messages nor in journalctl output.
And there is no such device, and no similar entry at all in fstab.
There is no way to tell it because you did not show which device as which label.
How would I? There is no such device to show. The only information I have is the log entry in /var/log/warn. Using quote ">" to avoid line wrap in Thunderbird:
Elesar:~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS fd0 2:0 1 4K 0 disk sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part └─cr_laman 254:2 0 931.5G 0 crypt /data/Lamán sdb 8:16 0 232.9G 0 disk ├─sdb1 8:17 0 24G 0 part [SWAP] ├─sdb2 8:18 0 15M 0 part ├─sdb3 8:19 0 15G 0 part / ├─sdb4 8:20 0 100G 0 part │ ├─cr_cripta 254:0 0 100G 0 crypt │ └─cr_ata-Samsung_SSD_850_EVO_250GB_...-part4 254:1 0 100G 0 crypt /home └─sdb5 8:21 0 25G 0 part /usr sr0 11:0 1 1024M 0 rom Elesar:~ #
(boot devide is sdb1) There is only one swap partition: Elesar:~ # l /dev/disk/by-* | grep -i swap lrwxrwxrwx 1 root root 10 May 26 16:18 ssd-swap -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 26 16:18 ssd-swap -> ../../sdb1 Elesar:~ # /dev/disk/by-label: lrwxrwxrwx 1 root root 10 May 26 16:18 ssd-swap -> ../../sdb1 /dev/disk/by-partlabel: lrwxrwxrwx 1 root root 10 May 26 16:18 ssd-swap -> ../../sdb1
cer@Elesar:~> l /dev/disk/by-path/*part1* lrwxrwxrwx 1 root root 10 May 26 15:58 /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 26 15:00 /dev/disk/by-path/pci-0000:00:1f.2-ata-1.1-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 26 15:00 /dev/disk/by-path/pci-0000:00:1f.2-ata-1-part1 -> ../../sdb1
Educated guess - systemd is confused by two different device paths to the same device.
A device that doesn't exist anywhere. The log entry is "...part1.swap", and the "swap" word doesn't appear on the command output. The log entry appeared after I run a yast online update, and prior to rebooting. So maybe it was triggered by some rpm script. -- Cheers / Saludos, Carlos E. R. (from Elesar, using openSUSE Leap 15.4)