Bug#894906: linux-cpupower: provide a systemd service and a default config file
- To: Francesco Poli <invernomuto@paranoici.org>
- Cc: 894906@bugs.debian.org
- Subject: Bug#894906: linux-cpupower: provide a systemd service and a default config file
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Mon, 13 Oct 2025 17:24:04 +0200
- Message-id: <[🔎] aO0ZlKR8tLwyIjSg@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 894906@bugs.debian.org
- In-reply-to: <aNtS4JuUgke9pb2W@eldamar.lan>
- References: <152293191771.2813.9891916718354984301.reportbug@Sirte.Hades> <20250310192537.82330cef3a2e480ea43e3fab@paranoici.org> <Z9iEYWdMqeFdSzGJ@eldamar.lan> <152293191771.2813.9891916718354984301.reportbug@Sirte.Hades> <20250318182752.ab27d2b2213e54aa6f3ffb5f@paranoici.org> <Z91Y8KdkDWBONR-m@eldamar.lan> <20250831110351.09dacc7d0ce22b57725acc4e@paranoici.org> <20250929225349.9e6901aaadf0e6103a7549be@paranoici.org> <152293191771.2813.9891916718354984301.reportbug@Sirte.Hades> <aNtS4JuUgke9pb2W@eldamar.lan> <152293191771.2813.9891916718354984301.reportbug@Sirte.Hades>
Hi,
On Tue, Sep 30, 2025 at 05:47:44AM +0200, Salvatore Bonaccorso wrote:
> Francesco,
>
> On Mon, Sep 29, 2025 at 10:53:49PM +0200, Francesco Poli wrote:
> > On Sun, 31 Aug 2025 11:03:51 +0200 Francesco Poli wrote:
> >
> > [...]
> > > Hello Salvatore,
> > > it was not a short journey, but the (refined) patch has been accepted
> > > upstream.
> > >
> > > Now I would like to see it shipped in the Debian package, please...
> > >
> > > It is already present in the Debian source package:
> > >
> > > https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower.sh
> > > https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower.service.in
> > > https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower-service.conf
> > >
> > > But the Debian binary package does not ship the files:
> > >
> > > $ dpkg -l | grep cpupower | cut -c 1-77
> > > ii libcpupower1 6.16.3-1 amd64
> > > ii linux-cpupower 6.16.3-1 amd64
> > > $ dpkg -S libexec/cpupower
> > > dpkg-query: no path found matching pattern *libexec/cpupower*
> > > $ dpkg -S cpupower.service
> > > dpkg-query: no path found matching pattern *cpupower.service*
> > > $ dpkg -S cpupower-service.conf
> > > dpkg-query: no path found matching pattern *cpupower-service.conf*
> > >
> > >
> > > Please note that:
> > >
> > > * cpupower.sh should be installed to /usr/libexec/cpupower
> > >
> > > * cpupower.service.in should be transformed (with some sed editing)
> > > into /usr/lib/systemd/system/cpupower.service (this systemd service
> > > unit is disabled by default)
> > >
> > > * cpupower-service.conf should be installed
> > > to /etc/cpupower-service.conf
> > >
> > > All this is taken care of by the Makefile, see lines 310÷315 (and other
> > > related lines):
> > >
> > > https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/Makefile#L310
> > >
> > >
> > > Please modify Debian binary package 'linux-cpupower', so that it
> > > correctly ships the three above-mentioned files in the correct
> > > destinations, with the systemd service unit disabled by default.
> > >
> > >
> > > Looking forward to seeing this bug fixed once and for all.
> > > Thanks for your time!
> >
> > Is there any update on this?
> >
> > Please fix this bug once and for all, thanks for your time and
> > dedication!
>
> Please, there is really no need to ping us regularly at this. It is on
> the open bug list with patch, we have not yet come to it.
I opened a MR to include the files in the packaging for
linux-cpupower:
https://salsa.debian.org/kernel-team/linux/-/merge_requests/1674
Regards,
Salvatore
Reply to: