Public bug reported:

Description:
/usr/lib/udev/rules.d/90-pi-bluetooth.rules contains substitution syntax that 
dash doesn't like.

Result:
Warning output from journalctl -b:
systemd-udevd[976]: /usr/lib/udev/rules.d/90-pi-bluetooth.rules:14 Invalid 
value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if cmp -s $ALIASES/uart0 
$ALIASES/serial0; then echo 0;elif cmp -s $ALIASES/uart0 $ALIASES/serial1; then 
echo 1; else exit 1; fi'" for PROGRAM (char 58: invalid substitution type), 
ignoring, but please fix it.

systemd-udevd[976]: /usr/lib/udev/rules.d/90-pi-bluetooth.rules:27
Invalid value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if [ -e
/dev/ttyAMA0 ]; then exit 1; elif cmp -s $ALIASES/uart0
$ALIASES/serial0; then echo 0;elif cmp -s $ALIASES/uart0
$ALIASES/serial1; then echo 1; else exit 1; fi'" for PROGRAM (char 97:
invalid substitution type), ignoring, but please fix it.

systemd-udevd[976]: /usr/lib/udev/rules.d/90-pi-bluetooth.rules:38
Invalid value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if cmp -s
$ALIASES/uart1 $ALIASES/serial0; then echo 0; elif cmp -s $ALIASES/uart1
$ALIASES/serial1; then echo 1; else exit 1; fi '" for PROGRAM (char 58:
invalid substitution type), ignoring, but please fix it.

Expected Result:
No warnings

Notes:
- This is on Ubuntu 21.04. With pi-bluetooth/hirsute,now 0.1.15ubuntu2 arm64. 
However, these warnings have been present for some time, on earlier versions of 
the package.

** Affects: pi-bluetooth (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1944027

Title:
  On Pi 4b running Ubuntu 21.04 and pi-bluetooth warnings about
  substitution syntax appear at boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pi-bluetooth/+bug/1944027/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to