Fix cron warnings for drolsum #149

Open
opened 2024-08-30 13:30:28 +02:00 by oysteikt · 1 comment
Owner

Why is it dead, please fix

email sample
/etc/cron.daily/nightly-pkgsync:
Error: Missing files in /etc/pkgsync. Aborting.

Please see /usr/share/doc/pkgsync/README.Debian for information on
configuring pkgsync.
/etc/cron.daily/pvv-salt:
[ERROR   ] Service ntp failed to start
[ERROR   ] The following packages failed to install/update: python3-pillow
94 targeted packages were already installed
local:
----------
          ID: ntp
    Function: service.running
      Result: False
     Comment: Service ntp failed to start
     Started: 06:48:18.189775
    Duration: 104.642 ms
     Changes:  
----------
          ID: fwlogin_packages
    Function: pkg.installed
      Result: False
     Comment: The following packages failed to install/update: python3-pillow
              94 targeted packages were already installed
     Started: 06:48:30.938499
    Duration: 2406.744 ms
     Changes:  

Summary for local
---------------
Succeeded: 2570
Failed:       2
---------------
Total states run:     2572
Total run time:     15.103 s
run-parts: /etc/cron.daily/pvv-salt exited with return code 2
Why is it dead, please fix <details> <summary>email sample</summary> ``` /etc/cron.daily/nightly-pkgsync: Error: Missing files in /etc/pkgsync. Aborting. Please see /usr/share/doc/pkgsync/README.Debian for information on configuring pkgsync. /etc/cron.daily/pvv-salt: [ERROR ] Service ntp failed to start [ERROR ] The following packages failed to install/update: python3-pillow 94 targeted packages were already installed local: ---------- ID: ntp Function: service.running Result: False Comment: Service ntp failed to start Started: 06:48:18.189775 Duration: 104.642 ms Changes: ---------- ID: fwlogin_packages Function: pkg.installed Result: False Comment: The following packages failed to install/update: python3-pillow 94 targeted packages were already installed Started: 06:48:30.938499 Duration: 2406.744 ms Changes: Summary for local --------------- Succeeded: 2570 Failed: 2 --------------- Total states run: 2572 Total run time: 15.103 s run-parts: /etc/cron.daily/pvv-salt exited with return code 2 ``` </details>
oysteikt added the
crash report
salt
bug
labels 2024-08-30 13:30:28 +02:00
oysteikt added this to the Kanban project 2024-08-30 13:30:28 +02:00
Owner

python3-pillow is renamed to python3-pil, this is now fixed in salt.

However, we are not allowed to set the system time in the LXC container, so we need to somehow detect that in the salt config and make a jinja variable for it? This is why ntp.service(required by mandatory/init.sls) fails on drolsum.

I also discovered that the time zone is wrong, it is currently in UTC (2 hours off, which is quite bad for email software and such).

`python3-pillow` is renamed to `python3-pil`, this is now fixed in salt. However, we are not allowed to set the system time in the LXC container, so we need to somehow detect that in the salt config and make a jinja variable for it? This is why ntp.service(required by mandatory/init.sls) fails on drolsum. I also discovered that the time zone is wrong, it is currently in UTC (2 hours off, which is quite bad for email software and such).
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Drift/issues#149
No description provided.