From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/8] package/mariadb: fix permissions of data dir when using systemd
Date: Sun, 08 Mar 2020 10:39:01 +0200 [thread overview]
Message-ID: <874kuzxmu2.fsf@tarshish> (raw)
In-Reply-To: <877dzvx3js.fsf@dell.be.48ers.dk>
Hi Peter,
On Sat, Mar 07 2020, Peter Korsgaard wrote:
>>>>>> "Ryan" == Ryan Coe <bluemrp9@gmail.com> writes:
>
> > mysql_install_db is currently called in the systemd unit without
> > --user=mysql that the sysv script uses. This will generate the initial
> > database files with root permissions. However, mysqld runs as user mysql
> > so this will cause problems. We fix this by calling chown instead of
> > passing the user parameter because an upcoming version bump will fail when
> > ran this way.
>
> > Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
> > ---
> > Changes v2 -> v3:
> > - separate changes into separate patches (suggested by Thomas)
> > Changes v1 -> v2:
> > - no change
>
> Committed to 2019.02.x and 2019.11.x, thanks.
Not in 2019.02.x as of 06d3d2602, or 2019.11.x as of 51f9a97831e.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
next prev parent reply other threads:[~2020-03-08 8:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 1:21 [Buildroot] [PATCH v3 1/8] package/mariadb: fix permissions of data dir when using systemd Ryan Coe
2020-02-04 1:21 ` [Buildroot] [PATCH v3 2/8] package/mariadb: remove mariadb_config from target Ryan Coe
2020-02-04 13:38 ` Peter Korsgaard
2020-03-10 20:30 ` Peter Korsgaard
2020-02-04 1:21 ` [Buildroot] [PATCH v3 3/8] package/mariadb: add sysroot path to mariadb_config Ryan Coe
2020-02-04 13:45 ` Peter Korsgaard
2020-02-04 1:21 ` [Buildroot] [PATCH v3 4/8] package/mariadb: fix potential error message in sysv startup script Ryan Coe
2020-02-04 13:48 ` Peter Korsgaard
2020-03-10 20:30 ` Peter Korsgaard
2020-02-04 1:21 ` [Buildroot] [PATCH v3 5/8] package/mariadb: rename variable " Ryan Coe
2020-02-04 13:52 ` Peter Korsgaard
2020-02-04 1:21 ` [Buildroot] [PATCH v3 6/8] package/mariadb: explicitly define logging directory to mysqld Ryan Coe
2020-02-04 13:54 ` Peter Korsgaard
2020-02-04 1:21 ` [Buildroot] [PATCH v3 7/8] package/mariadb: do not pass --user=mysql to mysql_install_db Ryan Coe
2020-02-04 13:55 ` Peter Korsgaard
2020-02-04 1:22 ` [Buildroot] [PATCH v3 8/8] package/mariadb: security bump version to 10.4.12 Ryan Coe
2020-02-04 14:02 ` Peter Korsgaard
2020-02-04 13:38 ` [Buildroot] [PATCH v3 1/8] package/mariadb: fix permissions of data dir when using systemd Peter Korsgaard
2020-03-07 21:23 ` Peter Korsgaard
2020-03-08 8:39 ` Baruch Siach [this message]
2020-03-08 8:52 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kuzxmu2.fsf@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox