[Spacewalk-list] Remote command execution Debian client

Morgan Cox morgancoxuk at gmail.com
Sat Dec 20 19:50:45 UTC 2014


Have you actually got Debian working with spacewalk - I was never able to
get spacewalk to install any update from the security repo?

Also Ubuntu I could not sync any repo.

On 19 December 2014 at 22:40, Nick Tailor <HTailor at bclc.com> wrote:

>  I also built the package using the source from indicated below and
> installed, however still receive the similar error that the python-rhnlib
> is not installed, which probably part of the issue.
>
>
>
> https://packages.debian.org/source/sid/rhnlib
>
>
>
> It would be nice to have all the packages in one place to make this all
> work
>
>
>
> Nick Tailor
>
> Nicktailor.com
>
>
>
> *From:* spacewalk-list-bounces at redhat.com [mailto:
> spacewalk-list-bounces at redhat.com] *On Behalf Of *Nick Tailor
> *Sent:* December-19-14 10:44 AM
>
> *To:* spacewalk-list at redhat.com
> *Subject:* Re: [Spacewalk-list] Remote command execution Debian client
>
>
>
> I think it has something to do with the way rhncfg installed. I got those
> files from.
>
>
>
> Do you know where I can find the proper rhncfg files for debian wheezy?
>
>
>
> http://miroslav.suchy.cz/spacewalk/debian
>
>
>
> Output
>
>
>
> [root at debian:/root]# dpkg -i rhncfg_5.10.28_all.deb
>
> Selecting previously unselected package rhncfg.
>
> (Reading database ... 26300 files and directories currently installed.)
>
> Unpacking rhncfg (from rhncfg_5.10.28_all.deb) ...
>
> dpkg: dependency problems prevent configuration of rhncfg:
>
> rhncfg depends on python-rhnlib (>= 2.5.40); however:
>
>   Package python-rhnlib is not installed.
>
>
>
> dpkg: error processing rhncfg (--install):
>
> dependency problems - leaving unconfigured
>
> Processing triggers for man-db ...
>
> Errors were encountered while processing:
>
> rhncfg
>
> [root at debian:/root]# dpkg -l | grep rhn
>
> ii  python-rhn                         2.5.52-1
> all          Python libraries for the RHN project
>
> ii  rhn-client-tools                   1.8.9-3
> amd64        Red Hat Network Client Tools
>
> iU  rhncfg                             5.10.28
> all          Red Hat Network Configuration Management Client is some tools
>
> [root at debian:/root]# updatedb
>
> [root at debian:/root]# locate rhn-actions
>
> /usr/bin/rhn-actions-control
>
> /usr/share/man/man8/rhn-actions-control.8.gz
>
> /usr/share/rhn/actions/rhn-actions-control.py
>
> /usr/share/rhn/actions/rhn-actions-control.pyc
>
> [root at debian:/root]# /usr/bin/rhn-actions-control --report
>
> deploy is enabled
>
> diff is enabled
>
> upload is enabled
>
> mtime_upload is enabled
>
> run is enabled
>
>
>
> Thanks for your help
>
>
>
> Nick Tailor
>
> Nicktailor.com
>
>
>
>
>
> *From:* spacewalk-list-bounces at redhat.com [
> mailto:spacewalk-list-bounces at redhat.com
> <spacewalk-list-bounces at redhat.com>] *On Behalf Of *Waldirio Manhães
> Pinheiro
> *Sent:* December-18-14 2:29 AM
> *To:* spacewalk-list at redhat.com
> *Subject:* Re: [Spacewalk-list] Remote command execution Debian client
>
>
>
> Nick
>
>
>
> Can you paste the output of
>
>
>
> /usr/bin/rhn-actions-control --report
>
>
>
> Take Care
>
>
>   ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
>
>
> On Wed, Dec 17, 2014 at 11:02 PM, Nick Tailor <HTailor at bclc.com> wrote:
>
> I found the script, however ran it, and still no luck J
>
>
>
> /usr/bin/rhn-actions-control --enable-all
>
>
>
> Nick Tailor
>
> Nicktailor.com
>
>
>
>
>
> *From:* Nick Tailor
> *Sent:* December-17-14 4:54 PM
> *To:* spacewalk-list at redhat.com
> *Subject:* RE: Remote command execution Debian client
>
>
>
> I found this stating that the rhncfg package is not native to the apt
> sources yet?
>
>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=713072
>
>
>
> Does anyone know where I can find the more recent rhncfg packages for
> debian? I believe this will resolve the remote command execution problem.
>
>
>
> Please and thank you
>
>
>
> Cheers
>
>
>
> Nick Tailor
>
> Nicktailor.com
>
>
>
> *From:* spacewalk-list-bounces at redhat.com [
> mailto:spacewalk-list-bounces at redhat.com
> <spacewalk-list-bounces at redhat.com>] *On Behalf Of *Nick Tailor
> *Sent:* December-15-14 3:09 PM
> *To:* spacewalk-list at redhat.com
> *Subject:* [Spacewalk-list] Remote command execution Debian client
>
>
>
> Hi,
>
>
>
> Does anyone know if the remote command execution for debian clients works?
>
>
>
> I get the following error below.  On debian as far as I can tell there is
> no rhncfg-actions package installed?
>
>
>
> I have enabled the */etc/sysconfig/rhn/allowed-actions/script/run *
>
>
>
> Error from spacewalk remote-command execution on debian client
>  Missing Capabilities
>
> An operation could not be completed on a system due to a missing
> capability.
>
> The server *debian.nicktailor.com
> <https://10.0.9.101/rhn/systems/details/Overview.do?sid=1000010040>* does
> not have the *script.run* client capability. Please enable the capability
> before proceeding with the operation.
>
>
>
> Has anyone ran into this, couldn’t find anything on google to confirm if
> it works or not?
>
>
>
> Nick Tailor
>
> Nicktailor.com
>
>
>  ------------------------------
>
> This email is intended only for the addressee. It may contain confidential
> or proprietary information that cannot be disclosed without BCLC's
> permission. If you have received this email in error, please notify the
> sender immediately and delete the email.
>    ------------------------------
>
> This email is intended only for the addressee. It may contain confidential
> or proprietary information that cannot be disclosed without BCLC's
> permission. If you have received this email in error, please notify the
> sender immediately and delete the email.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>   ------------------------------
>
> This email is intended only for the addressee. It may contain confidential
> or proprietary information that cannot be disclosed without BCLC's
> permission. If you have received this email in error, please notify the
> sender immediately and delete the email.
>  ------------------------------
> This email is intended only for the addressee. It may contain confidential
> or proprietary information that cannot be disclosed without BCLC's
> permission. If you have received this email in error, please notify the
> sender immediately and delete the email.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141220/d88aae78/attachment.htm>


More information about the Spacewalk-list mailing list