* [devel] Secfiles
@ 2001-04-21 7:29 Alexander Bokovoy
2001-04-23 7:08 ` Stanislav Ievlev
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Bokovoy @ 2001-04-21 7:29 UTC (permalink / raw)
To: devel
Доброго времени суток!
В secfiles в скрипте /etc/rc.d/scripts/rsbac_init присутствует
некорректная обработка передаваемых через параметры ядра настроек rsbac.
В случае отсутствия настроек в lilo.conf и/или grub/menu.lst выход
логичен, а вот в случае их присутствия это совсем не означает, что текущее
ядро загружено с этими настройками. Соответственно, если ядро не
загружено с разрешением rsbac, скрипт все равно попытается настроить режимы rsbac.
По-моему, правильнее было бы смотреть в /proc/cmdline, этот вариант, к
тому же, не зависит от конкретного загрузчика.
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | ALT Linux Team | Minsk Linux Users Group
www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net
-- You won't skid if you stay in a rut.
-- Frank Hubbard
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] Secfiles
2001-04-21 7:29 [devel] Secfiles Alexander Bokovoy
@ 2001-04-23 7:08 ` Stanislav Ievlev
0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Ievlev @ 2001-04-23 7:08 UTC (permalink / raw)
To: devel
Alexander Bokovoy wrote:
> Доброго времени суток!
>
> В secfiles в скрипте /etc/rc.d/scripts/rsbac_init присутствует
> некорректная обработка передаваемых через параметры ядра настроек rsbac.
>
> В случае отсутствия настроек в lilo.conf и/или grub/menu.lst выход
> логичен, а вот в случае их присутствия это совсем не означает, что текущее
> ядро загружено с этими настройками. Соответственно, если ядро не
> загружено с разрешением rsbac, скрипт все равно попытается настроить режимы rsbac.
>
> По-моему, правильнее было бы смотреть в /proc/cmdline, этот вариант, к
> тому же, не зависит от конкретного загрузчика.
>
Спасибо. Замечания совершенно справедливы - добавлю.
>
> --
> Sincerely yours, Alexander Bokovoy
> The Midgard Project | ALT Linux Team | Minsk Linux Users Group
> www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net
> -- You won't skid if you stay in a rut.
> -- Frank Hubbard
> _______________________________________________
> Devel mailing list
> Devel@linux.iplabs.ru
> http://www.logic.ru/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-23 7:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-21 7:29 [devel] Secfiles Alexander Bokovoy
2001-04-23 7:08 ` Stanislav Ievlev
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git