Disregard. Creating the file in /etc/systemd/system/mariadb.service.d/
works fine.


On Ubuntu you must mkdir -p first, since /etc/systemd/system does not exist

If anyone else stumbles across this annoying issue:


mkdir -p /etc/systemd/system/mariadb.service.d
cat > /etc/systemd/system/mariadb.service.d/dontprotecthome.conf << EOL
[Service]
ProtectHome=false
EOL

systemctl daemon-reload
systemctl restart mariadb



That's what I get for googling how to disable ProtectHome in Ubuntu. First 
answer was to modify a system file that is overwritten when the package is 
updated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902744

Title:
  MariaDB Update changes ProtectHome option, breaking MySQL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1902744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to