Bug 467902
| Summary: | home_dirs FAIL when /home is empty not handled gracefully | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Cutler <m> |
| Component: | sectool | Assignee: | Peter Vrabec <pvrabec> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | pvrabec |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-10-22 12:44:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 438944 | ||
fixed sectool-0.9.1 |
Description of problem: Bit of an edge case, but running "sectool --level 1" on a freshly installed system with no regular users and an empty /home directory produced the following message: home_dirs -> Warning: This is a first run of the test. Some parts of audit are skipped. Failure: stat -f "MODE:%6p UID:%6u GID: %g " "" failed. home_dirs: FAIL And on repeating the test, home_dirs -> Failure: stat -f "MODE:%6p UID:%6u GID: %g " "" failed. home_dirs: FAIL Version-Release number of selected component (if applicable): sectool-0.9.0-1.fc10.i386 How reproducible: Every time Steps to Reproduce: 1. Fresh install from FC10 snap2 dvd 2. Yum update to sectool-0.9.0-1.fc10.i386 if necessary 3. Ensure there are no 'normal' users and /home is empty 4. Run "sectool --level 1" Actual results: sectools failed home_dirs Expected results: home_dirs should be skipped or passed if /home is empty and there are no normal users. Additional info: