<div dir="ltr">I don't see Ubuntu in the list of manageable systems. Not saying it cannot be done, though.<div><br></div><div><a href="http://spacewalk.redhat.com/faq.html#compare">http://spacewalk.redhat.com/faq.html#compare</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 3:01 PM, William Palfreman <span dir="ltr"><<a href="mailto:william@palfreman.com" target="_blank">william@palfreman.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am building an evaluation spacewalk system, so as to test out its<br>
suitability. We have here a mixture of RHEL6, Ubuntu and some SUSE and<br>
FreeBSD.<br>
<br>
At the moment I am focusing on the Ubuntu systems, as the RHEL ones<br>
already get this from the real RHN site, so an overview of the update<br>
state for managed systems is not so urgent.<br>
<br>
With a RHEL machines I can register with this activation key and get<br>
the (currently empty) channel I intend to use for ubuntu.  With an<br>
Ubuntu system I get nothing.  I don't see any channels available for<br>
it in the web interface, and rhn-channel -l says "This system is not<br>
associated with any channel" and with -L gives no output after asking<br>
for my username and password.<br>
<br>
Any ideas?<br>
<br>
# rhnreg_ks --serverUrl=http:/myhostname/XMLRPC<br>
--activationkey="2-xxx-ubuntu" --force<br>
Warning: unable to enable rhnsd with chkconfig<br>
# ps axuwww | grep rhnsd<br>
root      2412  0.0  0.0   7176   712 ?        Ss   May24   0:01 /usr/sbin/rhnsd<br>
root      5888  0.0  0.0   9392   924 pts/0    S+   20:55   0:00 grep<br>
--color=auto rhnsd<br>
# rhn-channel -l<br>
This system is not associated with any channel<br>
# tail /var/log/up2date<br>
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump<br>
    f(self, value, write)<br>
  File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil<br>
    raise TypeError, "cannot marshal None unless allow_none is enabled"<br>
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled<br>
<br>
[Tue May 28 20:50:31 2013] up2date Warning: haldaemon or messagebus<br>
service not running. Cannot probe hardware and DMI information.<br>
<br>
[Tue May 28 20:55:35 2013] up2date Warning: haldaemon or messagebus<br>
service not running. Cannot probe hardware and DMI information.<br>
-----------------------------------------------------------------------------------------------------<br>
<br>
Do I need the hal daemon running to subscribe to channels?<br>
<br>
(BTW, the above error I fixed earlirwith this patch in /usr/lib.  I<br>
read in the forum archives that it is an Ubuntu bug:<br>
<br>
--- python2.7/xmlrpclib.py      2013-05-28 20:44:38.000000000 +0200<br>
+++ new/xmlrpclib.py    2013-05-28 20:44:24.000000000 +0200<br>
@@ -654,8 +654,8 @@<br>
         f(self, value, write)<br>
<br>
     def dump_nil (self, value, write):<br>
-        if not self.allow_none:<br>
-            raise TypeError, "cannot marshal None unless allow_none is enabled"<br>
+#       if not self.allow_none:<br>
+#           raise TypeError, "cannot marshal None unless allow_none is enabled"<br>
         write("<value><nil/></value>")<br>
     dispatch[NoneType] = dump_nil<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div><br></div>