[MDEV-5334] Permission Error on softlink is wrong Created: 2013-11-25 Updated: 2013-12-03 Due: 2013-12-30 Resolved: 2013-12-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Philip orleans | Assignee: | Elena Stepanova |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora 20 |
||
| Issue Links: |
|
||||||||
| Description |
|
I stopped the server, installed with yum, moved /var/lib/mysql to /data/mysql, created a softlink [ERROR] mysqld: Can't create/write to file '/var/lib/mysql/aria_log_control' (Errcode: 13 "Permission denied") |
| Comments |
| Comment by Elena Stepanova [ 2013-12-02 ] |
|
Actually, for me it fails even earlier, on mysqld_safe level. Could you please check if it solves your variation of the problem as well, so that we know it's the same thing? Thanks. |
| Comment by Philip orleans [ 2013-12-02 ] |
|
Dear Elena Maybe you can use this information to design a more secure way of doing things. Yours Federico On Mon, Dec 2, 2013 at 3:13 PM, Elena Stepanova (JIRA) |
| Comment by Elena Stepanova [ 2013-12-02 ] |
|
Hi Federico, This is a bit strange, because as I said before, after disabling SELinux it worked smoothly for me just as you described initially, I didn't have to do any other steps.
|
| Comment by Philip orleans [ 2013-12-02 ] |
|
Dear Elena Yours Federico On Mon, Dec 2, 2013 at 4:03 PM, Elena Stepanova (JIRA) |
| Comment by Elena Stepanova [ 2013-12-02 ] |
|
I'm only using Fedora 20 because that's what you put in the Environment field in the bug report. Thanks. |
| Comment by Philip orleans [ 2013-12-03 ] |
|
No, you are right. I found the issue on my new Fedora 20. I apologize.
On Mon, Dec 2, 2013 at 4:13 PM, Elena Stepanova (JIRA) |
| Comment by Elena Stepanova [ 2013-12-03 ] |
|
Here is my public key: |
| Comment by Philip orleans [ 2013-12-03 ] |
|
Done On Mon, Dec 2, 2013 at 5:10 PM, Elena Stepanova (JIRA) |
| Comment by Elena Stepanova [ 2013-12-03 ] |
|
Logged, took a look, sent a reply by email. |
| Comment by Elena Stepanova [ 2013-12-03 ] |
|
Hi, As already discussed in the email, further investigation has shown that there is a real underlying problem in how /etc/init.d/mysql script treats custom basedir/datadir settings. The bug is filed on your behalf as So, I will close this report as a duplicate of However, I don't rule out completely that some other bugs in the mysql init script caused more access problems, so if you encounter something else that cannot be explained by Thanks. |