Re: /etc/init.d hardcoded

Sascha Silbe <[email protected]> Sun, 6 Jan 2008 14:46:45 +0100
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
On Sun, Jan 06, 2008 at 01:40:31PM +0100, Martin Preuss wrote:

> On Sonntag, 6. Januar 2008, Sascha Silbe wrote:
> [...]
>> libchipcard-4.0.0 still has /etc/init.d hardcoded, so installing as a
>> regular user fails. Fix attached.
> [...]
> The init-script needs to be installed to "/etc/init.d" otherwise it 
> will never be executed.
> If you use sysconfdir you will run into trouble if sysconfdir is set 
> to something other than "/etc", e.g. "/etc/chipcard".
And if you hardcode it, only root is able to install libchipcard. That's 
even worse.
Please either add an option for changing the path (so non-root installs 
can use a different path) or make installation of the init script 
optional (it's of no use in those cases anyway). But just hardcoding the 
path will cause non-root installations to break (i.e. abort).

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux)

iD8DBQFHgNvBebr7S6V0daMRAjj1AJ4nHYmKuc/EmWJrzeBiHA7AaL1SjQCfRUnw
5soi/cXTeiIM5G0xCUwspDU=
=3/AV
-----END PGP SIGNATURE-----