Bug 1007605 - libpopt sensitivity to $POSIXLY_CORRECT nukes smbstatus option processing
libpopt sensitivity to $POSIXLY_CORRECT nukes smbstatus option processing
Status: NEW
Product: Fedora
Classification: Fedora
Component: samba (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Guenther Deschner
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-09-12 18:54 EDT by Frank Ch. Eigler
Modified: 2015-03-03 10:03 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Frank Ch. Eigler 2013-09-12 18:54:28 EDT
As of rawhide samba 4.1rc (and far back as rhel5's samba 3),
compare & contrast:

% env -u POSIXLY_CORRECT   smbstatus --help
% env    POSIXLY_CORRECT=1 smbstatus --help

The latter ignores the --help option.  This is due to libpopt being
sensitive to that environment variable, (popt.c:195 as of popt 1.13).

Please consider explicitly unsetting the environment variable before
calling into libpopt.  Or fix (if there is a problem; dunno) the
smbstatus long-options to be sufficiently saintly to work even with
Comment 1 Jaroslav Reznik 2015-03-03 10:03:23 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:

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