[Bug 775946] [NEW] debmirror fails to execute due to not set HOME env variable

Andres Rodriguez andreserl at ubuntu-pe.org
Mon May 2 22:16:07 UTC 2011


Public bug reported:

Binary package hint: cobbler

unning: /usr/bin/debmirror --passive --nocleanup --verbose --ignore-release-gpg --method=http --host=us.archive.ubuntu.com --root=ubuntu --dist=natty  /var/www/cobbler/repo_mirror/mini-i386 --nosource -a i386
received on stdout: 
received on stderr: HOME not defined in environment!

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 119, in run
    self.sync(repo)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 152, in sync
    return self.apt_sync(repo)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 492, in apt_sync
    utils.die(self.logger,"cobbler reposync failed")
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 131, in die
    raise CX(msg)

reposync failed, tries left: 0
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 246, in runner
    name=None, nofail=nofail, logger=self.logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 730, in reposync
    return reposync.run(name)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 128, in run
    utils.die(self.logger,"reposync failed, retry limit reached, aborting")
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 131, in die
    raise CX(msg)

!!! TASK FAILED !!!

** Affects: cobbler (Ubuntu)
     Importance: Low
     Assignee: Andres Rodriguez (andreserl)
         Status: Confirmed

** Changed in: cobbler (Ubuntu)
   Importance: Undecided => Medium

** Changed in: cobbler (Ubuntu)
       Status: New => Confirmed

** Changed in: cobbler (Ubuntu)
   Importance: Medium => Low

** Changed in: cobbler (Ubuntu)
     Assignee: (unassigned) => Andres Rodriguez (andreserl)

-- 
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/775946

Title:
  debmirror fails to execute due to not set HOME env variable



More information about the Ubuntu-server-bugs mailing list