Bug 24484 - cannot redirect output of "up2date -l"
cannot redirect output of "up2date -l"
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-01-21 02:58 EST by Matthew Boedicker
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-25 20:56:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Boedicker 2001-01-21 02:58:15 EST
While trying to create a nightly cron job to do "up2date -l | mail
root@localhost", I get a Python traceback indicating a "Broken Pipe"
exception.

Further testing shows that any kind of output redirection (such as "up2date
-l > foo") gives the same result.
Comment 1 Matthew Boedicker 2001-01-25 20:56:45 EST
I believe this to be a problem with the interaction between up2date and
consolehelper.  I do not have the same problem when explicitly running
/usr/sbin/up2date, without the consolehelper wrapper.
Comment 2 Preston Brown 2001-02-08 22:43:59 EST
correct.

To run from cron as root, use /usr/sbin/up2date, not /usr/bin/up2date, which is
the "run-as-a-user" wrapper program.

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