Bug 1599516
| Summary: | [autofs] The log no longer print PID of automount process | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Kun Wang <kunwan> | |
| Component: | autofs | Assignee: | Ian Kent <ikent> | |
| Status: | CLOSED ERRATA | QA Contact: | Kun Wang <kunwan> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 7.6 | CC: | kunwan, rhandlin, xifeng, xzhou | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | autofs-5.0.7-100.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1689469 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-06 13:10:29 UTC | Type: | Bug | |
| 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: | 1689469 | |||
| Attachments: | ||||
|
Description
Kun Wang
2018-07-10 01:53:09 UTC
Created attachment 1513230 [details]
Patch - add NULL check in prepare_attempt_prefix()
Not strictly related but I noticed the problem while working on this so I felt compelled to include it.
Created attachment 1513231 [details]
Patch - update build info with systemd
Not strictly related but it is a change to the systemd support code which is being updated in this bug.
Created attachment 1513232 [details]
Patch - use flags for startup boolean options
Created attachment 1513233 [details]
Patch - move close stdio descriptors to become_daemon()
Created attachment 1513234 [details]
Patch - add systemd service command line option
Verified based on below test result: ########################################## # on unfixed version autofs-5.0.7-99.el7 # ########################################## [01:13:12 root@ ~~]# cat /var/log/messages | grep "automount\[[0-9]\+\]" :: [ 01:13:12 ] :: [ FAIL ] :: Running 'cat /var/log/messages | grep "automount\[[0-9]\+\]" ' (Expected 0, got 1) ############################################################ # on fixed version autofs-5.0.7-100.el7 and later releases # ############################################################ Apr 12 01:16:24 hp-dl180g6-01 automount[3425]: dev_ioctl_send_ready: token = 3 Apr 12 01:16:24 hp-dl180g6-01 automount[3425]: mounted /root/lc1599516/lctest :: [ 01:16:24 ] :: [ PASS ] :: Running 'cat /var/log/messages | grep "automount\[[0-9]\+\]" ' (Expected 0, got 0) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2250 |