From: | Bertrand Simonnet <bsimonnet@××××××.com> |
---|---|
To: | gentoo-portage-dev@l.g.o |
Subject: | [gentoo-portage-dev] [PATCH] Fix read only filesystem detection logic |
Date: | Thu, 11 Sep 2014 08:51:20 |
Message-Id: | CAKQxsKaGQGABXgib5EJO3HrJr9eyCBrekX9uXOmAR2_2d7ULWw@mail.gmail.com |
1 | Hi everyone, |
2 | |
3 | I think there is a bug in the read only detection logic: portage will check |
4 | the write permission on the system relative to / and not relative to ROOT. |
5 | |
6 | I found this when emerging a package with --root=/usr/local on my system |
7 | with: |
8 | * / read only |
9 | * /usr/local read-write |
10 | |
11 | Note, the error message was also wrong as it indicated that /usr/local was |
12 | read only when it actually detected / as read only and prefixed it with |
13 | ROOT in the message. |
14 | |
15 | I attached a patch that fix the detection logic and the error message. |
16 | |
17 | Bertrand Simonnet |
File name | MIME type |
---|---|
0001-Fix-read-only-detection-logic.patch | application/octet-stream |
Subject | Author |
---|---|
Re: [gentoo-portage-dev] [PATCH] Fix read only filesystem detection logic | Zac Medico <zmedico@g.o> |
Re: [gentoo-portage-dev] [PATCH] Fix read only filesystem detection logic | Zac Medico <zmedico@g.o> |