#4 Failed to enable unit: Unit file system76-power.service does not exist on Nobara 07-20 KDE
Opened 2 years ago by aurontime777. Modified a year ago

I'm using Nobara 07-20 KDE and tried to install your package. It can't be start or enable using systemctl. Even systemctl reload-daemon didn't work. It works when I system76-power daemon though so I'm pretty sure it's from the scriptlet installation process. Here's the transaction data:

Installing       : system76-power-1.1.22-1.x86_64                                                       8/8
Running scriptlet: system76-power-1.1.22-1.x86_64                                                       8/8
Failed to preset unit: Unit file system76-power.service does not exist.

Now I'm clean reinstalling them again to check what's wrong.


Same issue here on fedora 36. The nvidia card is active all the time and battery consumption is off the roof!

Tried uninstalling and then doing a fresh install. Still having the same error when trying to enable/start the service.

[anirban@fedora ~]$ sudo systemctl start system76-power
Failed to start system76-power.service: Unit system76-power.service not found.
[anirban@fedora ~]$ sudo systemctl enable system76-power
Failed to enable unit: Unit file system76-power.service does not exist.

Same issue here with fresh install of Fedora 36 on Thelio Mira.

[bradmitchell@bjmfed01 ~]$ sudo systemctl enable --now system76-power
[sudo] password for bradmitchell: 
Failed to enable unit: Unit file system76-power.service does not exist.

Got the fresh install and it didn't work. Right now the workaround is to
downgrade and disable COPR update. Works like a charm!

On Thu, Jul 28, 2022, 02:56 Brad Mitchell pagure@pagure.io wrote:

bjm2574 added a new comment to an issue you are following:
``
Same issue here with fresh install of Fedora 36 on Thelio Mira.


[bradmitchell@bjmfed01 ~]$ sudo systemctl enable --now system76-power
[sudo] password for bradmitchell:
Failed to enable unit: Unit file system76-power.service does not exist.

``

To reply, visit the link below or just reply to this email
https://pagure.io/system76/system76-power/issue/4

now I've upgraded Nobara kernel to 5.18.13-201.fsync.fc36.x86_64 and it
mysteriously works now.

Got truncated log of everything other than system76-power here:

Running transaction
   Preparing :                                                        1/1
   Installing       : 
dkms-3.0.6-1.fc36.noarch                               1/7
   Running scriptlet: 
dkms-3.0.6-1.fc36.noarch                               1/7
Created symlink /etc/systemd/system/multi-user.target.wants/dkms.service 
→ /usr/lib/systemd/system/dkms.service.

   Installing       : 
system76-driver-20.04.59-1.x86_64                      2/7
   Installing       : 
system76-firmware-1.0.41-1.x86_64                      3/7
   Running scriptlet: 
system76-firmware-1.0.41-1.x86_64                      3/7
   Installing       : 
firmware-manager-0.12-1.fc36.x86_64                    4/7
   Running scriptlet: 
firmware-manager-0.12-1.fc36.x86_64                    4/7
To enable firmware updates notification run: systemctl enable --user 
com.system76.FirmwareManager.Notify.timer

   Installing       : 
system76-acpi-dkms-1.0.2-1.x86_64                      5/7
   Running scriptlet: 
system76-acpi-dkms-1.0.2-1.x86_64                      5/7
sed: can't read /usr/src/system76-io-0.5.git.2.5ab15a65/dkms.conf: No 
such file or directory
Creating symlink /var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/source 
-> /usr/src/system76-acpi-0.5.git.2.5ab15a65
Sign command: 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build 
M=/var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/build...
Signing module 
/var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/build/system76_acpi.ko
Cleaning build area...

system76_acpi.ko.xz:
Running module version sanity check.
  - Original module
    - Found 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/system76_acpi.ko.xz
    - Storing in 
/var/lib/dkms/system76-acpi/original_module/5.18.13-201.fsync.fc36.x86_64/x86_64/
    - Archiving for uninstallation purposes
  - Installation
    - Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

   Installing       : 
system76-dkms-1.0.14-1.x86_64                          6/7
   Running scriptlet: 
system76-dkms-1.0.14-1.x86_64                          6/7
Creating symlink /var/lib/dkms/system76/0.23.git.2.4d236e33/source -> 
/usr/src/system76-0.23.git.2.4d236e33
Sign command: 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build 
M=/var/lib/dkms/system76/0.23.git.2.4d236e33/build...
Signing module /var/lib/dkms/system76/0.23.git.2.4d236e33/build/system76.ko
Cleaning build area...

system76.ko.xz:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

   Installing       : 
system76-io-dkms-1.0.2-1.x86_64                        7/7
   Running scriptlet: 
system76-io-dkms-1.0.2-1.x86_64                        7/7
Creating symlink /var/lib/dkms/system76-io/0.2.git.8.547b3a60/source -> 
/usr/src/system76-io-0.2.git.8.547b3a60
Sign command: 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C 
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build 
M=/var/lib/dkms/system76-io/0.2.git.8.547b3a60/build...
Signing module 
/var/lib/dkms/system76-io/0.2.git.8.547b3a60/build/system76-io.ko
Cleaning build area...

system76-io.ko.xz:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

Another truncated log on symlinks:

$ sudo systemctl enable com.system76.PowerDaemon.service 
system76-power-wake system76-firmware-daemon --now
Created symlink /etc/systemd/system/system76-power.service → 
/usr/lib/systemd/system/com.system76.PowerDaemon.service.
Created symlink 
/etc/systemd/system/multi-user.target.wants/com.system76.PowerDaemon.service 
→ /usr/lib/systemd/system/com.system76.PowerDaemon.service.
Created symlink 
/etc/systemd/system/suspend.target.wants/system76-power-wake.service → 
/usr/lib/systemd/system/system76-power-wake.service.
Created symlink 
/etc/systemd/system/multi-user.target.wants/system76-firmware-daemon.service 
→ /etc/systemd/system/system76-firmware-daemon.service.
$ systemctl enable --user com.system76.FirmwareManager.Notify.timer
Created symlink 
/home/username/.config/systemd/user/timers.target.wants/com.system76.FirmwareManager.Notify.timer 
→ /usr/lib/systemd/user/com.system76.FirmwareManager.Notify.timer.
$ system76-power graphics hybrid
setting graphics to hybrid
reboot for changes to take effect

Maybe I should try install them a few times until they all signed into
kernel then follow the guide i guess.

now I've upgraded Nobara kernel to 5.18.13-201.fsync.fc36.x86_64 and it
mysteriously works now.

Got truncated log of everything other than system76-power here:

```

Running transaction
Preparing :                                                        1/1
Installing       :
dkms-3.0.6-1.fc36.noarch                               1/7
Running scriptlet:
dkms-3.0.6-1.fc36.noarch                               1/7
Created symlink /etc/systemd/system/multi-user.target.wants/dkms.service
→ /usr/lib/systemd/system/dkms.service.

Installing       :
system76-driver-20.04.59-1.x86_64                      2/7
Installing       :
system76-firmware-1.0.41-1.x86_64                      3/7
Running scriptlet:
system76-firmware-1.0.41-1.x86_64                      3/7
Installing       :
firmware-manager-0.12-1.fc36.x86_64                    4/7
Running scriptlet:
firmware-manager-0.12-1.fc36.x86_64                    4/7
To enable firmware updates notification run: systemctl enable --user
com.system76.FirmwareManager.Notify.timer

Installing       :
system76-acpi-dkms-1.0.2-1.x86_64                      5/7
Running scriptlet:
system76-acpi-dkms-1.0.2-1.x86_64                      5/7
sed: can't read /usr/src/system76-io-0.5.git.2.5ab15a65/dkms.conf: No
such file or directory
Creating symlink /var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/source
-> /usr/src/system76-acpi-0.5.git.2.5ab15a65
Sign command:
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build
M=/var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/build...
Signing module
/var/lib/dkms/system76-acpi/0.5.git.2.5ab15a65/build/system76_acpi.ko
Cleaning build area...

system76_acpi.ko.xz:
Running module version sanity check.
- Original module
- Found
/lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/system76_acpi.ko.xz
- Storing in
/var/lib/dkms/system76-acpi/original_module/5.18.13-201.fsync.fc36.x86_64/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

Installing       :
system76-dkms-1.0.14-1.x86_64                          6/7
Running scriptlet:
system76-dkms-1.0.14-1.x86_64                          6/7
Creating symlink /var/lib/dkms/system76/0.23.git.2.4d236e33/source ->
/usr/src/system76-0.23.git.2.4d236e33
Sign command:
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build
M=/var/lib/dkms/system76/0.23.git.2.4d236e33/build...
Signing module /var/lib/dkms/system76/0.23.git.2.4d236e33/build/system76.ko
Cleaning build area...

system76.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

Installing       :
system76-io-dkms-1.0.2-1.x86_64                        7/7
Running scriptlet:
system76-io-dkms-1.0.2-1.x86_64                        7/7
Creating symlink /var/lib/dkms/system76-io/0.2.git.8.547b3a60/source ->
/usr/src/system76-io-0.2.git.8.547b3a60
Sign command:
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.18.13-201.fsync.fc36.x86_64 -C
/lib/modules/5.18.13-201.fsync.fc36.x86_64/build
M=/var/lib/dkms/system76-io/0.2.git.8.547b3a60/build...
Signing module
/var/lib/dkms/system76-io/0.2.git.8.547b3a60/build/system76-io.ko
Cleaning build area...

system76-io.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.18.13-201.fsync.fc36.x86_64/updates/dkms/
depmod.....

```

Another truncated log on symlinks:

```

$ sudo systemctl enable com.system76.PowerDaemon.service
system76-power-wake system76-firmware-daemon --now
Created symlink /etc/systemd/system/system76-power.service →
/usr/lib/systemd/system/com.system76.PowerDaemon.service.
Created symlink
/etc/systemd/system/multi-user.target.wants/com.system76.PowerDaemon.service
→ /usr/lib/systemd/system/com.system76.PowerDaemon.service.
Created symlink
/etc/systemd/system/suspend.target.wants/system76-power-wake.service →
/usr/lib/systemd/system/system76-power-wake.service.
Created symlink
/etc/systemd/system/multi-user.target.wants/system76-firmware-daemon.service
→ /etc/systemd/system/system76-firmware-daemon.service.
$ systemctl enable --user com.system76.FirmwareManager.Notify.timer
Created symlink
/home/username/.config/systemd/user/timers.target.wants/com.system76.FirmwareManager.Notify.timer
→ /usr/lib/systemd/user/com.system76.FirmwareManager.Notify.timer.
$ system76-power graphics hybrid
setting graphics to hybrid
reboot for changes to take effect
```

Maybe I should try install them a few times until they all signed into
kernel then follow the guide i guess.

Did it all work?

Any update on the fix yet? The issue still remains in version 1.1.23-2 on fedora 37

Metadata Update from @szydell:
- Issue assigned to szydell

a year ago

Login to comment on this ticket.

Metadata