[Bug 664701] New: xorg-x11-fonts-update-dirs should be silent

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 21 12:15:37 UTC 2010

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: xorg-x11-fonts-update-dirs should be silent


           Summary: xorg-x11-fonts-update-dirs should be silent
           Product: Fedora
           Version: 14
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: medium
          Priority: low
         Component: xorg-x11-font-utils
        AssignedTo: xgl-maint at redhat.com
        ReportedBy: rc040203 at freenet.de
         QAContact: extras-qa at fedoraproject.org
                CC: xgl-maint at redhat.com,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora

Description of problem:

xorg-x11-fonts-update-dirs is not silent. It contains pushd+popd calls which
echo directories to stdout.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. login as root
2. cd ~
3. run 
xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc

Actual results:

# xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
/usr/share/X11/fonts/encodings ~

Expected results:
Silence/No output

Additional info:
- As xorg-x11-fonts-update-dirs is used in rpm scriptlets, this issue causes
rpm-installation of font-packages to be non-silent - This violates the FPG.
- There are 2 ways to silence pushd/popd.
pushd -n <dir> and pushd <dir> >/dev/null.
The latter is better portable, because not all shells' pushd/popd
implementations support "-n" (e.g. zsh's doesn't).

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list