https://bugzilla.redhat.com/show_bug.cgi?id=1083962



--- Comment #6 from Honza Horak <hho...@redhat.com> ---
(In reply to Oden Eriksson from comment #5)
> (In reply to Honza Horak from comment #4)
> > (In reply to Oden Eriksson from comment #3)
> > > Fixed now, thanks.
> > > 
> > > It has to pull in (mariadb|mysql)-libs as there's no autodeps generated on
> > > the required %{_datadir}/mysql/english/errmsg.sys file.
> > 
> > It sounds like a good time to introduce such a provide name, in case some
> > packages need it. Say something like 'mysql(errmsg.sys)'?
> 
> No please don't clutter the rpm database with that. This package is an
> exception. The problem is that softwares using the embedded mysql server
> (libmysqld.x) directly needs the errmsg.sys file, otherwise libmysqld barfs.
> In redhat these (except english) are also under %lang control.

OK, so shouldn't we instead solve this in the mariadb/mysql packages, i.e. to
ensure that as soon as the embedded server (libmysqld.so) is installed, there
will be also the errmsg file present?

> > > It does not support running as a unpriv user yet, maybe future versions 
> > > will
> > > and then I fix that.
> > 
> > What exactly the daemon needs to have root privileges for? Wouldn't mysql
> > user's privileges be enough? I mean the daemon would run under mysql user.
> 
> If so preferably under a new user (maxscale), but I don't really know how to
> do that in a good way. Using su? How to do that in systemd?

In systemd unit file it is very simple, just set the User= and Group= in the
[Service] section of your unit file:
http://www.freedesktop.org/software/systemd/man/systemd.exec.html#User=

For creating the user, consult the Users and Groups section of the Guidelines:
https://fedoraproject.org/wiki/Packaging:UsersAndGroups

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to