bottlerocket-os / bottlerocket-os/bottlerocket-core-kit

Issue in util-linux update in Bottlerocket v1.35.0

Open
#1,004 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
34
Forks
77
Avg merge
2d 23h
Merged PRs (30d)
23

Description

**Image I'm using:**
Any bottlerocket v1.35.0 AMI

**What I expected to happen:**
`ls -lZ /var/lib/bottlerocket` should show the correct SELinux labels for the contents of the directory

**What actually happened:**
```
bash-5.2# ls -lZ /var/lib/bottlerocket
total 28
-rw-r--r--. 1 root root system_u:object_r:private_t:s0 212 Aug 3 14:32 bootconfig.data
-rw-r--r-- 1 root root ? 0 Aug 3 14:32 cfsignal.ran
drwxr-xr-x 3 root root ? 4096 Aug 3 14:32 datastore
-rw-r--r-- 1 root root ? 0 Aug 3 14:32 early-boot-config.ran
drwxr-xr-x 2 root root ? 4096 Aug 3 14:32 inventory
drwx------ 2 root root ? 16384 Aug 3 14:28 lost+found
-rw-r--r-- 1 root root ? 0 Aug 3 14:32 warm-pool-wait.ran
```

**How to reproduce the problem:**

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report on a Bottlerocket v1.35.0 AMI with `ls -lZ /var/lib/bottlerocket`, then inspect the util-linux update and SELinux labeling behavior involved. The issue names no source file or test; done means the directory contents display the correct SELinux labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux
Domain
operating-systems, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.