[Touch-packages] [Bug 2057822] Re: Removing irqbalance disables power button on Raspberry Pi 5
** Description changed: As discussed in Bug #1833322: "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" (https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1833322) the irqbalance package will no longer be installed by default in Noble. So - as a test I removed the package from my Raspberry Pi 5 running Mantic, - after which the Pi 5's power button no longer worked to poweroff the - system. Re-installing irqbalance caused the button to work again. + as a test I removed the package from my Raspberry Pi 5 running Mantic + Server, after which the Pi 5's power button no longer worked to poweroff + the system. Re-installing irqbalance caused the button to work again. With irqbalance installed I see these messages at boot time: kernel: input: pwr_button as /devices/platform/pwr_button/input/input1 systemd-logind[694]: Watching system buttons on /dev/input/event0 (pwr_button) Without irqbalance I see this: kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6 So the Raspberry Pi 5 might still need irqbalance installed, or perhaps there's a better solution for enabling the button. I have the following appended to the Mantic default /boot/firmware/config.txt: # Trickle charge the RTC battery (default: don't charge) dtparam=rtc_bbat_vchg=300 # Enable the PCIe external connector dtparam=nvme # Force PCIe Gen 3.0 (default: Gen 2.0; not certified for Gen 3.0) # dtparam=pciex1_gen=3 # Enable second serial port on GPIO 14 & 15 (default: disabled) dtparam=uart0 # Change activity LED behavior (default: blink for MMC access) dtparam=act_led_trigger=heartbeat # Disable Bluetooth (not wanted on a server) dtoverlay=disable-bt-pi5 # Enable PPS on GPIO 18 for MAX-M8Q GNSS HAT dtoverlay=pps-gpio,gpiopin=18,capture_clear -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-meta in Ubuntu. https://bugs.launchpad.net/bugs/2057822 Title: Removing irqbalance disables power button on Raspberry Pi 5 Status in ubuntu-meta package in Ubuntu: New Bug description: As discussed in Bug #1833322: "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" (https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1833322) the irqbalance package will no longer be installed by default in Noble. So as a test I removed the package from my Raspberry Pi 5 running Mantic Server, after which the Pi 5's power button no longer worked to poweroff the system. Re-installing irqbalance caused the button to work again. With irqbalance installed I see these messages at boot time: kernel: input: pwr_button as /devices/platform/pwr_button/input/input1 systemd-logind[694]: Watching system buttons on /dev/input/event0 (pwr_button) Without irqbalance I see this: kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6 So the Raspberry Pi 5 might still need irqbalance installed, or perhaps there's a better solution for enabling the button. I have the following appended to the Mantic default /boot/firmware/config.txt: # Trickle charge the RTC battery (default: don't charge) dtparam=rtc_bbat_vchg=300 # Enable the PCIe external connector dtparam=nvme # Force PCIe Gen 3.0 (default: Gen 2.0; not certified for Gen 3.0) # dtparam=pciex1_gen=3 # Enable second serial port on GPIO 14 & 15 (default: disabled) dtparam=uart0 # Change activity LED behavior (default: blink for MMC access) dtparam=act_led_trigger=heartbeat # Disable Bluetooth (not wanted on a server) dtoverlay=disable-bt-pi5 # Enable PPS on GPIO 18 for MAX-M8Q GNSS HAT dtoverlay=pps-gpio,gpiopin=18,capture_clear To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/2057822/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1833322] Re: Please consider no more having irqbalance enabled by default (per image/use-case/TBD)
I filed Bug #2057822: "Removing irqbalance disables power button on Raspberry Pi 5" (https://bugs.launchpad.net/ubuntu/+source/ubuntu- meta/+bug/2057822). Thanks. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-meta in Ubuntu. https://bugs.launchpad.net/bugs/1833322 Title: Please consider no more having irqbalance enabled by default (per image/use-case/TBD) Status in cloud-images: New Status in Release Notes for Ubuntu: Fix Released Status in Ubuntu on IBM z Systems: Fix Released Status in irqbalance package in Ubuntu: Opinion Status in ubuntu-meta package in Ubuntu: Fix Released Bug description: as per https://github.com/pop-os/default-settings/issues/60 Distribution (run cat /etc/os-release): $ cat /etc/os-release NAME="Pop!_OS" VERSION="19.04" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Pop!_OS 19.04" VERSION_ID="19.04" HOME_URL="https://system76.com/pop"; SUPPORT_URL="http://support.system76.com"; BUG_REPORT_URL="https://github.com/pop-os/pop/issues"; PRIVACY_POLICY_URL="https://system76.com/privacy"; VERSION_CODENAME=disco UBUNTU_CODENAME=disco Related Application and/or Package Version (run apt policy $PACKAGE NAME): $ apt policy irqbalance irqbalance: Installed: 1.5.0-3ubuntu1 Candidate: 1.5.0-3ubuntu1 Version table: *** 1.5.0-3ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status $ apt rdepends irqbalance irqbalance Reverse Depends: Recommends: ubuntu-standard gce-compute-image-packages Issue/Bug Description: as per konkor/cpufreq#48 and http://konkor.github.io/cpufreq/faq/#irqbalance-detected irqbalance is technically not needed on desktop systems (supposedly it is mainly for servers), and may actually reduce performance and power savings. It appears to provide benefits only to server environments that have relatively-constant loading. If it is truly a server- oriented package, then it shouldn't be installed by default on a desktop/laptop system and shouldn't be included in desktop OS images. Steps to reproduce (if you know): This is potentially an issue with all default installs. Expected behavior: n/a Other Notes: I can safely remove it via "sudo apt purge irqbalance" without any apparent adverse side-effects. If someone is running a situation where they need it, then they always have the option of installing it from the repositories. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/1833322/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2057822] [NEW] Removing irqbalance disables power button on Raspberry Pi 5
Public bug reported: As discussed in Bug #1833322: "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" (https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1833322) the irqbalance package will no longer be installed by default in Noble. So as a test I removed the package from my Raspberry Pi 5 running Mantic, after which the Pi 5's power button no longer worked to poweroff the system. Re-installing irqbalance caused the button to work again. With irqbalance installed I see these messages at boot time: kernel: input: pwr_button as /devices/platform/pwr_button/input/input1 systemd-logind[694]: Watching system buttons on /dev/input/event0 (pwr_button) Without irqbalance I see this: kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6 So the Raspberry Pi 5 might still need irqbalance installed, or perhaps there's a better solution for enabling the button. I have the following appended to the Mantic default /boot/firmware/config.txt: # Trickle charge the RTC battery (default: don't charge) dtparam=rtc_bbat_vchg=300 # Enable the PCIe external connector dtparam=nvme # Force PCIe Gen 3.0 (default: Gen 2.0; not certified for Gen 3.0) # dtparam=pciex1_gen=3 # Enable second serial port on GPIO 14 & 15 (default: disabled) dtparam=uart0 # Change activity LED behavior (default: blink for MMC access) dtparam=act_led_trigger=heartbeat # Disable Bluetooth (not wanted on a server) dtoverlay=disable-bt-pi5 # Enable PPS on GPIO 18 for MAX-M8Q GNSS HAT dtoverlay=pps-gpio,gpiopin=18,capture_clear ** Affects: ubuntu-meta (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-meta in Ubuntu. https://bugs.launchpad.net/bugs/2057822 Title: Removing irqbalance disables power button on Raspberry Pi 5 Status in ubuntu-meta package in Ubuntu: New Bug description: As discussed in Bug #1833322: "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" (https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1833322) the irqbalance package will no longer be installed by default in Noble. So as a test I removed the package from my Raspberry Pi 5 running Mantic, after which the Pi 5's power button no longer worked to poweroff the system. Re-installing irqbalance caused the button to work again. With irqbalance installed I see these messages at boot time: kernel: input: pwr_button as /devices/platform/pwr_button/input/input1 systemd-logind[694]: Watching system buttons on /dev/input/event0 (pwr_button) Without irqbalance I see this: kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6 So the Raspberry Pi 5 might still need irqbalance installed, or perhaps there's a better solution for enabling the button. I have the following appended to the Mantic default /boot/firmware/config.txt: # Trickle charge the RTC battery (default: don't charge) dtparam=rtc_bbat_vchg=300 # Enable the PCIe external connector dtparam=nvme # Force PCIe Gen 3.0 (default: Gen 2.0; not certified for Gen 3.0) # dtparam=pciex1_gen=3 # Enable second serial port on GPIO 14 & 15 (default: disabled) dtparam=uart0 # Change activity LED behavior (default: blink for MMC access) dtparam=act_led_trigger=heartbeat # Disable Bluetooth (not wanted on a server) dtoverlay=disable-bt-pi5 # Enable PPS on GPIO 18 for MAX-M8Q GNSS HAT dtoverlay=pps-gpio,gpiopin=18,capture_clear To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/2057822/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1833322] Re: Please consider no more having irqbalance enabled by default (per image/use-case/TBD)
Since I saw that irqbalance was not going to be installed by default in Noble I removed it from my Raspberry Pi 5 running Mantic, and as a result the power button stopped working. The error is: kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6 Reinstalling irqbalance made the power button work again. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-meta in Ubuntu. https://bugs.launchpad.net/bugs/1833322 Title: Please consider no more having irqbalance enabled by default (per image/use-case/TBD) Status in cloud-images: New Status in Release Notes for Ubuntu: Fix Released Status in Ubuntu on IBM z Systems: Fix Released Status in irqbalance package in Ubuntu: Opinion Status in ubuntu-meta package in Ubuntu: Fix Released Bug description: as per https://github.com/pop-os/default-settings/issues/60 Distribution (run cat /etc/os-release): $ cat /etc/os-release NAME="Pop!_OS" VERSION="19.04" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Pop!_OS 19.04" VERSION_ID="19.04" HOME_URL="https://system76.com/pop"; SUPPORT_URL="http://support.system76.com"; BUG_REPORT_URL="https://github.com/pop-os/pop/issues"; PRIVACY_POLICY_URL="https://system76.com/privacy"; VERSION_CODENAME=disco UBUNTU_CODENAME=disco Related Application and/or Package Version (run apt policy $PACKAGE NAME): $ apt policy irqbalance irqbalance: Installed: 1.5.0-3ubuntu1 Candidate: 1.5.0-3ubuntu1 Version table: *** 1.5.0-3ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status $ apt rdepends irqbalance irqbalance Reverse Depends: Recommends: ubuntu-standard gce-compute-image-packages Issue/Bug Description: as per konkor/cpufreq#48 and http://konkor.github.io/cpufreq/faq/#irqbalance-detected irqbalance is technically not needed on desktop systems (supposedly it is mainly for servers), and may actually reduce performance and power savings. It appears to provide benefits only to server environments that have relatively-constant loading. If it is truly a server- oriented package, then it shouldn't be installed by default on a desktop/laptop system and shouldn't be included in desktop OS images. Steps to reproduce (if you know): This is potentially an issue with all default installs. Expected behavior: n/a Other Notes: I can safely remove it via "sudo apt purge irqbalance" without any apparent adverse side-effects. If someone is running a situation where they need it, then they always have the option of installing it from the repositories. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/1833322/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1796911] Re: libnss-systemd was denied talking to pid1
I see very similar errors with strongSwan when the daemon charon is run as non-root: [119648.278942] audit: type=1107 audit(1540071113.311:674): pid=806 uid=105 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=26066 label="/usr/lib/ipsec/charon" peer_pid=1 peer_label="unconfined" -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1796911 Title: libnss-systemd was denied talking to pid1 Status in apparmor package in Ubuntu: New Bug description: cosmic apparmor 2.12-4ubuntu8 kernel 4.18.0-8-generic #9-Ubuntu I'm getting these audit messages in dmesg showing apparmor denied errors: [ 68.649187] audit: type=1107 audit(1539094926.655:32): pid=605 uid=105 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=1091 label="/usr/sbin/named" peer_pid=1 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=105 hostname=? addr=? terminal=?' [ 161.059989] audit: type=1107 audit(1539095018.957:33): pid=605 uid=105 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=1191 label="/usr/sbin/named" peer_pid=1 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=105 hostname=? addr=? terminal=?' [ 437.582034] audit: type=1107 audit(1539095295.553:34): pid=605 uid=105 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=1534 label="/usr/sbin/named" peer_pid=1 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=105 hostname=? addr=? terminal=?' [ 468.184231] audit: type=1107 audit(1539095326.159:35): pid=605 uid=105 auid=4294967295 ses=4294967295 subj==unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=1577 label="/usr/sbin/named" peer_pid=1 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=105 hostname=? addr=? terminal=?' I pinged #ubuntu-hardened, and xnox had these comments: ha ahasenack, libnss-systemd was denied talking to pid1 to query dynamicusers i think so i think something somehwere need adjustemnt to allow libnss-systemd to talk to pid1 and call GetDynamicUsers LookupDynamicUserByName LookupDynamicUserByUID GetDynamicUsers as well To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1796911/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp