Michael Boelen
e9fc2794eb
Merge pull request #1569 from nser77/nser77-patch-2
...
Fix for issue #1566 .
2025-01-29 14:23:50 +01:00
Michael Boelen
aba1d530d3
Update tests_boot_services
...
As it is not a directory, we need to test if it is a file with executable bit set.
2025-01-29 14:22:59 +01:00
Michael Boelen
95530fdc0e
Simplified copyright line and meta information as including (and updating) the year does not hold much value
2025-01-28 10:15:09 +00:00
nser77
630769377a
Update tests_boot_services
2024-10-23 21:31:13 +02:00
Michael Boelen
e84af49ada
Remove text suggestion as it is replaced with more generic method
2024-10-11 11:15:08 +00:00
Michael Boelen
8918445e2c
[BOOT-5264] Change output and link to clarify options
2024-10-10 13:03:11 +00:00
xnoguer
6f1797fb59
Using grep -E
2023-04-23 17:38:21 -04:00
Wojciech Banaś
4098236412
#1270 added finding configuration files in the "etc" directory, even if they are symlinks
2022-02-14 13:23:20 +01:00
Jay Keller
cd632059e0
Adding OpenRC to boot services detection
2021-07-11 04:39:36 +00:00
Michael Boelen
32143f6377
Merge pull request #1139 from teoberi/New-test-BOOT-5140---Check-for-ELILO-boot-loader-presence
...
New test: BOOT-5140 - Check for ELILO boot loader presence
2021-05-11 11:21:33 +02:00
Johannes Heimansberg
1d45d5534e
[BOOT-5104] Add service manager detection support for runit
...
This fixes issue #1134 .
2021-04-25 10:54:00 +02:00
Michael Boelen
aab6af4017
Merge pull request #1118 from steph78630/master
...
Add translated status
2021-04-01 13:34:20 +02:00
Stéphane
3683ffd3c4
Add translated status
2021-03-02 23:31:41 +01:00
teoberi
403a5b5651
Update tests_boot_services
...
Modify CONF_FILES variable
2021-01-09 17:58:02 +02:00
Michael Boelen
da1c1eca10
Preparation for release 3.0.3
2021-01-07 15:22:19 +01:00
Michael Boelen
c38c89ae4e
Merge pull request #1004 from Varbin/1003-os-detection
...
Test for LINUX_VERSION before setting it again
2021-01-07 11:30:51 +01:00
teoberi
06e3d98c91
Update tests_boot_services
...
Add test for ELILO boot loader
2021-01-03 12:14:24 +02:00
Michael Boelen
258b2bf05f
Merge pull request #1064 from Varbin/solaris-ips-svcs
...
Add support for Solaris services, run BOOT-5184 there
2020-12-15 14:16:18 +01:00
Michael Boelen
22a9fe7037
Merge pull request #1059 from Varbin/solaris-grub-d
...
Test if /etc/grub.d is a directory
2020-11-13 16:45:59 +01:00
Simon Biewald
3c31a08024
Do not incorrectly name SFM as IPS
...
The "new" service manager was included with Solaris 10 and not 11. It is
named "service management facility" (see smf(5) man page).
There is no IPS service manager, the name is only used for the package
manager of OpenSolaris and Solaris 11.
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
2020-11-09 23:18:00 +00:00
Simon Biewald
25278b6b38
Add support for Solaris services, run BOOT-5184 there
...
The Solaris IPS service manager (svcs) is now detected, and services
managed with it are enumerated.
Test BOOT-5184 now runs on Solaris, too, as SysV init scripts are
supported as well, even with IPS. SysV Init has been the traditional
init system on Solaris.
2020-10-25 21:51:12 +00:00
Simon Biewald
8ee60cea35
Test if /etc/grub.d is a directory, instead always true
2020-10-25 20:14:08 +00:00
Stéphane
67d04f2536
Add translate function for all sections
...
+ add EN and FR up to date languages files
2020-10-22 00:13:42 +02:00
Simon Biewald
4a03c61343
Check LINUX_VERSION_LIKE in various tests
...
This affects:
BOOT-5180, KRNL-5622, KRNL-5788, PKGS-7388, PKGS-7390, PKGS-7394,
PKGS-7366, and PKGS-7420.
2020-08-15 16:44:34 +01:00
Michael Boelen
a2f8bdc5f8
[BOOT-5122] presence check for grub.d added
2020-06-22 10:18:01 +02:00
Topi Miettinen
8913374092
Run 'systemd-analyze security'
...
'systemd-analyze security' (available since systemd v240) makes a nice
overall evaluation of hardening levels of services in a system. More
details can be found with 'systemd-analyze security SERVICE' for each
service.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-23 17:31:32 +02:00
Brian Ginsbach
9c5451d29d
Make BOOT-5260 Linux only
...
Linux is the only OS with systemd so no need to check for systemd
single user mode on other operatings systems.
2020-03-20 14:40:20 -05:00
Michael Boelen
38310223a6
Updated date/year
2020-03-20 14:50:25 +01:00
Michael Boelen
ddcf9bc713
[BOOT-5122] check for defined password in all GRUB configuration files
2020-03-19 15:52:03 +01:00
Michael Boelen
51d727d611
Merge pull request #858 from topimiettinen/fix-enabled-running-processes
...
Fix logging of running and enabled services
2020-03-19 15:32:54 +01:00
Topi Miettinen
3aaeeea856
Check for rEFInd boot loader
...
Detect rEFInd boot loader (https://www.rodsbooks.com/refind/ ).
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:44:30 +02:00
Topi Miettinen
80a67914c3
Fix logging of running and enabled services
...
Log lines for running and enabled services were mixed up, fix.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:25:59 +02:00
Michael Boelen
09f29a5e64
Code style improvement: quote argument
2019-12-18 12:17:46 +01:00
Michael Boelen
36627a4eb7
Style improvements
2019-09-19 14:05:15 +02:00
Michael Boelen
fa8bad20db
Use -n instead of ! -z
2019-07-16 13:20:30 +02:00
pyllyukko
9b02934339
Detect BSD-style (rc.d) init in Linux systems
2019-06-06 15:41:29 +03:00
Michael Boelen
ec4d89b978
[BOOT-5122] don't use WARNING, but show NONE if no protection is implemented
2019-03-07 10:15:16 +01:00
chr0mag
e33ca1ec58
[BOOT 5177] Simplify service filter & support multiple periods in names ( #633 )
...
* Handle service names with multiple periods
The current awk filter produces truncated output if the service
name contains multiple periods.
eg. dbus-org.freedesktop.resolve1.service and
dbus-org.freedesktop.network1.service both appear as 'dbus-org' in
the resulting service list.
This change addresses this by filtering on '.service' instead.
* Simplify systemd service filtering
Added systemctl switches to filter the output based on enabled
or running services. This removes the need for one of the awk
statements.
2019-03-07 10:10:21 +01:00
chr0mag
341612418f
BOOT-5117 adds systemd-boot bootloader detection ( #634 )
...
Adds a test to detect systemd-boot. The 'bootctl' binary is also
added as this is the utility used to inspect the systemd-boot
configuration.
This test is only executed if systemd is installed, the bootctl
utility exists and the system is booted in UEFI mode.
2019-03-07 10:07:52 +01:00
jirib
0dafe4a02b
better OpenBSD support ( #641 )
2019-03-05 19:03:44 +01:00
Michael Boelen
66066ae226
Changed year and preparing for new release
2019-01-31 14:47:35 +01:00
Michael Boelen
81f67584cb
[BOOT-5177] changed note to a hint
2018-12-14 13:17:46 +01:00
Katarina Durechova
631853a924
[BOOT-5260] Make "sulogin" more generic for systemd rescue.service ( #590 )
2018-10-17 14:21:30 +02:00
Michael Boelen
afaae50989
[BOOT-5104] extended logging
2018-08-22 16:38:54 +02:00
Michael Boelen
b005effc32
[BOOT-5104] improved parsing parameters to init process
2018-08-22 16:33:50 +02:00
Michael Boelen
4ad2ee4ba2
[BOOT-5104] added busybox to service managers
2018-07-25 13:24:11 +02:00
Jason Soto
94e4fb4bd9
Solved null byte bash warning ( #523 )
2018-03-05 11:19:57 +01:00
mslifcak
6c257d6224
touchup BOOT_LOADER_SEARCHED setting for BOOT-5106 and BOOT-5108 ( #511 )
2018-01-18 16:36:43 +01:00
mslifcak
173843bdfd
Pin svc mgr ( #506 )
...
* systemctl does not mean systemd is used
* Check for systemd active
* determine service manager if not already set
2018-01-17 15:56:19 +01:00
Michael Boelen
66f8cb2441
Changed year
2018-01-11 09:50:26 +01:00