packages: mysql/mysql.spec, mysql/my.cnf (NEW) - add default ~/.my.cnf via ...

Elan Ruusamäe glen at pld-linux.org
Mon Dec 21 19:00:12 CET 2009


On Monday 21 December 2009 17:25:44 Pawel Golaszewski wrote:
> On Mon, 21 Dec 2009, glen wrote:
> > Author: glen                         Date: Mon Dec 21 14:52:55 2009 GMT
> > Module: packages                      Tag: HEAD
> > ---- Log message:
> > - add default ~/.my.cnf via /etc/skel
>
> [...]
>
> > +cp -a %{SOURCE14} $RPM_BUILD_ROOT/etc/skel/.my.cnf
>
> [...]
>
> > +%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size)
> > /etc/skel/.my.cnf
>
> [...]
>
> > @@ -0,0 +1,2 @@
> > +[client]
> > +user=mysql
>
> Please, don't put you private configs into distro. It's not a good
> default.

so, make it good default!

by your speak anything in /etc/skel is someones private config.

-- 
glen


More information about the pld-devel-en mailing list