* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:09 [sisyphus] symlink /etc/mtab -> /proc/mounts Alexey Shabalin
@ 2011-02-28 12:33 ` Sergei Epiphanov
2011-02-28 12:50 ` Alexey Shabalin
2011-02-28 12:45 ` Michael Shigorin
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Sergei Epiphanov @ 2011-02-28 12:33 UTC (permalink / raw)
To: shaba, ALT Linux Sisyphus discussions
В сообщении от 28 февраля 2011 15:09:04 автор Alexey Shabalin написал:
> День добрый.
> Есть ли какие нибудь причины, что бы не делать symlink /etc/mtab ->
> /proc/mounts в sisyphus?
> Хотелось бы собрать util-linux с этим изменением.
> И, возможно, включить поддержку selinux.
А каталог /proc монтируется вовремя? А то поначалу ссылка ведёт в никуда.
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:33 ` Sergei Epiphanov
@ 2011-02-28 12:50 ` Alexey Shabalin
0 siblings, 0 replies; 11+ messages in thread
From: Alexey Shabalin @ 2011-02-28 12:50 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
2011/2/28 Sergei Epiphanov <serpiph@nikiet.ru>:
> В сообщении от 28 февраля 2011 15:09:04 автор Alexey Shabalin написал:
>> День добрый.
>> Есть ли какие нибудь причины, что бы не делать symlink /etc/mtab ->
>> /proc/mounts в sisyphus?
>> Хотелось бы собрать util-linux с этим изменением.
>> И, возможно, включить поддержку selinux.
>
> А каталог /proc монтируется вовремя? А то поначалу ссылка ведёт в никуда.
При каких условиях это происходит?
монтирование /proc в rc.sysinit происходит ещё до remount /
Так что /proc должен существовать с самого начала.
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:09 [sisyphus] symlink /etc/mtab -> /proc/mounts Alexey Shabalin
2011-02-28 12:33 ` Sergei Epiphanov
@ 2011-02-28 12:45 ` Michael Shigorin
2011-02-28 12:31 ` Alexey Shabalin
2011-02-28 13:39 ` Dmitry V. Levin
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Michael Shigorin @ 2011-02-28 12:45 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Mon, Feb 28, 2011 at 03:09:04PM +0300, Alexey Shabalin wrote:
> Есть ли какие нибудь причины, что бы не делать symlink
> /etc/mtab -> /proc/mounts в sisyphus?
В чруте для тонких клиентов такой хак и делается.
Из вылазящего -- обрати внимание на разные строчки для /
и когда-то rc.sysinit грязно ругался на already mounted.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:45 ` Michael Shigorin
@ 2011-02-28 12:31 ` Alexey Shabalin
0 siblings, 0 replies; 11+ messages in thread
From: Alexey Shabalin @ 2011-02-28 12:31 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
2011/2/28 Michael Shigorin :
> On Mon, Feb 28, 2011 at 03:09:04PM +0300, Alexey Shabalin wrote:
>> Есть ли какие нибудь причины, что бы не делать symlink
>> /etc/mtab -> /proc/mounts в sisyphus?
>
> В чруте для тонких клиентов такой хак и делается.
>
> Из вылазящего -- обрати внимание на разные строчки для /
> и когда-то rc.sysinit грязно ругался на already mounted.
rc.sysinit проверяет, не symlink ли это.
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:09 [sisyphus] symlink /etc/mtab -> /proc/mounts Alexey Shabalin
2011-02-28 12:33 ` Sergei Epiphanov
2011-02-28 12:45 ` Michael Shigorin
@ 2011-02-28 13:39 ` Dmitry V. Levin
2011-02-28 13:59 ` Michael Shigorin
2011-02-28 14:00 ` Alexey Shabalin
2011-02-28 17:17 ` Alexey Tourbin
2011-02-28 17:20 ` Mikhail Efremov
4 siblings, 2 replies; 11+ messages in thread
From: Dmitry V. Levin @ 2011-02-28 13:39 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
Hi,
On Mon, Feb 28, 2011 at 03:09:04PM +0300, Alexey Shabalin wrote:
> День добрый.
> Есть ли какие нибудь причины, что бы не делать symlink /etc/mtab ->
> /proc/mounts в sisyphus?
> Хотелось бы собрать util-linux с этим изменением.
Все уже должно быть готово к этому, но что-нибудь обязательно сломается.
Пока не попробуешь, не узнаешь, что именно.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 13:39 ` Dmitry V. Levin
@ 2011-02-28 13:59 ` Michael Shigorin
2011-02-28 13:59 ` Alexey Shabalin
2011-02-28 14:00 ` Alexey Shabalin
1 sibling, 1 reply; 11+ messages in thread
From: Michael Shigorin @ 2011-02-28 13:59 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Mon, Feb 28, 2011 at 04:39:14PM +0300, Dmitry V. Levin wrote:
> > Есть ли какие нибудь причины, что бы не делать symlink
> > /etc/mtab -> /proc/mounts в sisyphus?
> > Хотелось бы собрать util-linux с этим изменением.
> Все уже должно быть готово к этому, но что-нибудь обязательно
> сломается. Пока не попробуешь, не узнаешь, что именно.
mkinitrd и make-initrd стоит перепроверить.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 13:59 ` Michael Shigorin
@ 2011-02-28 13:59 ` Alexey Shabalin
0 siblings, 0 replies; 11+ messages in thread
From: Alexey Shabalin @ 2011-02-28 13:59 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
2011/2/28 Michael Shigorin:
> On Mon, Feb 28, 2011 at 04:39:14PM +0300, Dmitry V. Levin wrote:
>> > Есть ли какие нибудь причины, что бы не делать symlink
>> > /etc/mtab -> /proc/mounts в sisyphus?
>> > Хотелось бы собрать util-linux с этим изменением.
>> Все уже должно быть готово к этому, но что-нибудь обязательно
>> сломается. Пока не попробуешь, не узнаешь, что именно.
>
> mkinitrd и make-initrd стоит перепроверить.
Я с этим симлинком уже пару месяцев живу (правда бех rc.sysinit и с
systemd) - make-initrd успешно генерит имиджы, проблем не замечено.
Про mkinitrd - не знаю, на что там смотреть в первую очередь?
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 13:39 ` Dmitry V. Levin
2011-02-28 13:59 ` Michael Shigorin
@ 2011-02-28 14:00 ` Alexey Shabalin
1 sibling, 0 replies; 11+ messages in thread
From: Alexey Shabalin @ 2011-02-28 14:00 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
2011/2/28 Dmitry V. Levin <ldv@altlinux.org>:
> Hi,
>
> On Mon, Feb 28, 2011 at 03:09:04PM +0300, Alexey Shabalin wrote:
>> День добрый.
>> Есть ли какие нибудь причины, что бы не делать symlink /etc/mtab ->
>> /proc/mounts в sisyphus?
>> Хотелось бы собрать util-linux с этим изменением.
>
> Все уже должно быть готово к этому, но что-нибудь обязательно сломается.
> Пока не попробуешь, не узнаешь, что именно.
:) ну тогда я заливаю.
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:09 [sisyphus] symlink /etc/mtab -> /proc/mounts Alexey Shabalin
` (2 preceding siblings ...)
2011-02-28 13:39 ` Dmitry V. Levin
@ 2011-02-28 17:17 ` Alexey Tourbin
2011-02-28 17:20 ` Mikhail Efremov
4 siblings, 0 replies; 11+ messages in thread
From: Alexey Tourbin @ 2011-02-28 17:17 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Mon, Feb 28, 2011 at 03:09:04PM +0300, Alexey Shabalin wrote:
> День добрый.
> Есть ли какие нибудь причины, что бы не делать symlink /etc/mtab ->
> /proc/mounts в sisyphus?
Есть ли какие-то причины не открывать /proc/mounts,
если надо открывать /proc/mounts?
> Хотелось бы собрать util-linux с этим изменением.
> И, возможно, включить поддержку selinux.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] symlink /etc/mtab -> /proc/mounts
2011-02-28 12:09 [sisyphus] symlink /etc/mtab -> /proc/mounts Alexey Shabalin
` (3 preceding siblings ...)
2011-02-28 17:17 ` Alexey Tourbin
@ 2011-02-28 17:20 ` Mikhail Efremov
4 siblings, 0 replies; 11+ messages in thread
From: Mikhail Efremov @ 2011-02-28 17:20 UTC (permalink / raw)
To: sisyphus
On Mon, 28 Feb 2011 15:09:04 +0300 Alexey Shabalin wrote:
> И, возможно, включить поддержку selinux.
Я, кстати, собирал в сентябре себе 2.17.2 с поддержкой SELinux для
тестов. Я уже точно не помню что именно там имеется ввиду под этим,
тогда, кажется, мне не показалось это критичным. Но включение SELinux
там все равно будет не лишним.
--
WBR, Mikhail Efremov
^ permalink raw reply [flat|nested] 11+ messages in thread