Description of problem: "spacewalk-remove-channel -l" can not be used when satellite-sync is running. Version-Release number of selected component (if applicable): spacewalk-backend-tools-1.7.38-34 How reproducible: Steps to Reproduce: 1.#nohup satellite-sync -c rhel-i386-server-5 & 2.# spacewalk-remove-channel -l An instance of satellite-sync is running, exiting. Proposed Fix: diff /usr/bin/spacewalk-remove-channel.ORIG /usr/bin/spacewalk-remove-channel 66,73d65 < for command in ['spacewalk-remove-channel', 'satellite-sync', < 'spacewalk-repo-sync']: < try: < LOCK.append(rhnLockfile.Lockfile( < os.path.join(LOCK_DIR, "%s.pid" % command))) < except rhnLockfile.LockfileLockedException: < print("ERROR: An instance of %s is running, exiting." % command) < sys.exit(-1) 80a73,82 > if not options.list: > for command in ['spacewalk-remove-channel', 'satellite-sync', > 'spacewalk-repo-sync']: > try: > LOCK.append(rhnLockfile.Lockfile( > os.path.join(LOCK_DIR, "%s.pid" % command))) > except rhnLockfile.LockfileLockedException: > print("ERROR: An instance of %s is running, exiting." % command) > sys.exit(-1) >
Created attachment 859683 [details] patch
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff