Commit Graph
97 Commits
Author SHA1 Message Date
feffe db865eafe9 do not re-test ignored processes 2024-08-03 07:04:14 +02:00
feffe 7cce11022c prepare for 1.3.4 2024-07-27 16:45:09 +02:00
feffe cef0f8d8bc fix configurable process->service mapping on systemd 2024-07-27 14:00:11 +02:00
feffe 00496493cd prepare v1.3.3 2024-07-26 12:45:13 +02:00
feffe 434858174c fix live_system config 2024-07-26 12:44:35 +02:00
feffe a4a28a1fb3 correct log message for system upgrades 2024-07-26 12:30:47 +02:00
feffe ae560e96c0 add more system package debugging 2024-07-26 12:19:28 +02:00
feffe 9970fe3365 add debug of eclasses 2024-07-26 12:15:18 +02:00
feffe 2491df81f6 fix rust/go rebuilds on gentoo 2024-07-26 11:25:18 +02:00
feffe 9593a7d09f prepare for v1.3.1 2024-07-26 10:48:07 +02:00
feffe 093470d27d Ignore user service on systemd
Instead emit warning about the need to log out and log in again
2024-07-26 10:46:59 +02:00
feffe c2890da0f3 fix service log message 2024-07-26 10:40:29 +02:00
feffe 2886e367b3 add live_system config option
This is to be used in environments where reboot is strictly unneeded;
such as when building packages in a chroot
2024-07-25 19:25:12 +02:00
feffe 59e8fcc4e6 bump version 2024-07-24 18:40:56 +02:00
feffe 9261daeb74 fix fallback argument to reboot 2024-07-24 18:32:48 +02:00
feffe 56901faefe fix enabled logic 2024-07-21 11:28:15 +02:00
feffe 8bd417de2d support better rebuilds in gentoo
* run @golang-rebuild after upgrade of dev-lang/go
* rebuild dependencies to updated go modules
* run @rust-rebuild after upgrade of dev-lang/rust
* run perl-cleaner after upgrade of dev-lang/perl
* run @live-rebuild during upgrade
2024-07-21 11:20:13 +02:00
feffe 9e2ab32435 new method to identify system packages on gentoo
System packages are now:
* Anything in sys-boot/ category
* sys-libs/glibc and sys-libs/musl
* any ebuild that uses one of these eclasses:
    - dist-kernel-utils
    - linux-mod-r1
    - kernel-install
2024-07-20 17:29:37 +02:00
feffe 29e5f865d0 bump version 2024-07-20 09:18:51 +02:00
feffe 8bbd8dbec2 proper return codes and warnings if reboot is required 2024-07-19 20:55:48 +02:00
feffe 76639d8472 also restart static services 2024-07-19 17:27:40 +02:00
feffe e0cb7b8ca0 better support for service restarts on systemd 2024-07-19 17:23:40 +02:00
feffe 22a2b4557b new naming for gentoo installkernel 2024-07-13 21:52:05 +02:00
feffe 2151f6f8f7 report error instead of warning when a package prevent upgrade 2024-07-13 07:55:43 +02:00
feffe e2a91dd8ae fix exception raising 2024-07-13 07:52:17 +02:00
feffe 2a880b5033 fix exit codes on upgrade failure 2024-07-13 07:40:23 +02:00
feffe 0e577bebc5 spelling 2024-06-16 14:28:54 +02:00
feffe 6305fd053b fix systemd test 2024-06-16 14:24:23 +02:00
feffe 5e5b77ed5e attempt to add systemd-support for gentoo 2024-06-16 13:45:51 +02:00
feffe cd33f98b8b only attempt to do grub if grub is installed 2024-03-22 16:27:59 +01:00
feffe 7ac103033c run emaint after sync 2024-03-01 07:24:03 +01:00
feffe 3ac30e5539 fix keyword 2023-05-21 08:35:25 +02:00
feffe 39a61aeddd allow to customize how many kernels to keep on gentoo system upgrade 2023-05-15 06:42:13 +02:00
feffe aafe46d429 add support to clean unused dependencies on freebsd 2023-04-01 12:05:20 +02:00
feffe aae85806c1 add support for grub 2023-03-12 14:26:42 +01:00
feffe 0ea7804427 proper error message on gentoo when service could not be identified. 2023-03-12 08:07:40 +01:00
feffe 688af9ac62 make sure to upgrade all dependencies on gentoo 2022-12-11 09:54:17 +01:00
feffe 06ad5bde9e bump version 2021-07-04 15:05:04 +02:00
feffe ac1a0baf92 thinking makes me insane :( 2021-07-04 15:00:42 +02:00
feffe 214ec6abad fix version calculation on gentoo 2021-07-04 14:52:35 +02:00
feffe f5adcbc140 hopefully fixed logic error... 2021-07-04 13:51:25 +02:00
feffe 5a20f43255 detect binary packages upgrades on gentoo 2021-02-22 17:21:05 +01:00
feffe a0a58c46d9 bump version 2021-02-20 16:11:25 +01:00
feffe 3e3252ed48 add support for do_reposync on gentoo 2021-02-20 16:00:27 +01:00
feffe 9eebd56869 fix selinux policy on gentoo 2020-05-06 18:35:36 +02:00
feffe 5d5947c99e still needs to transition when doing restarts... 2020-04-13 10:31:57 +02:00
feffe afa616916d make sau unconfined again... I admit defeat for now. 2020-04-13 10:22:05 +02:00
feffe fd66a30de4 another attempt to fix sau service restart... 2020-03-08 07:33:08 +01:00
feffe 994b93e3b4 updated selinux policy; hopefully services are no longer started as
sau_t after restart
2020-03-01 08:20:41 +01:00
feffe 8a29ab82b0 handle case when process is none in services 2020-02-26 08:11:22 +01:00
feffe 13e56c6d56 raise timeout on gentoo because gentoo... 2020-02-08 08:18:23 +01:00
feffe 4ca971687b remove deprecated SafeConfigParser usage 2020-01-06 07:37:08 +01:00
feffe eca94f40d9 upgrade to python 3.7 2020-01-06 07:31:51 +01:00
feffe 81dfa5567e log reboot message to info-level 2019-12-22 08:39:07 +01:00
feffe b1c520b257 use eix-sync if it exists - running eix-update after a sync does not
update cache for overlays
2019-12-21 17:05:41 +01:00
feffe 712a4e986f restore 'reboot' policy 2019-12-16 23:12:50 +01:00
feffe 32b98e4dbc fixed missing log assignment 2019-12-16 21:29:53 +01:00
feffe 44088bd64b fix service check 2019-12-16 21:21:59 +01:00
feffe aadd0e2641 fix warnings 2019-12-16 20:33:41 +01:00
feffe 1322918dcc added support for silent-reboot and gentoo without gentoo-sources kernel 2019-12-16 20:03:49 +01:00
feffe 79dd24809d execute subcommands in parent enviornment (resepect http_proxy and
similar)
2019-10-25 19:57:50 +02:00
feffe 04cbedb9c0 added option to reboot for specific services 2019-10-12 21:37:26 +02:00
feffe 6ba04be1d3 allow sau to handle postfix 2019-07-08 17:53:44 +02:00
feffe 7456538907 fixed sanity-check on parent in restart_services 2019-06-24 18:07:45 +02:00
feffe db9eab4660 finally fixed! 2019-06-23 19:05:22 +02:00
feffe 8bd3148a66 another attempt... 2019-06-22 14:59:26 +02:00
feffe 7833254c33 another attempt to fix restarts 2019-06-22 13:35:23 +02:00
feffe 7f84e141c8 fixed re-testing of child-processes 2019-06-21 13:55:17 +02:00
feffe 5b7f847fe6 revert previous fix because that fix was not a fix... 2019-05-31 12:39:16 +02:00
feffe 945594b8ab fixed logic for detecting version diff... 2019-05-30 09:08:48 +02:00
feffe 5de7b77f04 fix crash when forcing termination of subprocesses 2019-05-26 12:18:24 +02:00
feffe aa3aef7be0 fixed crash on failed command execution 2019-05-11 10:14:47 +02:00
feffe ec0fe9db5c set default execution timeout to 15 minutes 2019-05-11 10:11:06 +02:00
feffe 10d1999340 fixed default_service_policy setting 2019-04-28 07:50:14 +02:00
feffe 45eefb251b fixed pkg parsing in freebsd 2019-04-18 10:43:57 +02:00
feffe 6f69be3f6a * allow mapping processes to multiple init-scripts
* reverse-ish the version logic
2019-04-18 10:31:00 +02:00
feffe f121466eaa set timeout on all subprocesses 2019-04-18 09:40:28 +02:00
feffe 5eda3b6e85 fork and reboot instead of just reboot; hopefully will make sure a mail
is sent from cron even if a reboot happens
2019-04-17 08:50:26 +02:00
feffe b6dc7b39ea do not recommend restart for 'warn' policy services 2019-04-12 21:07:40 +02:00
feffe 505b39612c changed some loglevels 2019-04-12 19:45:30 +02:00
feffe 2818e57023 added option to silently restart services 2019-04-09 21:53:55 +02:00
feffe febd6e2eb7 do not warn of open files for ignored processes 2019-04-09 21:17:26 +02:00
feffe 42beaa25ed fixed ignore option for process map 2019-04-09 21:09:09 +02:00
feffe c16cdec7c4 added more options to set restart policy on services and ignore certain
processes
2019-04-09 20:56:55 +02:00
feffe b60d5a4e5c added more config options, among others an option to run depclean on
gentoo
2019-04-09 18:13:37 +02:00
feffe 3f9103552e import os since we use it... 2019-04-09 17:31:29 +02:00
feffe 920e2da456 update eix on gentoo if it is installed 2019-04-09 17:22:07 +02:00
feffe aeadb3fe96 set correct label on sau executable 2019-04-07 20:10:40 +02:00
feffe e58a981ee7 fix typo 2019-04-07 19:36:12 +02:00
feffe 50af5a9e4d added option to disable system- and package upgrade as well as service
restart
2019-04-07 19:27:15 +02:00
feffe bdbad6084b added selinux module 2019-04-07 19:20:24 +02:00
feffe d08fa867d4 fixed detection of deleted files on linux 2019-04-07 14:29:54 +02:00
feffe 6f19bf71ca only upgrade on freebsd if no package require manual attention 2019-04-07 10:02:44 +02:00
feffe d0cb0d1124 fixed bug when failing to detect service script 2019-04-07 09:35:21 +02:00
feffe 465b71cf57 make setup.py executable 2019-04-07 09:08:40 +02:00
feffe 118f0b2d78 initial git import 2019-04-06 23:50:54 +02:00
feffe ea733c2f55 Initial commit 2019-04-06 15:57:10 +02:00