Bug 703833 - rhnreg_ks complaints on registering Debian client
Summary: rhnreg_ks complaints on registering Debian client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Šimon Lukašík
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2011-05-11 11:43 UTC by David Hrbáč
Modified: 2011-12-12 13:12 UTC (History)
2 users (show)

Fixed In Version: rhn-client-tools-1.6.41-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-12 13:12:17 UTC
Embargoed:


Attachments (Terms of Use)

Description David Hrbáč 2011-05-11 11:43:14 UTC
Description of problem:

During Debian client registration rhnreg_ks says:

simon-test:~# rhnreg_ks --serverUrl=http://spacewalk.vsb.cz/XMLRPC --activationkey=1-debian-test
sh: /sbin/service: not found
sh: /sbin/service: not found


Version-Release number of selected component (if applicable):
simon-test:~# cat /etc/debian_version
6.0.1
rhnsd 0.5.14-6

Comment 1 Jan Pazdziora 2011-07-20 11:51:45 UTC
Aligning under space16.

Comment 2 Jan Pazdziora 2011-12-09 10:10:47 UTC
If you do

  ln -s /usr/sbin/service /sbin/service

will it make things work?

Comment 3 David Hrbáč 2011-12-12 09:15:09 UTC
simon-test:~# ls -al  /usr/sbin/service
-rwxr-xr-x 1 root root 4614 Jan  1  2011 /usr/sbin/service

simon-test:~# ln -s /usr/sbin/service /sbin/service

simon-test:~# ls -al /usr/sbin/service /sbin/service
lrwxrwxrwx 1 root root   17 Dec 12 10:11 /sbin/service -> /usr/sbin/service
-rwxr-xr-x 1 root root 4614 Jan  1  2011 /usr/sbin/service

simon-test:~# rhnreg_ks --serverUrl=http://spacewalk.vsb.cz/XMLRPC --activationkey=1-debian-test --force
simon-test:~#

Jane,
Symlink resolves the issue.
DH

Comment 4 Jan Pazdziora 2011-12-12 09:36:29 UTC
I now added a check for /usr/sbin/service if /sbin/service does not exist, Spacewalk master ae55c7bf1a5ccab257ff7c5e43981b0d77cae563.

Šimon, you might want to rebase the Debian packages with this change.

Comment 5 David Hrbáč 2011-12-12 09:50:59 UTC
Looks good to me, thanks,
DH

Comment 6 Šimon Lukašík 2011-12-12 13:12:17 UTC
Fixed in python-rhn-client-tools_1.6.41-1_all.deb

The package just made it's way to the msychy's repository.

Closing as current release.


Note You need to log in before you can comment on or make changes to this bug.