On Fri, Apr 15, 2011 at 01:55:45PM +0200, Michael Calmer wrote: > Hi, > > Am Freitag, 8. April 2011, 15:23:52 schrieb Michael Calmer: > > Hi, > > > > here is a patch to build rhnmd on openSUSE. > > > > 0014-build-rhnmd-on-SUSE.patch > > - modify the specfile > > - add init script for openSUSE > > > > For SUSE I have removed the ssh key generation from the %post section. > > I added the generation into the SUSE init script. > > The reason for this is, that if you do it in %post and use this RPM in an > > appliance, you have the same ssh key on all copies of your appliance. > > > > Maybe you are interrested to do this also for RedHat / Fedora. > > I changed this patch and splited one more general thing out. > > build rhnmd on SUSE > > - add init script for SUSE > - BuildRequire sysconfig to make chkconfig work during build in OBS > - openssh-server does not exist on SUSE (part of openssh) > - no keygen in %post to use it in appliances > - create nocpulse user in a different way to make hime work on SUSE > with openssh > > add nocpulse config dir to filelist > I think rhnmd requires nothing which already provides this directory.
Pushed to master as d4dfbbc37eb42e07b8d2afc6d3a19195731bcb7b and 1e2120ddfc84f6804dda2decc6b2809c5dd154a9 and tagged as rhnmd-5.3.9-1. Thanks, -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel