Hi Nick, indeed the issue has been discussed upstream. After thinking about this over the past few days, The plan is to add the patch back again (although, from an upstream code base, it's still doing the same thing, and the default was just moved into the code-based). As this has caused an issue for cockpit, I am hence going to add the patch back, although it doesn't really server purpose, other than specifically specifying the default for Debian.
I'll upload new versions for jammy, noble and plucky with /tmp as the default. As these are stable builds, we don't want to be changing to a new location, as that would mean a change in behaviour. sos 4.10.0 is due in Mid-August, and will change to /var/tmp as the default moving forward, as we have a cleanup method for both Ubuntu and Debian now. On top of this we'll add tmpfiles.d config similar to how the RPM packages do it moving forward. I'll upload the new packages some time this week with this detail. Any SRU folks coming, please remove the current sosreport package from Unapproved (jammy & noble), as there will be a new one this week. -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to sos in Ubuntu. https://bugs.launchpad.net/bugs/2114840 Title: [sru] sos upstream 4.9.2 Status in sos package in Ubuntu: Fix Released Status in sosreport source package in Jammy: Incomplete Status in sosreport source package in Noble: Incomplete Status in sos source package in Plucky: Fix Committed Status in sos source package in Questing: Fix Released Bug description: [ Impact ] * A new sosreport version is available upstream, and following the https://wiki.ubuntu.com/SosreportUpdates policy for stable release exception we will now SRU the sosreport 4.9.2 upstream release. * This release introduces a couple of new plugins as well as bugfixes done between the previous Ubuntu 4.8.2 sosreport version and the new 4.9.2. * This update also changes the name of the package from sosreport to sos, so this aspect will need to be tested to ensure there is no regression. * There was an un-intended regression with 4.8.2 where the sos was being landed in /var/tmp instead of /tmp. The patch was implemented upstream to solve the issue, and will be added from https://github.com/sosreport/sos/pull/4062 [ Test Plan ] * The detailed test plan can be found on https://wiki.ubuntu.com/SosreportUpdates and should be tested by a couple of users. [ Where problems could occur ] * Some plugins might stop working, and this will show when running sosreport. * If there is an issue with a plugin that is causing instability to the system, this can be disabled by running 'sosreport -n <plugin_name>'. * Currently running sos collect with Juju 3 is -not- working, even for the current 4.8.2 Ubuntu version, we are working upstream on a fix here: https://github.com/sosreport/sos/pull/3422 this is not part of the core functionality of sos, and one can still run sos report manually on the nodes. [ Other Info ] * Useful plugins and updates that are now part of 4.8.2 and could do some testing: Upload * A new sos upload component has been added, moving the upload code from Policy() and allowing end-users to upload files to vendor locations from systems that may not match the vendor's products/distributions (e.g. when a report archive cannot be uploaded directly from the generating system, and must instead be uploaded from a workstation). Clean * The IPv6 MAC address parser has been updated to reduce false positive matches, including reduce matching again on previously obfuscated strings from other parsers. * No further obfuscation of .gz files when using --keep-binary-files option Report * Fixed regression in requesting case-id if not present * Ubuntu/Debian policy to use /tmp as default tmp-dir Plugins * New plugins: aap_containerized, oratab, charmed_mysql, helm, pulseaudio, valkey * The python plugin will now collect verbose output via pip. * Journal collection speed has been improved via a combination of a python implementation of tac, and calling non-sizelimited journal collections with --reverse. * Users and automation that relies on static file naming is reminded that sos_reports/manifest.json should be referenced and the use of tags to find collections within an archive is recommended so that command string changes do not break parsing automation. * Plugins that collect stackdumps from processes by first sending a signal to those processes have been standardized on a new Plugin.signal_process_usr1() method. * The crio plugin now supports a stackdump plugin option to collect a stackdump from the main crio process. * The o_horizon plugin newly obfuscates credentials in local_settings.py * The squid plugin has updated Debian and Ubuntu paths * The networking plugin newly collects contents of netplan configuration dirs * The ceph plugin newly obfuscates rgw password in ceph.conf * The ubuntu plugin is revamped * openstack_gnocchi plugin newly obfuscates db connection * system proxy is newly being automatically collected * The ssh plugin stops default listing of users's .ssh dirs * The dnf plugin scrubs passwords in repository URIs * The mongodb` plugin updated for Ubuntu * The apache plugin was updated for RHEL10 * The dpkg newly collects /etc/dpkg * The sunbeam_* plugins were incrementally enhanced * The dqlite plugin newly collects various Consumer collections To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sos/+bug/2114840/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

