100 Commits
Author SHA1 Message Date
feffe b6765ca953 bump version 2026-02-19 10:24:07 +01:00
feffe f9662254cc Bump timeout for portage upgrade path calc
Many packages and slow CPU makes portage take long time to calculate
world update path. Bumping to 1 hour timeout for now
2026-02-19 10:22:00 +01:00
feffe 46c3807554 bump version 2025-09-20 23:29:22 +02:00
feffe 79a25ef429 fix missing import 2025-09-20 23:28:48 +02:00
feffe c5605c5b69 version bump 2025-09-20 11:48:34 +02:00
feffe a176ee3c26 add support for cleaning zfs system snapshots 2025-09-20 11:45:08 +02:00
feffe d8f096ebe3 remove old kernel modules as well as kernels 2025-08-26 07:37:37 +02:00
feffe f3abc1c257 remove golang rebuild as it's no longer a package set 2025-03-15 21:24:58 +01:00
feffe a6714d037b prepare 1.4.7 release 2025-02-28 07:55:51 +01:00
feffe bbe23b1549 better kernel version sorting
should now detect that 6.12.16 is newer than 6.6.74 for example
2025-02-28 07:53:11 +01:00
feffe 17fc601022 print service and policy for rouge services 2024-12-20 14:20:07 +01:00
feffe f1ded26b9f properly log processes which still has open files after restart 2024-12-17 01:28:12 +01:00
feffe 8d373f599c Fix eclass check for packages with many revisions 2024-10-23 17:03:30 +02:00
feffe 17ef7eee8e fix syntax 2024-08-30 09:20:48 +02:00
feffe 0f713bf476 fix usepkg on gentoo rebuilds 2024-08-29 10:58:34 +02:00
feffe 9f08c5f687 add rust-rebuild support for rust-bin 2024-08-22 15:30:56 +02:00
feffe 6fd96562ae prepare for v1.4.3 2024-08-18 16:28:21 +02:00
feffe 76fe384d0f fix another go-rebuild bug 2024-08-18 16:27:09 +02:00
feffe 3d3dd379b7 fix go rebuild 2024-08-17 21:50:42 +02:00
feffe cc206f6198 allow to explicit restart service even if not enabled 2024-08-17 08:54:43 +02:00
feffe 29c1256ee1 fix var 2024-08-14 16:58:33 +02:00
feffe 4002279a20 prepare for 1.4.0 2024-08-14 08:37:07 +02:00
feffe 62ff301c3c add option to disable rebuilds 2024-08-14 08:35:27 +02:00
feffe fc6f29c0e1 restrict open files check to non-volatile directories 2024-08-03 07:35:12 +02:00
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