EOS-reboot-required stopped working

Please show the output of

systemctl status eos-reboot-required.timer
systemctl status eos-reboot-required.service

I just ran that on mine and…

❯ systemctl status eos-reboot-required.timer
  systemctl status eos-reboot-required.service
○ eos-reboot-required.timer - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.timer; disabled; preset: disabled)
     Active: inactive (dead)
    Trigger: n/a
   Triggers: ● eos-reboot-required.service
○ eos-reboot-required.service - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.service; disabled; preset: disabled)
     Active: inactive (dead)
~ ❯❯❯ 

That output seems OK.

Okay cool, thanks Manuel.

tested with sudo pacman -S mesa and the reboot popped up as expected.

I figured I’d run those commands as well. My output appears longer.

─❯ systemctl status eos-reboot-required.timer
○ eos-reboot-required.timer - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.timer; disabled; preset: disabled)
     Active: inactive (dead)
    Trigger: n/a
   Triggers: ● eos-reboot-required.service

Mar 22 15:33:19 endeavourmsi systemd[1]: Started Notify about reboot on special conditions..
Mar 22 15:33:19 endeavourmsi systemd[1]: eos-reboot-required.timer: Deactivated successfully.
Mar 22 15:33:19 endeavourmsi systemd[1]: Stopped Notify about reboot on special conditions..
─❯
─❯ systemctl status eos-reboot-required.service
○ eos-reboot-required.service - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.service; disabled; preset: disabled)
     Active: inactive (dead)

Mar 22 15:33:19 endeavourmsi systemd[1]: Starting Notify about reboot on special conditions....
Mar 22 15:33:19 endeavourmsi systemctl[331906]: Removed '/etc/systemd/system/timers.target.wants/eos-r>
Mar 22 15:33:23 endeavourmsi su[332412]: (to wombat) root on none
Mar 22 15:33:23 endeavourmsi su[332412]: pam_unix(su:session): session opened for user wombat(uid=1000>
Mar 22 15:33:23 endeavourmsi su[332412]: pam_unix(su:session): session closed for user wombat
Mar 22 15:33:23 endeavourmsi systemd[1]: eos-reboot-required.service: Deactivated successfully.
Mar 22 15:33:23 endeavourmsi systemd[1]: Finished Notify about reboot on special conditions..
─❯
○ eos-reboot-required.timer - Notify about reboot on special conditions.
Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.timer; disabled; preset: disabled)
Active: inactive (dead)
Trigger: n/a
Triggers: ● eos-reboot-required.service

Mar 22 16:07:34 dave-82xv systemd[1]: Started Notify about reboot on special conditions..
Mar 22 16:07:34 dave-82xv systemd[1]: eos-reboot-required.timer: Deactivated successfully.
Mar 22 16:07:34 dave-82xv systemd[1]: Stopped Notify about reboot on special conditions..
○ eos-reboot-required.service - Notify about reboot on special conditions.
Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.service; enabled; preset: disabled)
Active: inactive (dead)

Mar 22 16:07:34 dave-82xv systemd[1]: Starting Notify about reboot on special conditions…
Mar 22 16:07:34 dave-82xv systemctl[3300]: Removed ‘/etc/systemd/system/timers.target.wants/eos-reboot-required.timer’.
Mar 22 16:07:38 dave-82xv systemd[1]: eos-reboot-required.service: Deactivated successfully.
Mar 22 16:07:38 dave-82xv systemd[1]: Finished Notify about reboot on special conditions..

But the test with sudo pacman -S mesa works as planned.

systemctl status eos-reboot-required.timer

○ eos-reboot-required.timer - Notify about reboot on special conditions.

Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.timer; disabled; preset: disabled)

Active: inactive (dead)

Trigger: n/a

Triggers: ● eos-reboot-required.service

Mär 22 13:09:45 HAL systemd[1]: Started Notify about reboot on special conditions..

Mär 22 13:09:59 HAL systemd[1]: eos-reboot-required.timer: Deactivated successfully.

Mär 22 13:09:59 HAL systemd[1]: Stopped Notify about reboot on special conditions..

Mär 22 23:01:26 HAL systemd[1]: Started Notify about reboot on special conditions..

Mär 22 23:01:27 HAL systemd[1]: eos-reboot-required.timer: Deactivated successfully.

Mär 22 23:01:27 HAL systemd[1]: Stopped Notify about reboot on special conditions..

systemctl status eos-reboot-required.service

○ eos-reboot-required.service - Notify about reboot on special conditions.

Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.service; disabled; preset: disabled)

Active: inactive (dead)

Run

systemctl disable eos-reboot-required.service

and then install mesa again.

Nope, still no notification. The service status shows that it started and finished Notify, though. I’m on Plasma, maybe there’s some kind of problem with it. But I’m getting notifications through it from Firefox, so seems ok.

I’m not getting the notification now either after updating.

#!/bin/bash

## REBOOT_MAX_TOTAL_WAIT defines the maximum time in seconds
## to wait before notifying about recommended reboot.
## If you install or update a package that requires more time,
## consider increasing the value accordingly to have more accurate notifications.
## Default: 300
#
REBOOT_MAX_TOTAL_WAIT=300

## REBOOT_WAIT_DIFF defined how many seconds to wait after checking again if all
## pacman-like processes have finished and the database lock filehas been released.
## This time is typically from 3 to 5 seconds.
## Default: 4
#
REBOOT_WAIT_DIFF=4

## REBOOT_NOTIFICATION_USER defines the user name to get notification about reboot recommendations.
## Then other users don't receive the notifications.
## Default: empty
## Example: REBOOT_NOTIFICATION_USER=username
#
REBOOT_NOTIFICATION_USER="erik"

## REBOOT_EXPIRE_TIME defines the time (in seconds) to show the reboot notification.
## Default: empty
## Example: REBOOT_EXPIRE_TIME=30
#
REBOOT_EXPIRE_TIME=""

╰─❮ systemctl status eos-reboot-required.timer
○ eos-reboot-required.timer - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.timer; disabled; preset: disabled)
     Active: inactive (dead)
    Trigger: n/a
   Triggers: ● eos-reboot-required.service

Mar 23 06:32:38 erik-um5606wa systemd[1]: Started Notify about reboot on special conditions..
Mar 23 06:32:38 erik-um5606wa systemd[1]: eos-reboot-required.timer: Deactivated successfully.
Mar 23 06:32:38 erik-um5606wa systemd[1]: Stopped Notify about reboot on special conditions..
╰─❮ systemctl status eos-reboot-required.service
○ eos-reboot-required.service - Notify about reboot on special conditions.
     Loaded: loaded (/usr/lib/systemd/system/eos-reboot-required.service; enabled; preset: disabled)
     Active: inactive (dead)

Mar 23 06:32:38 erik-um5606wa systemd[1]: Starting Notify about reboot on special conditions....
Mar 23 06:32:38 erik-um5606wa systemctl[4456]: Removed '/etc/systemd/system/timers.target.wants/eos-reboot-required.timer'.
Mar 23 06:32:43 erik-um5606wa systemd[1]: eos-reboot-required.service: Deactivated successfully.
Mar 23 06:32:43 erik-um5606wa systemd[1]: Finished Notify about reboot on special conditions..

Strange.
Is it possible that showing notifications is disabled on your system?

@MrSmartepants, shouldn’t this have a number?

I thought it wasn’t needed. Having no time listed would leave the notification on indefinitely…right?

Is your username erik or erik-um5606wa ? Have you tried blanking user to see if that helps?

No issues here yesterday but my config is default

To get a notification a username is not required, but you may add a name.
So this is OK to write

REBOOT_NOTIFICATION_USER=""

If you want a timeout for the notification, then add a number to the variable below, e.g. 10 seconds:

REBOOT_EXPIRE_TIME="10"

If the value is empty, the notification will stay visible until you manually close it (or e.g. log out).

Theoretically. :smiley: Mine requires a username and/or expire time. Notify-send works with or without, so I don’t think it’s the notification system. But if the default settings are working for everybody else–it must be me.

Well, if that’s the expected result, then it does not happen on my machine.

I’ve uninstalled it, deleted the .conf (pacnew & pacsave) files, then reinstalled it, rebooted…and it still fails to notify on mesa install.

yay -R eos-reboot-recommended
yay -S eos-reboot-recommended

I don’t get the reboot notification UNLESS I add BOTH my username and timeout number to the .conf file.

Strange, there’s something peculiar in that behavior.

Maybe this helps nothing, but could you try a small change in commands:

sudo pacman -Rsn eos-reboot-recommended
sudo pacman -Syu eos-reboot-recommended

Doesn’t fix it for me.

Are you using wayland or x11?