Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluetooth: Arch Linux dbus conf path #1627

Closed
ghost opened this issue Oct 23, 2021 · 0 comments · Fixed by #1671
Closed

bluetooth: Arch Linux dbus conf path #1627

ghost opened this issue Oct 23, 2021 · 0 comments · Fixed by #1671
Labels
bug Our bugs

Comments

@ghost
Copy link

ghost commented Oct 23, 2021

Describe the bug
Arch Linux bluez package is built with --with-dbusconfdir=/usr/share but dracut supports config that located only in /etc. This leads to an error:

dracut-install: ERROR: installing '/etc/dbus-1/system.d/bluetooth.conf'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.QZNJMz/initramfs -a /etc/bluetooth/main.conf /etc/dbus-1/system.d/bluetooth.conf /var/lib/bluetooth/ /var/lib/bluetooth/E0:D4:64:92:20:83 /var/lib/bluetooth/E0:D4:64:92:20:83/F4:73:35:15:0F:53 /var/lib/bluetooth/E0:D4:64:92:20:83/F4:73:35:15:0F:53/info /var/lib/bluetooth/E0:D4:64:92:20:83/cache /var/lib/bluetooth/E0:D4:64:92:20:83/cache/58:20:59:21:66:23 /var/lib/bluetooth/E0:D4:64:92:20:83/cache/C8:47:8C:C3:95:6E /var/lib/bluetooth/E0:D4:64:92:20:83/cache/F4:73:35:15:0F:53 /var/lib/bluetooth/E0:D4:64:92:20:83/settings

Possible fixes

  1. Add support for /usr/share/dbus-1/system.d/bluetooth.conf to bluetooth module:

    /etc/dbus-1/system.d/bluetooth.conf \

  2. Add an option to override the path in config.

Distribution used
Arch Linux

Dracut version
055

Init system
systemd

To Reproduce
Setup bluetooth keyboard and build initramfs.

Expected behavior
/usr/share/dbus-1/system.d/bluetooth.conf should be installed to initramfs.

@ghost ghost added the bug Our bugs label Oct 23, 2021
johannbg added a commit to johannbg/dracut that referenced this issue Feb 5, 2022
Add a missing /usr/share path ( fixes dracutdevs#1627 )
Use variable instead of hard path
johannbg added a commit that referenced this issue Feb 5, 2022
Add a missing /usr/share path ( fixes #1627 )
Use variable instead of hard path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants