[osiris-devel] Easier RPM Conversion
Brian Wotring
brian at shmoo.com
Wed Oct 6 15:13:57 EDT 2004
There have been contributions in the past for RPMs. I believe someone
from the SuSE community, and RH as well. I assume you are trying to RPM
4.0.5, correct?
In fact, some modifications where made to the installation script that
should help you out, but I'm not sure as I didn't actually develop/test
them. Look for a macro named, "PACKAGE_MODE" and "INTERACTIVE". I
think that is what you need to look at.
If you are still having problems, let me know and I'll try to help you out.
David M. Fetter wrote:
> Damn! When I try to turn osiris into an rpm on linux it seg faults
> because its trying to copy the init scripts into /etc/init.d but it
> can't (and shouldn't really). Just thought I'd let you know. Don't
> know if anybody else posted concerning such a problem or not.
>
> On Wed, 2004-10-06 at 07:14, David M. Fetter wrote:
>
>>I would like to suggest/comment on two things regarding the tarball.
>>
>>1. I think that while it's nice to have an rc script included with the
>>tarball, it probably shouldn't be installed automatically. Instead make
>>it so the command "make install rc" be required to install them, but
>>they won't install with just "make install" or "make install all". The
>>problem (and it's only minor because RPM continues on anyway) is that by
>>doing this you get errors when trying to turn it into an rpm such as
>>this:
>>
>>==> installing rc startup for daemon(s).
>>./install.sh: /etc/init.d//osirisd.tmp: cannot create
>>./install.sh: /etc/init.d//osirisd.tmp: cannot open
>>/usr/local/bin/chmod: cannot access `/etc/init.d//osirisd': No such file
>>or directory
>>/usr/local/bin/rm: cannot lstat `/etc/init.d//osirisd.tmp': No such file
>>or directory
>>/usr/local/bin/ln: creating symbolic link `/etc/rc2.d//S95osirisd' to
>>`/etc/init.d//osirisd': Permission denied
>>./install.sh: /etc/init.d//osirismd.tmp: cannot create
>>./install.sh: /etc/init.d//osirismd.tmp: cannot open
>>/usr/local/bin/chmod: cannot access `/etc/init.d//osirismd': No such
>>file or directory
>>/usr/local/bin/rm: cannot lstat `/etc/init.d//osirismd.tmp': No such
>>file or directory
>>/usr/local/bin/ln: creating symbolic link `/etc/rc2.d//S95osirismd' to
>>`/etc/init.d//osirismd': Permission denied
>>==> Skipping permission setting.
>>==> Skipping post install.
>>
>>2. It seem that it doesn't detect the user specified if they are in
>>NIS. I would suspect the same is true for ldap. What happens is that
>>even though I have the generic user account existing in NIS, when
>>installing osiris it doesn't see it and tries to create the account in
>>the local files. This should probably have better checking.
>>
>>Otherwise, we're quite pleased with this. It is very simple and does
>>what we need. Thanks.
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>osiris-devel mailing list
>>osiris-devel at lists.shmoo.com
>>https://lists.shmoo.com/mailman/listinfo/osiris-devel
More information about the osiris-devel
mailing list