dev-db/mariadb and dev-db/mysql may be used also in conjunction with systemd by keeping the existing config files and scripts architecture based on baselayout / openrc, even if setting up systemd to work with or without any openrc remains. works for me on mariadb: [Unit] Description=MariaDB database server After=syslog.target [Service] User=mysql Group=mysql ExecStart=/usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf Restart=always PrivateTmp=true [Install] WantedBy=multi-user.target (Had also to create the directory ‘/var/run/mysqld’, owned by mysql:mysql) Reproducible: Always Expected Results: provide necessary systemd unit (service file), possibly depending on USE="systemd" with respective dependency to systemd from the systemd overlay in that case
Unit is already in dev-db/mysql-init-scripts-2.0_pre1-r6
*** This bug has been marked as a duplicate of bug 466084 ***