[Bug 710757] Re: Reposync dependency and permissions

Tony Lucas 710757 at bugs.launchpad.net
Wed Feb 2 15:15:45 UTC 2011


Install natty
apt-get update 
apt-get install cobbler

(Add a repo, a fake empty one will do, it makes no difference):

cobbler repo add --name=test --mirror=/root/random (which is empty)
cobbler reposync

debug:

task started: 2011-02-02_151219_reposync
task started (id=Reposync, time=Wed Feb  2 15:12:19 2011)
hello, reposync
run, reposync, run!
running: rsync -rltDv  --delete --exclude-from=/etc/cobbler/rsync.exclude /root/random/ /var/www/cobbler/repo_mirror/testrepo
received on stdout: sending incremental file list
./

sent 27 bytes  received 15 bytes  84.00 bytes/sec
total size is 0  speedup is 0.00

recieved on stderr: 
running: createrepo  -c cache -s sha /var/www/cobbler/repo_mirror/testrepo
received on stdout: 
recieved on stderr: /bin/sh: createrepo: not found

creating: /var/www/cobbler/repo_mirror/testrepo/config.repo
running: chown -R root:apache /var/www/cobbler/repo_mirror/testrepo
received on stdout: 
recieved on stderr: chown: invalid group: `root:apache'

running: chmod -R 755 /var/www/cobbler/repo_mirror/testrepo
received on stdout: 
recieved on stderr: 
*** TASK COMPLETE ***

Fails both with not finding createrepo, as it's not installed, and the
group is wrong for chown as well.  That said it doesn't notice it's
failed!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cobbler in ubuntu.
https://bugs.launchpad.net/bugs/710757

Title:
  Reposync dependency and permissions



More information about the Ubuntu-server-bugs mailing list