[openvps-dev] error in openvps customize

Penelope DEVEREUX penelope.devereux at gmail.com
Thu May 5 01:30:59 EDT 2005


Hi,

Another problem, this time with openvps customize... trace below:

This time in file

/usr/lib/python2.3/site-packages/openvps/host/vds.py

around line 838 where it reads:

path = os.path.join(root, 'usr/libexec/oh/', file)

but there is nothing inside usr/libexec/oh i think perhaps what was meant was

path = os.path.join(root, 'bin/', file)

where is where the traceroute bin is located.  That seemed to get rid
of the error.

peace!

---
Setting flags in usr/libexec/oh
Traceback (most recent call last):
  File "/usr/sbin/openvps", line 258, in ?
    main()
  File "/usr/sbin/openvps", line 254, in main
    cmd_func()
  File "/usr/sbin/openvps", line 94, in cmd_customize
    vds.customize(name, xid, ip, userid, passwd, disklim)
  File "/usr/lib/python2.3/site-packages/openvps/host/vds.py", line
933, in customize
    vserver_fixup_libexec_oh(root)
  File "/usr/lib/python2.3/site-packages/openvps/host/vds.py", line
839, in vserver_fixup_libexec_oh
    vsutil.set_file_immutable_unlink(path)
  File "/usr/lib/python2.3/site-packages/openvps/host/vsutil.py", line
258, in set_file_immutable_unlink
    return vserver.set_file_attr(path, {'immutable':True, 'iunlink':True})
  File "/usr/lib/python2.3/site-packages/vserver.py", line 167, in set_file_attr
    return _vserver.vc_set_iattr(name, _xid, _flags, _mask)
IOError: [Errno 2] No such file or directory:
'/vserver/widgets/usr/libexec/oh/traceroute'



More information about the dev mailing list