Bug 717982 - quotacheck -c fails without reporting error
Summary: quotacheck -c fails without reporting error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: quota
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-30 15:20 UTC by Petr Pisar
Modified: 2011-07-26 03:45 UTC (History)
3 users (show)

Fixed In Version: quota-4.00-0.13.pre1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of: 717948
Environment:
Last Closed: 2011-07-26 03:44:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Back-ported fix for quota-4.00_pre1 to return proper exit code (6.44 KB, patch)
2011-07-15 07:08 UTC, Petr Pisar
no flags Details | Diff
quota-4.00_pre1: Fix error message (1.52 KB, patch)
2011-07-15 07:09 UTC, Petr Pisar
no flags Details | Diff
Back-ported fix for quota-3.17 to return proper exit code (6.63 KB, patch)
2011-07-15 08:57 UTC, Petr Pisar
no flags Details | Diff
Back-ported fix for quota-3.17 to fix error message (1.56 KB, patch)
2011-07-15 08:59 UTC, Petr Pisar
no flags Details | Diff

Description Petr Pisar 2011-06-30 15:20:07 UTC
+++ This bug was initially created as a clone of Bug #717948 +++

Description of problem:
When quotacheck access is denied by selinux, the command doesn't bother to report any error, even in verbose mode, and it returns exit code 0.

[...]
--- Additional comment from ppisar on 2011-06-30 14:51:07 GMT ---

I can confirm wrong return code:

[...]

The same bug presents with upstream development version.
-----

F16--14 affected.

How to reproduce: Enforcing SELinux, system_u:object_r:quota_exec_t:s0 label on quotacheck executable and non-mount label on mount point (e.g. system_u:object_r:file_t:s0).

Comment 1 Petr Pisar 2011-07-15 07:08:52 UTC
Created attachment 513333 [details]
Back-ported fix for quota-4.00_pre1 to return proper exit code

Comment 2 Petr Pisar 2011-07-15 07:09:38 UTC
Created attachment 513334 [details]
quota-4.00_pre1: Fix error message

Comment 3 Petr Pisar 2011-07-15 08:57:33 UTC
Created attachment 513343 [details]
Back-ported fix for quota-3.17 to return proper exit code

Comment 4 Petr Pisar 2011-07-15 08:59:04 UTC
Created attachment 513345 [details]
Back-ported fix for quota-3.17 to fix error message

Comment 5 Fedora Update System 2011-07-15 09:03:47 UTC
quota-4.00-0.13.pre1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/quota-4.00-0.13.pre1.fc15

Comment 6 Fedora Update System 2011-07-15 09:04:14 UTC
quota-3.17-17.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/quota-3.17-17.fc14

Comment 7 Fedora Update System 2011-07-16 07:31:33 UTC
Package quota-3.17-17.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing quota-3.17-17.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/quota-3.17-17.fc14
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-07-26 03:43:57 UTC
quota-3.17-17.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-07-26 03:45:38 UTC
quota-4.00-0.13.pre1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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