g_udev_client_query_by_device_number fails on btrfs disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Invalid
|
Medium
|
|||
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
g_udev_
To replicate, download the attached source file.
Compile it: gcc -Wall -o idnum idnum.c `pkg-config --cflags --libs glib-2.0 gio-2.0 gudev-1.0`
This happens on ext4:
./idnum
Device id is 2065.
This happens on btrfs:
./idnum
Device id is 25.
Could not get device from num.
The file layout is the default as provided by the ubuntu installer. That is, the volume has two subvolumes called @ and @home.
Filed against systemd package, because that's where ubuntu-bug forwarded me.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libgudev-1.0-0 1:198-0ubuntu11.1
ProcVersionSign
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.2
Architecture: amd64
Date: Thu Jul 4 15:34:20 2013
InstallationDate: Installed on 2013-05-20 (45 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in systemd: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
Changed in systemd (Ubuntu): | |
status: | New → Won't Fix |
This same thing happens on encrypted home directories. Maybe an issue with subvolumes?