Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84968

Bug#894906: linux-cpupower: provide a systemd service and a default config file

From Francesco Poli <invernomuto@paranoici.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#894906: linux-cpupower: provide a systemd service and a default config file
Date 2024-12-28 18:00 +0100
Message-ID <JYIkp-3uft-1@gated-at.bofh.it> (permalink)
References (3 earlier) <JmZmh-cslE-5@gated-at.bofh.it> <JprxM-e2mQ-7@gated-at.bofh.it> <JpvUJ-e53M-7@gated-at.bofh.it> <vBcuZ-4Bk-1@gated-at.bofh.it> <JpvUJ-e53M-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 22 Sep 2024 16:37:37 +0200 Francesco Poli wrote:

[...]
> I reiterate the request to integrate the three files into the
> 'linux-cpupower' package, with the systemd service disabled by default.
[...]

I have further improved the 'cpupower.sh' after analyzing it with
shellcheck (Debian package 'shellcheck').

I am re-attaching the three files to this message, for clarity's sake.

> I acknowledge that they are probably sub-optimal and could be further
> generalized and/or enhanced.
> But, until someone comes up with a better solution, they are better
> than nothing...
> The current situation is that every user has to set up ad-hoc solutions
> (perhaps involving the deprecated 'rc.local' file or otherwise), unless
> he/she can leverage some desktop tool...
> 
> And, of course, any of you from the Debian Kernel Team can further
> improve the files at any time.
> But, please, first ship the three files in the package, without waiting
> for the perfect solution. This bug report has been open since April
> 2018... As Voltaire once said, the better is the enemy of the good.

Please, pretty please, ship the three files with the 'linux-cpupower'
package, setting the systemd service disabled by default.

Let's fix this bug once and for all!





N.B.:
For any user who wants to manually install the three attached files
*before* they are shipped by 'linux-cpupower', the commands are:

  # install -m 644 cpupower.default /etc/default/cpupower
  # install -m 755 cpupower.sh /usr/libexec/cpupower
  # install -m 644 cpupower.service /usr/lib/systemd/system/
  # systemctl daemon-reload

After this manual installation (or once the 'linux-cpupower' package
ships them and installs the systemd service disabled by default), the
administrator (root user) can edit /etc/default/cpupower as appropriate
and then issue the command:

  # systemctl enable --now cpupower.service



-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#894906: linux-cpupower: provide a systemd service and a default config file jim_p <pitsiorisj@outlook.com> - 2024-07-22 17:00 +0200
  Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-07-27 18:00 +0200
    Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-15 17:30 +0200
      Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2024-09-21 17:20 +0200
      Bug#894906: linux-cpupower: provide a systemd service and a default config file Bastian Blank <waldi@debian.org> - 2024-09-22 12:00 +0200
        Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-22 16:40 +0200
          Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-12-28 18:00 +0100
            Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-03-10 19:40 +0100
              Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-03-17 21:30 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-03-18 18:40 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-03-21 13:30 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-08-31 11:20 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-09-29 23:10 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-10-13 17:30 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-10-13 23:20 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-10-15 20:30 +0200

csiph-web