[Linux-HA] patch for mysql ocf script

Raoul Raoul
Sun Oct 14 07:41:19 MDT 2007


may i propose a patch for the mysql ocf script which should help all 
people who do not use /etc/passwd and /etc/group for their user 
accounts (e.g. ldap). i replaced the greps with "getent".

on linux, getent ships with glibc. from what i see there is a getent 
available on freebsd [1], openbsd [2] and solaris [3].

thank you,
raoul bhatia

[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/getent/
[2] http://ftp.bg.openbsd.org/OpenBSD/src/usr.bin/getent/
[3] http://www.softpanorama.org/Net/Solaris/solaris_getent.shtml
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysql.diff
Type: application/octet-stream
Size: 858 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20071014/3fe1d417/attachment.obj>

More information about the Linux-HA mailing list