Red Hat Bugzilla – Bug 20476
up2date RPM should create /var/spool/up2date
Last modified: 2007-04-18 12:29:43 EDT
Currently, the up2date-gnome RPM has the "/var/spool/up2date" directory.
If you are running a server with no GNOME or X, and only install up2date,
it when you try to run it, it will fail.
Traceback (innermost last):
File "/usr/sbin/up2date", line 394, in ?
File "/usr/sbin/up2date", line 377, in main
sys.exit(batchRun(onlyList, pkgNames, fullUpdate))
File "/usr/sbin/up2date", line 190, in batchRun
if totalSize > up2date.freeDiskSpace():
File "/usr/share/rhn/up2date/up2date.py", line 925, in freeDiskSpace
dfInfo = os.statvfs(cfg.readEntry("storageDir"))
OSError: [Errno 2] No such file or directory: '/var/spool/up2date'
Have the up2date RPM create/supply the /var/spool/up2date directory instead
of the up2date-gnome RPM.
thanks for the report. This has been fixed in a forthcoming errata release of
update agent due this week.
*** Bug 21903 has been marked as a duplicate of this bug. ***