Bug 1515352
Summary: | From 12:30:00 to 12:30:59, as indicated by localtime(), man will return "gimme gimme gimme" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Kyle Walker <kwalker> | ||||||
Component: | man-db | Assignee: | Nikola Forró <nforro> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Anna Khaitovich <akhaitov> | ||||||
Severity: | medium | Docs Contact: | Marie Hornickova <mdolezel> | ||||||
Priority: | unspecified | ||||||||
Version: | 7.4 | CC: | akhaitov, bnater, cjwatson, djez, fgarciad, jkejda, mschmidt, nforro, ovasik, rrauenza | ||||||
Target Milestone: | rc | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | man-db-2.6.3-10.el7 | Doc Type: | Release Note | ||||||
Doc Text: |
The *man* utility no longer prints "gimme gimme gimme" after midnight
Prior to this update, there was an Easter egg in the *man* utility that printed "gimme gimme gimme" in the standard error output at 00:30 local time. As a consequence, under certain circumstances the unexpected output misled automated tools. With this update, the Easter egg has been removed, and the described problem no longer occurs.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-10-30 08:03:07 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: | 1549619 | ||||||||
Attachments: |
|
Description
Kyle Walker
2017-11-20 16:20:08 UTC
Sorry about this. Fix is here: https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=84bde8d8a9a357bd372793d25746ac6b49480525 (If there are any more problems with it I'll remove the Easter egg, but this one was easy to fix.) Thanks Colin. Patch backported. Created attachment 1356670 [details]
Stop Easter egg interfering with non-error cases
Nikola, consider backporting the followup ("Remove Easter egg entirely"): https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=b225d9e76fbb0a6a4539c0992fba88c83f0bd37e Created attachment 1357513 [details]
Remove easter egg interfering with non-error cases
Hello Nikola, thank you! I have made few additional changes which may specify what was actually happening. But I am not sure by their technical accuracy. Could you please check again if I am not wrong? ---- The *man* utility no longer prints "gimme gimme gimme" after midnight Prior to this update, there was an Easter egg in the *man* utility that printed "gimme gimme gimme" in the standard error output at 00:30 local time when "man -w" was used. As a consequence, under certain circumstances the unexpected output caused a wrong exit status which misled automated tools. With this update, the Easter egg has been removed, and the described problem no longer occurs. ---- Changes I am not sure of: --> I tried to specify when exactly was the bug happening (when "man -w" was used). Was it just with this command? --> "the unexpected output caused a wrong exit status which misled automated tools" From what I understood, the problem was not the "gimme gimme gimme", but exit status 0 instead of something else... Thank you! Best regards, Adam Kvítek No, the text was printed every time man was run without a man page argument, regardless of the -w option, so for instance $ man $ man -w but not $ man -w bash And no, there was no change in exit status. Hello Nikola, thank you. I am updating the Doc Text. Best regards, Adam Kvítek 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-2018:3060 |