Re: [ANNOUNCE] Func 0.21, no new certmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No infact it works correctly if I try to run as root user, but now with mine. But I've already set the acls and all other functions work correctly with my user... just command has this problem.

Marco

Michael DeHaan wrote:
Marco Mornati wrote:
Hi,

I've updated to newest version of Func. But there is a problem (or something is change) when I try to call the command module:

func bcmmornati call command run "ls /tmp"
Traceback (most recent call last):
File "/usr/bin/func", line 12, in <module>
  cli.parse(argv)
File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 247, in parse
  return self.subCommands[command].parse(args[1:])
File "/usr/lib/python2.5/site-packages/func/overlord/cmd_modules/call.py", line 79, in parse
  return base_command.BaseCommand.parse(self, argv)
File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 228, in parse
  ret = self.do(args)
File "/usr/lib/python2.5/site-packages/func/overlord/cmd_modules/call.py", line 148, in do results = self.overlord_obj.run(self.module, self.method, self.method_args) File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 311, in run
  results = jobthing.batch_run(self.minions, process_server, nforks)
File "/usr/lib/python2.5/site-packages/func/jobthing.py", line 115, in batch_run
  __update_status(job_id, JOB_ID_RUNNING, -1)
File "/usr/lib/python2.5/site-packages/func/jobthing.py", line 41, in __update_status return __access_status(jobid=jobid, status=status, results=results, write=True) File "/usr/lib/python2.5/site-packages/func/jobthing.py", line 71, in __access_status
  handle = open(filename,"w")
IOError: [Errno 13] Permission denied: '/var/lib/func/status-500'

Are you running this as root? It looks like you don't have acls on /var/lib/func/.

--Michael



--
Dott. Ing. Mornati Marco
Byte-Code s.r.l
via Antonio Cechov, 1
San Giuliano Milanese (MI)
E-Mail: mmornati@xxxxxxxxxxxxx


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux