Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 859683 Details for
Bug 870990
"spacewalk-remove-channel -l" can not be used when satellite-sync is running.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
0001-870990-sw-rm-ch-l-when-satellite-sync-runs.patch (text/plain), 1.81 KB, created by
Dimitar Yordanov
on 2014-02-05 14:55:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Dimitar Yordanov
Created:
2014-02-05 14:55:43 UTC
Size:
1.81 KB
patch
obsolete
>From d4290838141676727db093499230e5b642c25c80 Mon Sep 17 00:00:00 2001 >From: Dimitar Yordanov <dyordano@redhat.com> >Date: Wed, 5 Feb 2014 15:48:56 +0100 >Subject: [PATCH] 870990 - sw-rm-ch -l when satellite-sync runs. > >--- > backend/satellite_tools/spacewalk-remove-channel | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > >diff --git a/backend/satellite_tools/spacewalk-remove-channel b/backend/satellite_tools/spacewalk-remove-channel >index 3ca931d..5b5380f 100755 >--- a/backend/satellite_tools/spacewalk-remove-channel >+++ b/backend/satellite_tools/spacewalk-remove-channel >@@ -65,16 +65,6 @@ def main(): > sys.stderr.write('ERROR: must be root to execute\n') > sys.exit(8) > >- 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) >- >- > global options_table > parser = OptionParser(option_list=options_table) > >@@ -89,6 +79,16 @@ def main(): > sys.stderr.write("Nothing to do\n") > sys.exit(0) > >+ 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) >+ > initCFG('server') > initLOG("stdout", options.verbose or 0) > >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 870990
: 859683