Skip to content

Commit 3b7f0a8

Browse files
authored
Merge pull request #619 from cloudfoundry/ubuntu-jammy
2 parents 1580015 + 3a8d6fb commit 3b7f0a8

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

bosh-stemcell/spec/os_image/ubuntu_spec.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,14 @@
233233
end
234234

235235
context "auditd is configured to use augenrules" do
236-
describe file("/etc/systemd/system/auditd.service") do
236+
it "does not create '/etc/systemd/system/auditd.service'" do
237+
expect(File.exist?("/etc/systemd/system/auditd.service")).to eq(false)
238+
end
239+
240+
describe file("/lib/systemd/system/auditd.service") do
237241
it { should be_file }
238242
its(:content) { should match(/^ExecStartPost=-\/sbin\/augenrules --load$/) }
243+
its(:content) { should match(/^#ExecStartPost=-\/sbin\/auditctl/) }
239244
end
240245
end
241246

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
22
<file name="ubuntu-jammy.tgz">
3-
<hash type="sha-512">ff2f68b3d31073f864e00366970ae6574f7a98cccce384e97fb5a83ec0b7fea5b304595f7bbfce1a0a5c978c33a1438da9e67130141b770ba450f6350e449cf9</hash>
4-
<hash type="sha-256">656941d3bcf823f63ae269b5e0812c9df2c48fde133fa9119d5868d4f108daf5</hash>
5-
<hash type="sha-1">c7ce2218cbdc085a7a49e1d5fd062bf8c77a3a93</hash>
6-
<hash type="md5">df87851e050b0121e5af52d335ec802d</hash>
7-
<size>435167024</size>
3+
<hash type="sha-512">4b01c2f0dd1add3cde3292087f90123b733fe4983b5b9f328711cbf122b5bb4ecef46a7a9a63984cbc6ebca40e30629f77123e130b7c6e55c759c109c31db8f2</hash>
4+
<hash type="sha-256">3643e182d29678319c989dabb9ace9a215785b2d29f732904775853dbaa71b59</hash>
5+
<hash type="sha-1">3958f4d0679c50729c0638db2ecbac5dce0e0960</hash>
6+
<hash type="md5">4fef24c5144750d091a2f1601e8a204e</hash>
7+
<size>435192936</size>
88
<url>https://storage.googleapis.com/bosh-os-images/ubuntu-jammy/ubuntu-jammy.tgz</url>
9-
<version>1079.0.0</version>
9+
<version>1080.0.0</version>
1010
</file>
1111
<file name="usn-log.json">
12-
<hash type="sha-512">44018019582146fc17ac3f15c277be6986afd613e481b8483cf41e838fbdfce25520364d6a3fe83400b5b838cd51b720e0484599bccc95e315fc146df1b29931</hash>
13-
<hash type="sha-256">166958059b90ff741397215786f92d69b735a6b7f613f98c4c6b10306ad07445</hash>
14-
<hash type="sha-1">7ca97dd2ef670f4156c38678e7fdcf504a9b4461</hash>
15-
<hash type="md5">03de9e337af1c22d0e6cb40a01cc117d</hash>
16-
<size>32713</size>
12+
<hash type="sha-512">be688838ca8686e5c90689bf2ab585cef1137c999b48c70b92f67a5c34dc15697b5d11c982ed6d71be1e1e7f7b4e0733884aa97c3f7a339a8ed03577cf74be09</hash>
13+
<hash type="sha-256">01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b</hash>
14+
<hash type="sha-1">adc83b19e793491b1c6ea0fd8b46cd9f32e592fc</hash>
15+
<hash type="md5">68b329da9893e34099c7d8ad5cb9c940</hash>
16+
<size>1</size>
1717
<url>https://storage.googleapis.com/bosh-os-images/ubuntu-jammy/usn-log.json</url>
18-
<version>1079.0.0</version>
18+
<version>1080.0.0</version>
1919
</file>
2020
<generator>metalink-repository-resource/0.0.0</generator>
21-
<published>2026-06-06T14:48:32.085069046Z</published>
21+
<published>2026-06-08T22:51:23.443948018Z</published>
2222
</metalink>

stemcell_builder/stages/bosh_audit_ubuntu/apply.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ source $base_dir/lib/prelude_bosh.bash
88

99
pkg_mgr install auditd
1010

11-
# Without this, auditd will read from /etc/audit/audit.rules instead
12-
# of /etc/audit/rules.d/*.
13-
cp $chroot/lib/systemd/system/auditd.service $chroot/etc/systemd/system/auditd.service
14-
sed -i '/#ExecStartPost=-\/sbin\/augenrules --load/s/^#//g' $chroot/etc/systemd/system/auditd.service
15-
sed -i '/ExecStartPost=-\/sbin\/auditctl -R \/etc\/audit\/audit.rules/s/^/#/g' $chroot/etc/systemd/system/auditd.service
1611
run_in_bosh_chroot $chroot "systemctl disable auditd.service"
1712
run_in_bosh_chroot $chroot "chown root:root /var/log/audit" # (stig: V-38663) (stig: V-38664) (stig: V-38665)
1813

0 commit comments

Comments
 (0)