U2F not working after upgrade: systemd dropped udev rules and libu2f-udev not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
Summary:
* libu2f-udev is not installed automatically, and after upgrading systemd it has lost its udev rules for U2F devices.
* installing u2f-host (which pulls in libu2f-udev) doesn't seem to be enough to get it working either, had to manually reload the rules
Long version:
I upgraded from XUbuntu 17.10 to 18.04 daily build for testing.
Previously I was able to use a Yubikey U2F device with Chromium and Firefox, however after the upgrade no U2F device was detected, the browser just timed out the U2F detection.
I installed u2f-host to debug the problem further but it told me that it couldn't find any U2F devices. I looked in /dev/hidraw* and my user couldn't access any.
Running this and repluggingt the device fixed the permissions: sudo udevadm control --reload-rules.
It looks like that systemd used to have udev rules for U2F devices but they got dropped recently, pointing to libu2f-udev:
https:/
Which is fine, except libu2f-udev is not installed automatically:
libu2f-udev
Reverse Depends:
libu2f-host0
ubuntu-
ubuntu-mate-core
ubuntu-
libu2f-host0
Reverse Depends:
libu2f-host-dev
u2f-host
pamu2fcfg
libpam-u2f
This seems wrong, individual desktop environments shouldn't bring this in, either the applications that use them (firefox, chromium) should recommend it, or a package common to all desktop flavours should pull it in.
Please make libu2f-udev automatically installed as it was before when it was part of systemd, and reload the udev rules when it is installed.
I'm filing this bug against systemd because the package that broke the behaviour was systemd, when udev rules got dropped from it the other packages' dependencies should've been updated so that the rules are not lost.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: systemd 237-3ubuntu3
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Feb 28 00:22:33 2018
InstallationDate: Installed on 2017-12-02 (87 days ago)
InstallationMedia: Ubuntu-MATE 17.10 "Artful Aardvark" - Release amd64 (20171018)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcKernelCmdLine: root=UUID=
SourcePackage: systemd
UpgradeStatus: Upgraded to bionic on 2018-02-24 (3 days ago)
dmi.bios.date: 04/07/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2501
dmi.board.
dmi.board.name: M5A99FX PRO R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: To be filled by O.E.M.
affects: | systemd (Ubuntu) → ubuntu-meta (Ubuntu) |
Changed in ubuntu-meta (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Dimitri John Ledkov (xnox) |
This bug was fixed in the package ubuntu-meta - 1.415
---------------
ubuntu-meta (1.415) bionic; urgency=medium
* Refreshed dependencies
* Added libu2f-udev to desktop LP: #1752202
* Removed vlan from server
-- Dimitri John Ledkov <email address hidden> Mon, 09 Apr 2018 15:54:40 +0100