[MDEV-5500] init scripts use a special user Created: 2014-01-02 Updated: 2020-03-03 Resolved: 2020-03-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Debian |
| Affects Version/s: | 5.5.34-galera, 5.5.34 |
| Fix Version/s: | 10.4.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | erkan yanar | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | packaging | ||
| Environment: |
Debian/Ubuntu |
||
| Issue Links: |
|
||||||||
| Description |
|
The init scripts for debian and ubuntu rely on a special user: It has three tasks: The problem with this approach is the credentials has to be stored disjunct in the filesystem (/etc/init.d/debian.cnf). So everytime the data in the schema changes you got to fix it in the configfile.
|
| Comments |
| Comment by erkan yanar [ 2014-01-02 ] | |||||||||||||||||||||||||
|
Hehe ok, this is related to https://mariadb.atlassian.net/browse/MDEV-703. | |||||||||||||||||||||||||
| Comment by Constantine Linnick [ 2014-01-28 ] | |||||||||||||||||||||||||
|
Issued this during upgrade 10.0.6 to 10.0.7 twice out of few dozen instances Manual fix http://mirzmaster.wordpress.com/2009/01/16/mysql-access-denied-for-user-debian-sys-maintlocalhost/ after this "apt-get install -f" can proceed | |||||||||||||||||||||||||
| Comment by Daniel Black [ 2014-03-04 ] | |||||||||||||||||||||||||
|
A warning is better than nothing. I tried to push the debian.cnf into the datadir however the wsrep_sst_rsync is quite fussy about what it copies.
| |||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-02 ] | |||||||||||||||||||||||||
|
otto, Are you planning to make any radical changes around this debian-sys-maint user, or should we just apply the suggested warnings? | |||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2015-06-08 ] | |||||||||||||||||||||||||
|
elenst Yes, the whole debian-sys-maint user will be abandoned as we have transitioned to unix socket auth by default in Debian Sid. | |||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-11-25 ] | |||||||||||||||||||||||||
|
This is automatically solved once | |||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-03-03 ] | |||||||||||||||||||||||||
|
Unix socket authentication has been default in upstream MariaDB.org Debian packaging since the release of 10.4, so this issue is thus fixed, as everything works via the root/mysql user now with unix socket authentication and the custom debian-sys-maint user is deprecated (although on upgrades of all installs it still works). |