Public bug reported:
**Steps to reproduce**
1. Connect a BTRFS USB drive (0.5TB HDD)
2. Run: sudo mount /dev/sdb1 -o subvol=@data (missing mount point argument)
3. System freezes, console unresponsive.
**Expected result** = mount should return an error ("mount point missing").
**Actual result** = systemd (PID 1) crashes with:
Assertion 'path_is_absolute(p)' failed at src/basic/chase.c:648
Caught <ABRT>, from our own process!
**SYSTEM**
- OS: Linux Mint 22.1 Xia
- systemd version: 255.4-1ubuntu8.15 (before and after reinstall!)
- Kernel: 6.8.0-124-generic
- Filesystem: BTRFS on external USB (NS1068 bridge)
**Attachments**
- coredump backtrace (mount_crash.bt)
- relevant journal excerpt (attached below)
**Journal excerpt**
- 22:51:05 systemd[1]: Assertion 'path_is_absolute(p)' failed...
- 22:51:05 systemd[1]: Caught <ABRT>, from our own process.
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "mount_crash_report.bt"
https://bugs.launchpad.net/bugs/2155807/+attachment/5976070/+files/mount_crash_report.bt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155807
Title:
mount with missing mount point causes systemd PID 1 crash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2155807/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs