[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2024-04-15 Thread lotuspsychje
On Ubuntu-desktop 24.04 development branch @ 15/4/2024 filing a bug against 'linux' now gives these warnings in terminal: REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-11-11 Thread lotuspsychje
I'm currently testing Ubuntu desktop 24.04 development branch with kernel 6.5.0-10-generic After filing a bug against the kernel; ubuntu-bug linux i'm getting a GUI warning the package is wrong and results onto this error: cloud-init run data not found on system. Unable to add cloud-specific

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-11-07 Thread Juerg Haefliger
I don't think that is sufficient for all possible source, meta and binary kernel package incarnations. I need to do some testing. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-27 Thread Benjamin Drung
I discussed this topic with Simon and we came up with a less fragile solution: Each kernel binary package can ship a symlink to /usr/share/apport/package-hooks/source_linux.py. Example: linux- image-5.19.0-50-generic should ship /usr/share/apport/package- hooks/linux-image-5.19.0-50-generic.py ->

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-24 Thread Juerg Haefliger
Maybe something like this? https://git.launchpad.net/~juergh/+git/apport/log/?h=juergh/ubuntu/devel Move and rename source_linux.py to general-hooks/zz-kernel.pi, ensure it runs last (because it wants properties that are set by other general hooks) and only for kernel and related (firmware and

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
Maybe it doesn't matter if the kernel hook is triggered for those since they never get bug reports anyways :-) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2018128 Title:

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
List of kernel source packages as of 2023/10/23. ** Attachment added: "ubuntu-kernels.list" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2018128/+attachment/5712664/+files/ubuntu-kernels.list -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
I don't think we can do this with a regex. There are linux- package that are not kernels. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2018128 Title: Apport does not

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Benjamin Drung
The source_linux.py package hook could be moved to general-hooks (where it is always run) and do a regular expression check for the source package name. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
Or the kernel package itself needs to provide the symlink. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2018128 Title: Apport does not collect all logs when the package

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
This needs some rework. Kernel source package names change a lot and with every release so static symlinks will not work. We might have to query LP to get up-to-date kernel source information. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Benjamin Drung
Can you test with including the version number in the link name? /usr/share/apport/package-hooks/source_linux-signed-hwe-5.19.py -> source_linux.py -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-10-23 Thread Juerg Haefliger
** Changed in: linux (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2018128 Title: Apport does not collect all logs when the

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-05-21 Thread lotuspsychje
@4 Benjamin i ran sudo ln -s source_linux.py /usr/share/apport/package- hooks/source_linux-signed-hwe.py and added a symlink /usr/share/apport/package-hooks/source_linux-signed- hwe.py -> source_linux.py then created a new bug against 'linux' but the results were the same, no logs were imported

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-05-15 Thread Benjamin Drung
The kernel package has an exception. The apport package ships the source_linux.py hooks and several symlinks: ``` $ ls -l /usr/share/apport/package-hooks/source_linux* lrwxrwxrwx 1 root root 15 Apr 14 00:17 /usr/share/apport/package-hooks/source_linux-firmware.py -> source_linux.py lrwxrwxrwx

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-05-08 Thread Brian Murray
The apport package hooks are actually shipped by the individual packages so this is something for the for the maintainers of the kernel package to address. ** Package changed: apport (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel

2023-04-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.