-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04 sed error when run on multiple checks #10426
Comments
can you share your logs and fstab? |
@dodys I can reproduce this error. My fstab:
previous_mount_opts=$(grep "$mount_point_match_regexp" /etc/fstab | awk '{print $4}')
thus breaks the sed command. In my opinion "mount_point_match_regexp" should be
as this would ignore comments before the match. |
thanks @cueball23 |
Description of problem:
When running the remediation script for content_rule_mount_option_home_nosuid I get the following:
sed: -e expression #1, char 35: unterminated `s' command
SCAP Security Guide Version:
CIS Ubuntu 22.04 Level 1 Server Benchmark
This baseline aligns to the Center for Internet Security
Ubuntu 22.04 LTS Benchmark, v1.0.0, released 08-30-2022.
Operating System Version:
Ubuntu 22.04
Steps to Reproduce:
Actual Results:
sed: -e expression #1, char 35: unterminated `s' command
Additional Information/Debugging Steps:
I'm also getting similar results in:
Possibly similar to #2196?
The text was updated successfully, but these errors were encountered: