loginctl attach fails with DVD drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu 14.10 in a multiseat setup I cannot assing the DVD drive to the secondary seat:
root@host:~# COLUMNS=300 loginctl seat-status seat0 | grep host
├─/
├─/
root@host:~# loginctl attach seat-1 /sys/devices/
Failed to issue method call: Invalid argument
Assigning USB devices and graphics cards and and sound cards works fine.
System and package info:
root@host:~# lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
root@host:~# apt-cache policy systemd
systemd:
Installed: 208-8ubuntu8.1
Candidate: 208-8ubuntu8.1
Version table:
*** 208-8ubuntu8.1 0
500 http://
100 /var/lib/
208-8ubuntu8 0
500 http://
root@host:~# uname -a
Linux brho 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
seat-1 exists and has lots of other stuff attached:
root@host:~# loginctl seat-status seat-1
seat-1
Sessions: *c3 c2
Devices:
│ drm:card1
│ [MASTER] graphics:fb1 "nouveaufb"
│ usb:2-11
│ ├─/sys/
│ │ usb:2-11.1
│ │ └─/sys/
│ │ input:input15 "CHICONY HP Basic USB Keyboard"
│ ├─/sys/
│ │ input:input16 "NOVATEK USB MULTIMEDIA KEYBOARD"
│ └─/sys/
│ input:input17 "NOVATEK USB MULTIMEDIA KEYBOARD"
│ input:input6 "Logitech Trackball"
│ input:input7 "UVC Camera (046d:0990)"
│ video4linux:video0 "UVC Camera (046d:0990)"
│ sound:card1 "Q9000"
Changed in systemd (Ubuntu): | |
status: | Incomplete → New |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Invalid |
Does it only fail on sg1 (which is a raw SCSI device), or /sr0 (the actual CD-ROM) too? Would you mind running the loginctl call through "strace -fvvs1024 -o /tmp/trace loginctl ..." and attach /tmp/trace here? This should give me a better idea what it's stumbling over. Thanks!