Hello,
* Boris Daix <[EMAIL PROTECTED]> [04-08-27 09:31]: > Hello Alban, thanks for the input: > > Alban Crequy <[EMAIL PROTECTED]> writes: > > > - chkconfig: Red Hat has chkconfig but Debian hasn't. The equivalent is > > update-rc.d (or rcconf and file-rc for more complex configuration). It > > seems that chkconfig is a lot used by OSCAR. > > yes; best thing would probably be to wrap such distro-specific tools > in a per-distro layer. It would have great interest, let's say, to > easily replace "rpm -i" by "apt-get install", same for updating stuff, > and so on. If I were a perl guru... Well, for most of the core functionality, this is already done : * OSCAR uses a dependency manager (DepMan) and a package manager (PackMan) that provides the functionnality you need : abstraction of the package manager (dpkg/rpm) and of the dependency manager (update-rpm/apt-get/yum/urpmi/XXX). > > I passed the problem with the ugly line: > > ln -s /bin/true /sbin/chkconfig > > ushh - so, some services that OSCAR wants to stop definitely are still > up and running. I'd do such stoppings from my oscar-common pkg > postinst script (asking admin to confirm such an intrusive command WRT > other pkg maintainers' choice). Distro-spe layer may also help there. RedHat, Mandrake have it. SuSe and Debian don't. I think that we need an abstraction layer a "ConfigService" module that will do the job. Because this affect OSCAR infrastructure. Ben -- Benoit des Ligneris Ph. D. President de Revolution Linux http://www.revolutionlinux.com/ OSCAR Chair http://oscar.openclustergroup.org/ Chef de projet EduLinux http://www.edulinux.org/ ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel
