Your message dated Sun, 21 May 2017 09:31:29 +0100
with message-id <[email protected]>
and subject line Re: [debian-mysql] Bug#863066: mariadb-server: ProtectedHome
was set to true after an upgrade
has caused the Debian Bug report #863066,
regarding mariadb-server: ProtectedHome was set to true after an upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
863066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863066
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mariadb-server
Version: 10.1.23-8
Severity: wishlist
Dear Maintainer,
my data folder for MariaDB databases is under /home file system which is the
biggest file system on my workstation. When upgrading from Jessie to Stretch I
set ProtectHome=false in /lib/systemd/system/mariadb.service but after
upgrading Mariadb-server package today again ProtectHome was set to true. I
don't know the reason for introducing this configuration parameter but I would
like my choice of ProtectHome value to be remembered somehow during package
upgrade.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64
(x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mariadb-server depends on:
ii mariadb-server-10.1 10.1.23-8
mariadb-server recommends no packages.
mariadb-server suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Georgi,
On Sun, May 21, 2017 at 10:57:47AM +0300, Georgi Naplatanov wrote:
> my data folder for MariaDB databases is under /home file system which
> is the biggest file system on my workstation. When upgrading from
> Jessie to Stretch I set ProtectHome=false in
> /lib/systemd/system/mariadb.service but after upgrading Mariadb-server
> package today again ProtectHome was set to true. I don't know the
> reason for introducing this configuration parameter but I would like
> my choice of ProtectHome value to be remembered somehow during package
> upgrade.
Files in /lib/systemd/system (in fact, everything in /lib, /usr, and so
on) are overwritten on package upgrade by design. It is usually user
error to change these manually. If you want to make a change, you must
override it in /etc/systemd/system/ instead. Then your customizations
will remain on upgrade. See systemd.unit(5) for details. To just
override one setting, you can do it in
/etc/systemd/system/mariadb.service.d/. See the "Overriding vendor
settings" section in the manpage for details.
I hope that helps. Since what you describe is by design, I'm closing
this bug.
Robie
signature.asc
Description: PGP signature
--- End Message ---