Bug 25223
| Summary: | up2date emails extraordinarily long | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | William D. Hamblen <whamblen> |
| Component: | up2date | Assignee: | Preston Brown <pbrown> |
| Status: | CLOSED DUPLICATE | QA Contact: | Jay Turner <jturner> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | hugo.van.der.kooij, srevivo |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-02-20 01:34:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
William D. Hamblen
2001-01-29 21:06:46 UTC
Same problem occurs on Red Hat Linux 7.0 with a crontab entry like: 2 1 * * * /usr/sbin/up2date -u 2> /dev/null The update info should be redirected to stderr instead of stdout for console operations. Unfortunately that doesn't work for me. Everything seems to be sent to stdout with nothing going to stderr. If I redirect everything, I get no email. If I redirect just stderr it's the same email as with no redirection at all. In any case, it seems like up2date ought to do the correct thing without any special processing on my part. It used to work that way before all the RHN stuff became necessary. Sounds like you need a "--quiet" mode. We'll consider it as a feature request for the next release. a reasonable request. *** Bug 23694 has been marked as a duplicate of this bug. *** up2date should now detect if is running on a tty, and if not, it doesnt print out all the percentage updating stuff. Makes the log's much prettier. I'll see about still adding a --quiet as well. That new functionality sounds like what I want. Though, given this, I'm not sure what use a --quiet switch is. If you want nothing it's easy enough to redirect everything to /dev/null. Or, if I remember right, you can tell up2date not to send any email. And the current behavior is fine if it's running on a tty. So what am I missing? Also I didn't see a new up2date RPM anywhere. I'd like to try this! :-) Is that forthcoming soon? Assigned QA to jturner *** This bug has been marked as a duplicate of 19646 *** *** Bug 35614 has been marked as a duplicate of this bug. *** |