Red Hat Bugzilla – Bug 1477999
wrong exit code when uploading file is too large
Last modified: 2018-04-09 11:35:10 EDT
Description of problem:
I created big file and I tried to push to configure channel. The file was not uploaded, but the application finished with exit code 0.
Change max size of file:
web.maximum_config_file_size=1031072 >> /etc/rhn/rhn.conf
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. >> dd if=/dev/urandom of=10Mfile bs=1M count=10
2. >> rhncfg-manager add 10Mfile -c mychannel
Using server name satellite.example.com
Pushing to channel mychannel:
Error pushing file: 10Mfile too large (10485760 bytes, 131072 bytes max allowed)
3. >> echo $?
exit code 0
correct exit code
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.
This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED.
Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.