Skip to content
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

lsm: send test_install_t chcon output to /dev/null #292

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

jeckersb
Copy link
Contributor

@jeckersb jeckersb commented Jan 31, 2024

Otherwise it's noisy:

[root@localhost ~]# ./bootc update --check
chcon: failed to change context of '/tmp/.tmp2rw6pV' to ‘unconfined_u:object_r:invalid_bootcinstall_testlabel_t:s0’: Invalid argument
chcon: failed to change context of '/tmp/.tmpCiTvUm' to ‘unconfined_u:object_r:invalid_bootcinstall_testlabel_t:s0’: Invalid argument
No changes in: ostree-unverified-registry:quay.io/centos-bootc/fedora-bootc-cloud:eln
[root@localhost ~]#

Otherwise it's noisy:

[root@localhost ~]# ./bootc update --check
chcon: failed to change context of '/tmp/.tmp2rw6pV' to ‘unconfined_u:object_r:invalid_bootcinstall_testlabel_t:s0’: Invalid argument
chcon: failed to change context of '/tmp/.tmpCiTvUm' to ‘unconfined_u:object_r:invalid_bootcinstall_testlabel_t:s0’: Invalid argument
No changes in: ostree-unverified-registry:quay.io/centos-bootc/fedora-bootc-cloud:eln
[root@localhost ~]#

Signed-off-by: John Eckersberg <jeckersb@redhat.com>
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh man, an embarrassing bug! Thanks!

@cgwalters cgwalters merged commit 364ab0f into containers:main Jan 31, 2024
11 checks passed
@jeckersb
Copy link
Contributor Author

Oh man, an embarrassing bug! Thanks!

Hey I reviewed it and missed it, double whoops!

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