Skip to content

systemd: systemd-sysctl needs locales#1143

Open
thesamesam wants to merge 2 commits into
SELinuxProject:mainfrom
thesamesam:systemd-sysctl-locale
Open

systemd: systemd-sysctl needs locales#1143
thesamesam wants to merge 2 commits into
SELinuxProject:mainfrom
thesamesam:systemd-sysctl-locale

Conversation

@thesamesam
Copy link
Copy Markdown
Contributor

AVC avc:  denied  { search } for  pid=1117 comm="systemd-sysctl" name="locale" dev="dm-0" ino=1080894036
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=dir

Comment thread policy/modules/system/systemd.te
@pebenito
Copy link
Copy Markdown
Member

pebenito commented Jun 3, 2026

Looks ok to me, though I'd prefer to squash to 2 commits. One for the localization and another for the typo.

@thesamesam
Copy link
Copy Markdown
Contributor Author

Fine with me, I just discovered a bunch incrementally so committed as I went. Fixing..

Signed-off-by: Sam James <sam@gentoo.org>
```
AVC avc:  denied  { search } for  pid=1117 comm="systemd-sysctl" name="locale" dev="dm-0" ino=1080894036
scontext=system_u:system_r:systemd_sysctl_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=dir
```

```
AVC avc:  denied  { map } for  pid=1118 comm="systemd-tmpfile" path="/usr/lib/locale/locale-archive" dev="dm-0" ino=3602686423
scontext=system_u:system_r:systemd_tmpfiles_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
```

```
AVC avc:  denied  { search } for  pid=1162 comm="systemd-userwor" name="locale" dev="dm-0" ino=1080894036
scontext=system_u:system_r:systemd_userdbd_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=dir
```

```
AVC avc:  denied  { search } for  pid=1165 comm="systemd-nsresou" name="locale" dev="dm-0" ino=1080894036
scontext=system_u:system_r:systemd_nsresourced_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=dir
```

```
AVC avc:  denied  { read } for  pid=1424 comm="systemd-binfmt" name="locale-archive" dev="dm-0" ino=3602686423
scontext=system_u:system_r:systemd_binfmt_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
```

```
AVC avc:  denied  { search } for  pid=1501 comm="systemd-machine" name="locale" dev="dm-0" ino=1080894036
scontext=system_u:system_r:systemd_machined_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=dir
```

Signed-off-by: Sam James <sam@gentoo.org>
@thesamesam thesamesam force-pushed the systemd-sysctl-locale branch from abe00e5 to 4ae980c Compare June 3, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants