[Bug 1944027] Re: On Pi 4b running Ubuntu 21.04 and pi-bluetooth warnings about substitution syntax appear at boot

Dave Jones 1944027 at bugs.launchpad.net
Thu Nov 11 11:21:33 UTC 2021


** Changed in: pi-bluetooth (Ubuntu)
     Assignee: (unassigned) => Dave Jones (waveform)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pi-bluetooth in 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

Status in pi-bluetooth package in Ubuntu:
  Confirmed

Bug description:
  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.

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




More information about the foundations-bugs mailing list