Bug 1314353 - WARNING: unable to delete selinux filesystems
Summary: WARNING: unable to delete selinux filesystems
Keywords:
Status: CLOSED DUPLICATE of bug 1312820
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 12:42 UTC by Lukas Slebodnik
Modified: 2016-03-04 10:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-04 10:33:22 UTC
Type: Bug


Attachments (Terms of Use)

Description Lukas Slebodnik 2016-03-03 12:42:24 UTC
Description of problem:
Mock rebuilt src.rpm without any problem but it was unable to clean directories in /tmp

sh$ mock --root fedora-23-x86_64 --resultdir . --rebuild ./sssd-1.13.3-5.fc24.src.rpm 

//snip
INFO: Done(./sssd-1.13.3-5.fc24.src.rpm) Config(fedora-23-x86_64) 2 minutes 23 seconds
INFO: Results and/or logs in: .
INFO: Cleaning up build root ('cleanup_on_success=True')
Start: clean chroot
Finish: clean chroot
Finish: run
WARNING: unable to delete selinux filesystems (/tmp/mock-selinux-plugin.s36m2duq): [Errno 1] Operation not permitted: '/tmp/mock-selinux-plugin.s36m2duq'

There are not any recent AVCs
[root@graviton ~]# ausearch -m avc -ts recent
<no matches>
[root@graviton ~]# ausearch -m user_avc -ts recent
<no matches>

Version-Release number of selected component (if applicable):
mock-1.2.15-1.fc24.noarch

How reproducible:
Deterministic

Steps to Reproduce:
1. just try to rebuild any package


Actual results:
Warning is printed and related file "/tmp/mock-selinux-plugin.*" is not removed.

Expected results:
There isn't any warning.

Additional info:
sh$ ls -l /tmp/mock-selinux-plugin.s36m2duq 
-r--r--r--. 1 root root 343 Mar  3 13:32 /tmp/mock-selinux-plugin.s36m2duq

Comment 1 Miroslav Suchý 2016-03-04 10:33:22 UTC

*** This bug has been marked as a duplicate of bug 1312820 ***


Note You need to log in before you can comment on or make changes to this bug.