Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 141 +++++++++++++++++++++++++++++++++------------------------------
1 file changed, 75 insertions(+), 66 deletions(-)
New commits:
commit 4a4b101fbdef4bf2da76b41dc25ae0982e2b300e
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Fri Jan 29 05:07:02 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 5c040b5..45d5dd7 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,9 +8,9 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-28 17:02+1100\n"
+"PO-Revision-Date: 2010-01-29 15:51+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
-"Language-Team: Russian <fedora-trans-ru(a)redhat.com>\n"
+"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -25748,8 +25748,8 @@ msgid ""
"categories."
msgstr ""
"Fedora разделяет все устанавливаемое ПО на <indexterm><primary>группы "
-"пакетов</primary></indexterm>. Для удобства на экране эти группы упорядочены по "
-"категориям."
+"пакетов</primary></indexterm>. Для удобства на экране эти группы упорядочены "
+"по категориям."
#. Tag: para
#: Package_Selection_Customizing-x86.xml:49
@@ -25803,9 +25803,9 @@ msgid ""
msgstr ""
"После того, как все необходимые пакеты будут выбраны, нажмите "
"<guilabel>Далее</guilabel> для перехода к следующему экрану. Fedora проверит "
-"выбор и автоматически добавит пакеты, необходимые для работы "
-"выбранных приложений. Нажмите <guilabel>Закрыть</guilabel> для сохранения "
-"выбора и возврата в главное меню."
+"выбор и автоматически добавит пакеты, необходимые для работы выбранных "
+"приложений. Нажмите <guilabel>Закрыть</guilabel> для сохранения выбора и "
+"возврата в главное меню."
#. Tag: title
#: Package_Selection_Customizing-x86.xml:81
@@ -26947,9 +26947,10 @@ msgid ""
"brand-new, unused disk drive."
msgstr ""
"При обсуждении таких тем как разбиение диска, важно немного знать об "
-"оборудовании, чтобы не запутаться в деталях. Поэтому в этом "
-"приложении использована упрощенная схема диска, помогающая понять, что "
-"же собственно происходит при разбиении диска. На <xref linkend=\"fig-partitions-unused-drive-x86\"/> показан совершенно новый пустой диск."
+"оборудовании, чтобы не запутаться в деталях. Поэтому в этом приложении "
+"использована упрощенная схема диска, помогающая понять, что же собственно "
+"происходит при разбиении диска. На <xref linkend=\"fig-partitions-unused-"
+"drive-x86\"/> показан совершенно новый пустой диск."
# An Unused Disk Drive
#. Tag: title
@@ -27061,11 +27062,11 @@ msgid ""
"partition table can define no more than four partitions."
msgstr ""
"Как показывает <xref linkend=\"fig-partitions-unused-partitione-x86\"/>, "
-"таблица разделов состоит из четырех секций или четырех "
-"<firstterm>основных</firstterm> разделов. Основной раздел — это раздел "
-"жесткого диска, содержащий только один логический диск (или секцию). В "
-"каждой секции хранится информация, определяющая один раздел, таким образом, "
-"в таблице разбиения разделов нельзя определить больше четырех разделов."
+"таблица разделов состоит из четырех секций или четырех <firstterm>основных</"
+"firstterm> разделов. Основной раздел — это раздел жесткого диска, "
+"содержащий только один логический диск (или секцию). В каждой секции "
+"хранится информация, определяющая один раздел, таким образом, в таблице "
+"разбиения разделов нельзя определить больше четырех разделов."
# By this point, you might be wondering how all this additional complexity is normally used. Refer to <xref linkend="fig-partitions-dos-single-part">, for an example.
#. Tag: para
@@ -27077,7 +27078,8 @@ msgid ""
">, for an example."
msgstr ""
"Ознакомившись с этой таблицей, возможно, вы удивитесь, как вообще можно "
-"использовать такую излишне сложную структуру (см. <xref linkend=\"fig-partitions-dos-single-part-x86\"/>)."
+"использовать такую излишне сложную структуру (см. <xref linkend=\"fig-"
+"partitions-dos-single-part-x86\"/>)."
# Disk Drive With Single Partition
#. Tag: title
@@ -27095,9 +27097,9 @@ msgid ""
"only one of several possible partition types listed in <xref linkend=\"tb-"
"partitions-types-x86\"/>, it is adequate for the purposes of this discussion."
msgstr ""
-"Допустим, что этот раздел отмечен как DOS. Хотя доступны и другие типы (см. <xref linkend=\"tb-"
-"partitions-types-x86\"/>), "
-"DOS хорошо подходит для дальнейшего объяснения."
+"Допустим, что этот раздел отмечен как DOS. Хотя доступны и другие типы (см. "
+"<xref linkend=\"tb-partitions-types-x86\"/>), DOS хорошо подходит для "
+"дальнейшего объяснения."
# <xref linkend="tb-partitions-types">, contains a listing of some popular (and obscure) partition types, along with their hexadecimal numeric values.
#. Tag: para
@@ -27614,8 +27616,8 @@ msgid ""
"this partition type that is at the heart of extended partitions."
msgstr ""
"Укажите расширенный (дополнительный) раздел. Как вы могли заметить, <xref "
-"linkend=\"tb-partitions-types-x86\"/> включает расширенный тип (extended). Этот тип "
-"раздела является основой для создания дополнительных разделов."
+"linkend=\"tb-partitions-types-x86\"/> включает расширенный тип (extended). "
+"Этот тип раздела является основой для создания дополнительных разделов."
# When a partition is created and its type is set to "Extended," an extended partition table is created. In essence, the extended partition is like a disk drive in its own right — it has a partition table that points to one or more partitions (now called <firstterm>logical partitions</firstterm>, as opposed to the four <firstterm>primary partitions</firstterm>) contained entirely within the extended partition itself. <xref linkend="fig-partitions-extended-part">, shows a disk drive with one primary partition and one extended partition containing two logical partitions (along with some unpartitioned free space).
#. Tag: para
@@ -27633,11 +27635,12 @@ msgid ""
"partitions (along with some unpartitioned free space)."
msgstr ""
"Если заново созданный раздел является расширенным, то будет создана "
-"дополнительная таблица разделов. По сути, расширенный раздел похож на "
-"диск — в нем есть таблица разделов, указывающая на один или несколько "
+"дополнительная таблица разделов. По сути, расширенный раздел похож на диск "
+"— в нем есть таблица разделов, указывающая на один или несколько "
"разделов (теперь называемых <firstterm>логическими разделами</firstterm>, в "
"противоположность четырем <firstterm>первичным разделам</firstterm>), "
-"целиком находящимся в этой дополнительной таблице. На <xref linkend=\"fig-partitions-extended-part-x86\" /> показан диск с одним основным разделом, "
+"целиком находящимся в этой дополнительной таблице. На <xref linkend=\"fig-"
+"partitions-extended-part-x86\" /> показан диск с одним основным разделом, "
"одним дополнительным, содержащим два логических раздела, и некоторым "
"нераспределенным пространством."
@@ -27750,7 +27753,8 @@ msgid ""
msgstr ""
"После создания меньшего раздела для существующей операционной системы можно "
"переустановить все программное обеспечение, восстановить свои данные и "
-"начать установку Fedora (<xref linkend=\"fig-partitions-dstrct-reprt-x86\"/>)."
+"начать установку Fedora (<xref linkend=\"fig-partitions-dstrct-reprt-x86\"/"
+">)."
# In <xref linkend="fig-partitions-dstrct-reprt">, <wordasword>1</wordasword> represents before and <wordasword>2</wordasword> represents after.
#. Tag: para
@@ -27802,11 +27806,12 @@ msgid ""
"management software products on the market. Do some research to find the one "
"that is best for your situation."
msgstr ""
-"Здесь вы запустите программу, которая, казалось бы, делает невозможное: уменьшает раздел, не потеряв файлов, находящихся на этом разделе. Многие считают этот "
-"метод достаточно надежным. Какое программное обеспечение способно сделать "
-"это? На рынке существует множество программных продуктов управления дисками. "
-"Проанализировав предложения, вы сможете найти программу, оптимальную для "
-"вашей ситуации."
+"Здесь вы запустите программу, которая, казалось бы, делает невозможное: "
+"уменьшает раздел, не потеряв файлов, находящихся на этом разделе. Многие "
+"считают этот метод достаточно надежным. Какое программное обеспечение "
+"способно сделать это? На рынке существует множество программных продуктов "
+"управления дисками. Проанализировав предложения, вы сможете найти программу, "
+"оптимальную для вашей ситуации."
# While the process of non-destructive repartitioning is rather straightforward, there are a number of steps involved:
#. Tag: para
@@ -27914,8 +27919,8 @@ msgstr ""
"Выполнение этого шага является обязательным. Без него неудачное размещение "
"данных помешает уменьшить раздел до требуемого размера. Также обратите "
"внимание на то, что не все данные могут быть перемещены. Если вы столкнулись "
-"с этим ограничением (и это не дает вам уменьшить размер раздела), "
-"придется переразбить диск заново, используя метод с разрушением данных."
+"с этим ограничением (и это не дает вам уменьшить размер раздела), придется "
+"переразбить диск заново, используя метод с разрушением данных."
# Resize the existing partition
#. Tag: title
@@ -27981,9 +27986,9 @@ msgid ""
"case we have illustrated, it would be best to delete the new DOS partition "
"and create the appropriate Linux partition(s)."
msgstr ""
-"Важно понимать, что используемая вами программа делает с освобожденным пространством. В "
-"приведенном примере будет лучше удалить созданный DOS раздел и создать "
-"подходящий раздел (или разделы) Linux."
+"Важно понимать, что используемая вами программа делает с освобожденным "
+"пространством. В приведенном примере будет лучше удалить созданный DOS "
+"раздел и создать подходящий раздел (или разделы) Linux."
# Create new partition(s)
#. Tag: title
@@ -28005,7 +28010,8 @@ msgid ""
msgstr ""
"Как было упомянуто ранее, может потребоваться создать новые разделы. Однако "
"если используемая вами программа не рассчитана на Linux, скорее всего, "
-"понадобится удалить раздел, созданный при уменьшении раздела (<xref linkend=\"fig-partitions-nondestruct-fin-x86\"/>)."
+"понадобится удалить раздел, созданный при уменьшении раздела (<xref linkend="
+"\"fig-partitions-nondestruct-fin-x86\"/>)."
# Disk Drive with Final Partition Configuration
#. Tag: title
@@ -28077,12 +28083,12 @@ msgid ""
"(such as tape, CD-ROM, or diskettes), and you should make sure they are "
"readable before proceeding."
msgstr ""
-"Если вы решите переразбить жесткий диск с помощью <command>parted</"
-"command>, важно, чтобы вы понимали организацию диска и сделали резервную "
-"копию данных вашего компьютера. Создайте две копии всех важных данных на "
-"вашем компьютере. Эти копии следует сохранить на внешних носителях "
-"(например, на лентах, дискетах или CD-ROM), и прежде чем продолжить, "
-"убедиться в том, что данные можно прочитать."
+"Если вы решите переразбить жесткий диск с помощью <command>parted</command>, "
+"важно, чтобы вы понимали организацию диска и сделали резервную копию данных "
+"вашего компьютера. Создайте две копии всех важных данных на вашем "
+"компьютере. Эти копии следует сохранить на внешних носителях (например, на "
+"лентах, дискетах или CD-ROM), и прежде чем продолжить, убедиться в том, что "
+"данные можно прочитать."
# Should you decide to use <command>parted</command>, be aware that after <command>parted</command> runs you are left with <emphasis>two</emphasis> partitions: the one you resized, and the one <command>parted</command> created out of the newly freed space. If your goal is to use that space to install &PROD;, you should delete the newly created partition, either by using the partitioning utility under your current operating system or while setting up partitions during installation.
#. Tag: para
@@ -28137,8 +28143,8 @@ msgid ""
msgstr ""
"Linux обращается к дисковым разделам, используя комбинации букв и цифр, что "
"сначала может показаться странным, особенно если вы представляете диски как "
-"диск C, диск D и т.д. В мире DOS/ Windows разделы именуются "
-"следующим образом:"
+"диск C, диск D и т.д. В мире DOS/ Windows разделы именуются следующим "
+"образом:"
# Each partition's type is checked to determine if it can be read by DOS/Windows.
#. Tag: para
@@ -28158,8 +28164,8 @@ msgid ""
"The drive letters start with a \"C\" and move on to the following letters, "
"depending on the number of partitions to be labeled."
msgstr ""
-"Если раздел совместим , ему присваивается буква. Буквы "
-"дисков начинаются с «C» и продолжаются по алфавиту."
+"Если раздел совместим , ему присваивается буква. Буквы дисков начинаются с "
+"«C» и продолжаются по алфавиту."
# The drive letter can then be used to refer to that partition as well as the file system contained on that partition.
#. Tag: para
@@ -28398,11 +28404,11 @@ msgstr ""
"Это полностью отличается от того, как ведет себя с разделами Linux, и как "
"вообще представляется дисковое хранилище. Основным отличием является то, что "
"каждый раздел используется как часть одного хранилища, содержащего один "
-"набор файлов и каталогов. Это реализуется за счет сопоставления "
-"раздела каталогу, называемого также <firstterm>подключением или "
-"монтированием диска</firstterm>. Подключение диска делает его содержимое "
-"доступным в указанном каталоге (также называемом <firstterm>точкой "
-"подключения (монтирования)</firstterm>)."
+"набор файлов и каталогов. Это реализуется за счет сопоставления раздела "
+"каталогу, называемого также <firstterm>подключением или монтированием диска</"
+"firstterm>. Подключение диска делает его содержимое доступным в указанном "
+"каталоге (также называемом <firstterm>точкой подключения (монтирования)</"
+"firstterm>)."
# For example, if partition <filename>/dev/hda5</filename> is mounted on <filename>/usr/</filename>, that would mean that all files and directories under <filename>/usr/</filename> physically reside on <filename>/dev/hda5</filename>. So the file <filename>/usr/share/doc/FAQ/txt/Linux-FAQ</filename> would be stored on <filename>/dev/hda5</filename>, while the file <filename>/etc/X11/gdm/Sessions/Gnome</filename> would not.
#. Tag: para
@@ -28491,7 +28497,9 @@ msgstr ""
#: Partitions-x86.xml:1075
#, no-c-format
msgid "For more information, refer to <xref linkend=\"s2-diskpartrecommend-x86\"/>."
-msgstr "<xref linkend=\"s2-diskpartrecommend-x86\"/> содержит дополнительную информацию."
+msgstr ""
+"<xref linkend=\"s2-diskpartrecommend-x86\"/> содержит дополнительную "
+"информацию."
# reference
#. Tag: title
@@ -28711,9 +28719,9 @@ msgid ""
"fully qualified hostname, or a subnet of systems that should be allowed to "
"connect to the PXE server for installations."
msgstr ""
-"<guilabel>Имя узла или IP-адрес/подсеть</guilabel> — IP-адрес, "
-"полное доменное имя узла или адрес подсети систем, которым "
-"должно быть разрешено подключаться к PXE-серверу для выполнения установки."
+"<guilabel>Имя узла или IP-адрес/подсеть</guilabel> — IP-адрес, полное "
+"доменное имя узла или адрес подсети систем, которым должно быть разрешено "
+"подключаться к PXE-серверу для выполнения установки."
#. Tag: para
#: pxe-server-manual.xml:309
@@ -29350,11 +29358,12 @@ msgid ""
"your server's IP address is <systemitem class=\"ipaddress\">192.168.1.1</"
"systemitem>:"
msgstr ""
-"Замените <replaceable>URI</replaceable> ссылкой на дистрибутив. Приведенный выше пример подразумевает, что сервер "
-"<command>cobbler</command> обращается к зеркалу по тому же адресу что и "
-"клиенты. Если адреса отличаются, замените соответствующую ссылку "
-"опцией <option>--mirror</option>. Ниже приведены примеры ссылок для сервера "
-"с адресом <systemitem class=\"ipaddress\">192.168.1.1</systemitem>:"
+"Замените <replaceable>URI</replaceable> ссылкой на дистрибутив. Приведенный "
+"выше пример подразумевает, что сервер <command>cobbler</command> обращается "
+"к зеркалу по тому же адресу что и клиенты. Если адреса отличаются, замените "
+"соответствующую ссылку опцией <option>--mirror</option>. Ниже приведены "
+"примеры ссылок для сервера с адресом <systemitem class=\"ipaddress"
+"\">192.168.1.1</systemitem>:"
#. Tag: uri
#: pxe-server.xml:173
@@ -31199,7 +31208,7 @@ msgid ""
"refer to the instructions on the <filename>README-en</filename> file in "
"<filename>disk1</filename>."
msgstr ""
-"Инструкции по подготовке к сетевой установке с CD-ROM можно найти в файле "
+"Инструкции по подготовке к сетевой установке с использованием CD-ROM можно найти в файле "
"<filename>README-en</filename> в <filename>disk1</filename>."
#. Tag: para
@@ -31422,8 +31431,8 @@ msgid ""
"For information to help you determine whether to perform an upgrade or an "
"installation refer to <xref linkend=\"ch-upgrade-x86\"/>."
msgstr ""
-"Обратитесь к <xref linkend=\"ch-upgrade-x86\"/> за информацией, которая "
-"поможет вам сделать выбор в пользу обновления или переустановки."
+"<xref linkend=\"ch-upgrade-x86\"/> содержит информацию, которая "
+"поможет сделать выбор в пользу обновления или переустановки."
# EXACT MATCH
#. Tag: title
@@ -31629,7 +31638,7 @@ msgid ""
"Digital WD7500AAKS 750 GB on SATA1. This will allow you to identify specific "
"hard drives during the partitioning process."
msgstr ""
-"Номера моделей подключенных жестких дисков, их размеры, типы и интерфейсы. "
+"Номера моделей подключенных жестких дисков, их размер, тип и интерфейсы. "
"Пример: Seagate ST3320613AS 320 GB на SATA0, Western Digital WD7500AAKS 750 "
"GB на SATA1. Знание этих данных поможет идентифицировать жесткие диски в "
"процессе создания разделов."
@@ -31768,7 +31777,7 @@ msgstr ""
#: System_Requirements_Table.xml:134
#, no-c-format
msgid "If your computer is part of a domain:"
-msgstr "Если компьютер является частью домена:"
+msgstr "Если компьютер входит в состав домена:"
#. Tag: para
#: System_Requirements_Table.xml:139
@@ -32809,7 +32818,7 @@ msgid ""
"GNOME, KDE, or both, during the upgrade package selection process."
msgstr ""
"Если вы решитесь на обновление, то выбирая во время обновления "
-"устанавливаемые пакеты, отметьте систему X Window, а также оболочки GNOME, "
+"устанавливаемые пакеты, отметьте систему X Window, а также среду GNOME, "
"KDE, или обе сразу."
# Refer to <xref linkend="ap-bootopts"> for additional boot options not covered in this section.
14 years, 1 month
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 122 ++++++++++++++++++++++++++++-----------------------------------
1 file changed, 55 insertions(+), 67 deletions(-)
New commits:
commit 4806d1f43ce8d74c94ee1a6b17e13691e749695f
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Thu Jan 28 06:04:11 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 340b81b..5c040b5 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,9 +8,9 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-27 15:54+1100\n"
+"PO-Revision-Date: 2010-01-28 17:02+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
-"Language-Team: Russian\n"
+"Language-Team: Russian <fedora-trans-ru(a)redhat.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -25462,8 +25462,8 @@ msgid ""
"several of the drives as a Linux RAID array without requiring any additional "
"hardware."
msgstr ""
-"Несколько жестких дисков в системах Fedora можно объединить в один "
-"RAID-массив, исключая тем самым необходимость в дополнительном оборудовании."
+"Несколько жестких дисков в системах Fedora можно объединить в один RAID-"
+"массив, исключая тем самым необходимость в дополнительном оборудовании."
#. Tag: title
#: Other_Disk_Devices-x86.xml:32
@@ -25748,7 +25748,7 @@ msgid ""
"categories."
msgstr ""
"Fedora разделяет все устанавливаемое ПО на <indexterm><primary>группы "
-"пакетов</primary></indexterm>. Для удобства на экране эти группы показаны по "
+"пакетов</primary></indexterm>. Для удобства на экране эти группы упорядочены по "
"категориям."
#. Tag: para
@@ -25803,8 +25803,8 @@ msgid ""
msgstr ""
"После того, как все необходимые пакеты будут выбраны, нажмите "
"<guilabel>Далее</guilabel> для перехода к следующему экрану. Fedora проверит "
-"выбор и автоматически добавит пакеты, необходимые для корректной работы "
-"выбранных приложений. Нажмите <guilabel>Далее</guilabel> для сохранения "
+"выбор и автоматически добавит пакеты, необходимые для работы "
+"выбранных приложений. Нажмите <guilabel>Закрыть</guilabel> для сохранения "
"выбора и возврата в главное меню."
#. Tag: title
@@ -25830,7 +25830,7 @@ msgstr ""
"установленной системы пакеты можно добавить или удалить с помощью "
"соответствующей утилиты, для запуска которой нужно выбрать <menuchoice> "
"<guimenu>Система</guimenu> <guisubmenu>Администрирование</guisubmenu> "
-"<guimenuitem>Добавить/удалить ПО</guimenuitem> </menuchoice>. Система "
+"<guimenuitem>Добавить/удалить пакеты</guimenuitem> </menuchoice>. Система "
"управления программным обеспечением Fedora загружает последние версии "
"пакетов с серверов."
@@ -26946,11 +26946,10 @@ msgid ""
"is partitioned. <xref linkend=\"fig-partitions-unused-drive-x86\"/>, shows a "
"brand-new, unused disk drive."
msgstr ""
-"При обсуждении тем, таких как разбиение диска, важно немного знать об "
-"оборудовании. Однако здесь легко запутаться в деталях. Поэтому в этом "
-"приложении использована упрощенная схема диска, помогающая понять, что же "
-"собственно происходит при разбиении диска. <xref linkend=\"fig-partitions-"
-"unused-drive-x86\"/> иллюстрирует совершенно новый пустой диск."
+"При обсуждении таких тем как разбиение диска, важно немного знать об "
+"оборудовании, чтобы не запутаться в деталях. Поэтому в этом "
+"приложении использована упрощенная схема диска, помогающая понять, что "
+"же собственно происходит при разбиении диска. На <xref linkend=\"fig-partitions-unused-drive-x86\"/> показан совершенно новый пустой диск."
# An Unused Disk Drive
#. Tag: title
@@ -27062,7 +27061,7 @@ msgid ""
"partition table can define no more than four partitions."
msgstr ""
"Как показывает <xref linkend=\"fig-partitions-unused-partitione-x86\"/>, "
-"таблица разбиения разделов состоит из четырех секций или четырех "
+"таблица разделов состоит из четырех секций или четырех "
"<firstterm>основных</firstterm> разделов. Основной раздел — это раздел "
"жесткого диска, содержащий только один логический диск (или секцию). В "
"каждой секции хранится информация, определяющая один раздел, таким образом, "
@@ -27077,9 +27076,8 @@ msgid ""
"normally used. Refer to <xref linkend=\"fig-partitions-dos-single-part-x86\"/"
">, for an example."
msgstr ""
-"Ознакомившись с этой таблицей, вы должны быть удивлены, как вообще можно "
-"использовать такую излишне сложную структуру. Обратитесь, например, к <xref "
-"linkend=\"fig-partitions-dos-single-part-x86\"/>."
+"Ознакомившись с этой таблицей, возможно, вы удивитесь, как вообще можно "
+"использовать такую излишне сложную структуру (см. <xref linkend=\"fig-partitions-dos-single-part-x86\"/>)."
# Disk Drive With Single Partition
#. Tag: title
@@ -27097,9 +27095,9 @@ msgid ""
"only one of several possible partition types listed in <xref linkend=\"tb-"
"partitions-types-x86\"/>, it is adequate for the purposes of this discussion."
msgstr ""
-"Допустим, что этот раздел отмечен как \"DOS\". Хотя в <xref linkend=\"tb-"
-"partitions-types-x86\"/> приведено несколько различных типов разделов, "
-"выбранный тип хорошо подходит для дальнейшего объяснения."
+"Допустим, что этот раздел отмечен как DOS. Хотя доступны и другие типы (см. <xref linkend=\"tb-"
+"partitions-types-x86\"/>), "
+"DOS хорошо подходит для дальнейшего объяснения."
# <xref linkend="tb-partitions-types">, contains a listing of some popular (and obscure) partition types, along with their hexadecimal numeric values.
#. Tag: para
@@ -27225,7 +27223,7 @@ msgstr "<entry>81</entry>"
#: Partitions-x86.xml:303
#, no-c-format
msgid "DOS 16-bit <=32M"
-msgstr "DOS 16-бит <=32M"
+msgstr "DOS 16-бит <=32 МБ"
#. Tag: entry
#: Partitions-x86.xml:307
@@ -27574,7 +27572,7 @@ msgstr "<entry>63</entry>"
#: Partitions-x86.xml:563
#, no-c-format
msgid "DOS secondary"
-msgstr "DOS secondary"
+msgstr "DOS вторичный"
#. Tag: entry
#: Partitions-x86.xml:567
@@ -27616,7 +27614,7 @@ msgid ""
"this partition type that is at the heart of extended partitions."
msgstr ""
"Укажите расширенный (дополнительный) раздел. Как вы могли заметить, <xref "
-"linkend=\"tb-partitions-types-x86\"/> включает тип «Extended». Этот тип "
+"linkend=\"tb-partitions-types-x86\"/> включает расширенный тип (extended). Этот тип "
"раздела является основой для создания дополнительных разделов."
# When a partition is created and its type is set to "Extended," an extended partition table is created. In essence, the extended partition is like a disk drive in its own right — it has a partition table that points to one or more partitions (now called <firstterm>logical partitions</firstterm>, as opposed to the four <firstterm>primary partitions</firstterm>) contained entirely within the extended partition itself. <xref linkend="fig-partitions-extended-part">, shows a disk drive with one primary partition and one extended partition containing two logical partitions (along with some unpartitioned free space).
@@ -27634,15 +27632,14 @@ msgid ""
"primary partition and one extended partition containing two logical "
"partitions (along with some unpartitioned free space)."
msgstr ""
-"Если заново созданный раздел имеет тип «Extended», то также создается "
-"дополнительная таблица разделов. По сути дополнительный раздел похож на сам "
+"Если заново созданный раздел является расширенным, то будет создана "
+"дополнительная таблица разделов. По сути, расширенный раздел похож на "
"диск — в нем есть таблица разделов, указывающая на один или несколько "
-"разделов (теперь называемых <firstterm>логическими разделами</firstterm> в "
+"разделов (теперь называемых <firstterm>логическими разделами</firstterm>, в "
"противоположность четырем <firstterm>первичным разделам</firstterm>), "
-"целиком находящихся в этой дополнительной таблице. <xref linkend=\"fig-"
-"partitions-extended-part-x86\"/> иллюстрирует диск с одним основным разделом "
-"и одним дополнительным, содержащим два логических раздела (и некоторым "
-"нераспределенным свободным местом)."
+"целиком находящимся в этой дополнительной таблице. На <xref linkend=\"fig-partitions-extended-part-x86\" /> показан диск с одним основным разделом, "
+"одним дополнительным, содержащим два логических раздела, и некоторым "
+"нераспределенным пространством."
# Disk Drive With Extended Partition
#. Tag: title
@@ -27751,10 +27748,9 @@ msgid ""
"installation. <xref linkend=\"fig-partitions-dstrct-reprt-x86\"/> shows this "
"being done."
msgstr ""
-"Создав меньший раздел для существующей операционной системы, можно "
+"После создания меньшего раздела для существующей операционной системы можно "
"переустановить все программное обеспечение, восстановить свои данные и "
-"начать установку Fedora (<xref linkend=\"fig-partitions-dstrct-reprt-x86\"/"
-">)."
+"начать установку Fedora (<xref linkend=\"fig-partitions-dstrct-reprt-x86\"/>)."
# In <xref linkend="fig-partitions-dstrct-reprt">, <wordasword>1</wordasword> represents before and <wordasword>2</wordasword> represents after.
#. Tag: para
@@ -27806,8 +27802,7 @@ msgid ""
"management software products on the market. Do some research to find the one "
"that is best for your situation."
msgstr ""
-"Здесь вы сталкиваетесь с проблемой, которая кажется неразрешимой: уменьшить "
-"раздел, не потеряв файлов, находящихся на этом разделе. Многие считают этот "
+"Здесь вы запустите программу, которая, казалось бы, делает невозможное: уменьшает раздел, не потеряв файлов, находящихся на этом разделе. Многие считают этот "
"метод достаточно надежным. Какое программное обеспечение способно сделать "
"это? На рынке существует множество программных продуктов управления дисками. "
"Проанализировав предложения, вы сможете найти программу, оптимальную для "
@@ -27871,7 +27866,7 @@ msgid ""
msgstr ""
"Как показывает <xref linkend=\"fig-partitions-compression-x86\"/>, первым "
"этапом является сжатие данных в существующем разделе. Этот шаг выполняется "
-"для того, чтобы упорядочить данные, собрав все свободное место в \"конце\" "
+"для того, чтобы упорядочить данные, собрав все свободное место в конце "
"раздела."
# Disk Drive Being Compressed
@@ -27919,8 +27914,8 @@ msgstr ""
"Выполнение этого шага является обязательным. Без него неудачное размещение "
"данных помешает уменьшить раздел до требуемого размера. Также обратите "
"внимание на то, что не все данные могут быть перемещены. Если вы столкнулись "
-"с этим ограничением (и это не дает вам уменьшить размер раздела), вам все же "
-"придется переразбить диск заново используя метод с разрушением данных."
+"с этим ограничением (и это не дает вам уменьшить размер раздела), "
+"придется переразбить диск заново, используя метод с разрушением данных."
# Resize the existing partition
#. Tag: title
@@ -27986,9 +27981,8 @@ msgid ""
"case we have illustrated, it would be best to delete the new DOS partition "
"and create the appropriate Linux partition(s)."
msgstr ""
-"Важно понимать, что используемая вами программа делает с освобожденным на "
-"диске местом для того, чтобы вы могли действовать соответствующим образом. В "
-"приведенном примере, будет лучше удалить созданный DOS раздел и создать "
+"Важно понимать, что используемая вами программа делает с освобожденным пространством. В "
+"приведенном примере будет лучше удалить созданный DOS раздел и создать "
"подходящий раздел (или разделы) Linux."
# Create new partition(s)
@@ -28010,10 +28004,8 @@ msgid ""
"shows this being done."
msgstr ""
"Как было упомянуто ранее, может потребоваться создать новые разделы. Однако "
-"если используемая вами программа не рассчитана на Linux, скорее всего вам "
-"понадобится удалить раздел, созданный при уменьшении раздела. На <xref "
-"linkend=\"fig-partitions-nondestruct-fin-x86\"/> показано выполнение этих "
-"действий."
+"если используемая вами программа не рассчитана на Linux, скорее всего, "
+"понадобится удалить раздел, созданный при уменьшении раздела (<xref linkend=\"fig-partitions-nondestruct-fin-x86\"/>)."
# Disk Drive with Final Partition Configuration
#. Tag: title
@@ -28085,12 +28077,12 @@ msgid ""
"(such as tape, CD-ROM, or diskettes), and you should make sure they are "
"readable before proceeding."
msgstr ""
-"Если вы решите переразбить ваш жесткий диск с помощью <command>parted</"
+"Если вы решите переразбить жесткий диск с помощью <command>parted</"
"command>, важно, чтобы вы понимали организацию диска и сделали резервную "
-"копию данных вашего компьютера. Сделайте две копии всех важных данных на "
+"копию данных вашего компьютера. Создайте две копии всех важных данных на "
"вашем компьютере. Эти копии следует сохранить на внешних носителях "
"(например, на лентах, дискетах или CD-ROM), и прежде чем продолжить, "
-"убедиться в том, что данные возможно прочитать."
+"убедиться в том, что данные можно прочитать."
# Should you decide to use <command>parted</command>, be aware that after <command>parted</command> runs you are left with <emphasis>two</emphasis> partitions: the one you resized, and the one <command>parted</command> created out of the newly freed space. If your goal is to use that space to install &PROD;, you should delete the newly created partition, either by using the partitioning utility under your current operating system or while setting up partitions during installation.
#. Tag: para
@@ -28145,7 +28137,7 @@ msgid ""
msgstr ""
"Linux обращается к дисковым разделам, используя комбинации букв и цифр, что "
"сначала может показаться странным, особенно если вы представляете диски как "
-"\"диск C\", \"диск D\" и т.д. В мире DOS/ Windows разделы именуются "
+"диск C, диск D и т.д. В мире DOS/ Windows разделы именуются "
"следующим образом:"
# Each partition's type is checked to determine if it can be read by DOS/Windows.
@@ -28155,7 +28147,7 @@ msgstr ""
msgid ""
"Each partition's type is checked to determine if it can be read by DOS/"
"Windows."
-msgstr "Тип каждого раздела проверяется на совместимость с системой DOS/ Windows."
+msgstr "Тип каждого раздела проверяется на совместимость с DOS/ Windows."
# If the partition's type is compatible, it is assigned a "drive letter." The drive letters start with a "C" and move on to the following letters, depending on the number of partitions to be labeled.
#. Tag: para
@@ -28166,9 +28158,8 @@ msgid ""
"The drive letters start with a \"C\" and move on to the following letters, "
"depending on the number of partitions to be labeled."
msgstr ""
-"Если раздел совместим с ними, ему присваивается \"буква диска\". Буквы "
-"дисков начинаются с \"C\" и продолжаются по алфавиту в зависимости от числа "
-"соответствующих разделов."
+"Если раздел совместим , ему присваивается буква. Буквы "
+"дисков начинаются с «C» и продолжаются по алфавиту."
# The drive letter can then be used to refer to that partition as well as the file system contained on that partition.
#. Tag: para
@@ -28178,7 +28169,7 @@ msgid ""
"The drive letter can then be used to refer to that partition as well as the "
"file system contained on that partition."
msgstr ""
-"Затем буква диска используется для ссылки на раздел и файловую систему этого "
+"Буква диска используется для ссылки на раздел и файловую систему этого "
"раздела."
# &PROD; uses a naming scheme that is more flexible and conveys more information than the approach used by other operating systems. The naming scheme is file-based, with file names in the form of <filename>/dev/<replaceable>xxyN</replaceable></filename>.
@@ -28386,8 +28377,8 @@ msgid ""
"its corresponding partition."
msgstr ""
"Пользователи, начинающие знакомство с Linux, часто путаются в том, как Linux "
-"использует разделы и обращается к ним. В DOS/ Windows это относительно "
-"несложно: каждый раздел имеет \"букву диска\". Вы можете использовать "
+"использует разделы и обращается к ним. В DOS/Windows это относительно "
+"несложно: каждому разделу соответствует буква диска. Вы можете использовать "
"соответствующую букву диска для ссылки на файлы и каталоги, расположенные в "
"этом разделе."
@@ -28407,11 +28398,11 @@ msgstr ""
"Это полностью отличается от того, как ведет себя с разделами Linux, и как "
"вообще представляется дисковое хранилище. Основным отличием является то, что "
"каждый раздел используется как часть одного хранилища, содержащего один "
-"набор файлов и каталогов. Это реализуется с помощью процесса сопоставления "
+"набор файлов и каталогов. Это реализуется за счет сопоставления "
"раздела каталогу, называемого также <firstterm>подключением или "
"монтированием диска</firstterm>. Подключение диска делает его содержимое "
"доступным в указанном каталоге (также называемом <firstterm>точкой "
-"подключения</firstterm>)."
+"подключения (монтирования)</firstterm>)."
# For example, if partition <filename>/dev/hda5</filename> is mounted on <filename>/usr/</filename>, that would mean that all files and directories under <filename>/usr/</filename> physically reside on <filename>/dev/hda5</filename>. So the file <filename>/usr/share/doc/FAQ/txt/Linux-FAQ</filename> would be stored on <filename>/dev/hda5</filename>, while the file <filename>/etc/X11/gdm/Sessions/Gnome</filename> would not.
#. Tag: para
@@ -28500,9 +28491,7 @@ msgstr ""
#: Partitions-x86.xml:1075
#, no-c-format
msgid "For more information, refer to <xref linkend=\"s2-diskpartrecommend-x86\"/>."
-msgstr ""
-"За дополнительной информацией обратитесь к <xref linkend=\"s2-"
-"diskpartrecommend-x86\"/>."
+msgstr "<xref linkend=\"s2-diskpartrecommend-x86\"/> содержит дополнительную информацию."
# reference
#. Tag: title
@@ -28723,7 +28712,7 @@ msgid ""
"connect to the PXE server for installations."
msgstr ""
"<guilabel>Имя узла или IP-адрес/подсеть</guilabel> — IP-адрес, "
-"полностью квалифицированное имя узла или адрес подсети систем, которым "
+"полное доменное имя узла или адрес подсети систем, которым "
"должно быть разрешено подключаться к PXE-серверу для выполнения установки."
#. Tag: para
@@ -29041,7 +29030,7 @@ msgid ""
"To set up a distribution from a full Fedora DVD or ISO image, use this "
"procedure."
msgstr ""
-"Чтобы настроить ISO-образ DVD в качестве источника установки, следуйте "
+"Чтобы настроить DVD или ISO-образ в качестве источника установки, следуйте "
"приведенным ниже шагам."
#. Tag: title
@@ -29361,10 +29350,9 @@ msgid ""
"your server's IP address is <systemitem class=\"ipaddress\">192.168.1.1</"
"systemitem>:"
msgstr ""
-"Замените <replaceable>URI</replaceable> ссылкой на расположение "
-"дистрибутива. Приведенный выше пример подразумевает, что сервер "
+"Замените <replaceable>URI</replaceable> ссылкой на дистрибутив. Приведенный выше пример подразумевает, что сервер "
"<command>cobbler</command> обращается к зеркалу по тому же адресу что и "
-"клиенты. Если адреса отличаются, замените замените соответствующую ссылку "
+"клиенты. Если адреса отличаются, замените соответствующую ссылку "
"опцией <option>--mirror</option>. Ниже приведены примеры ссылок для сервера "
"с адресом <systemitem class=\"ipaddress\">192.168.1.1</systemitem>:"
@@ -29434,7 +29422,7 @@ msgid ""
"installation service"
msgstr ""
"80 или http, если сервер <command>cobbler</command> предоставляет службу "
-"HTTP-установки HTTP"
+"HTTP-установки"
#. Tag: para
#: pxe-server.xml:206
14 years, 1 month
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 253 ++++++++++++++++++++++++++++++++-------------------------------
1 file changed, 131 insertions(+), 122 deletions(-)
New commits:
commit 856b3e887e5ee691d6896069b5e788ff0cbd5a45
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Wed Jan 27 05:23:48 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 7f025d1..340b81b 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,9 +8,9 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-25 17:07+1100\n"
+"PO-Revision-Date: 2010-01-27 15:54+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
-"Language-Team: Russian <fedora-trans-ru(a)redhat.com>\n"
+"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -3461,7 +3461,7 @@ msgid ""
msgstr ""
"Чтобы прервать процесс установки, нажмите <keycombo><keycap>Ctrl </"
"keycap><keycap>Alt</keycap><keycap>Del</keycap></keycombo> или отключите "
-"питание компьютера. Установку безболезненно можно отменить до записи "
+"питание компьютера. Установку можно безболезненно отменить до записи "
"изменений разделов на диск. После этого в результате прерывания установки "
"компьютер останется в нерабочем состоянии."
@@ -9034,9 +9034,10 @@ msgid ""
"sure how you want your system to be partitioned, read <xref linkend=\"ch-"
"partitions-x86\"/> for more information."
msgstr ""
-"Разбиение диска позволяет разделить его на изолированные разделы, при "
-"этом каждый раздел подобен отдельному жесткому диску. Особенно такое разбиение важно, если вы работаете в нескольких операционных системах. "
-"<xref linkend=\"ch-partitions-x86\"/> содержит подробную информацию о создании разделов."
+"Разбиение диска позволяет разделить его на изолированные разделы, при этом "
+"каждый раздел подобен отдельному жесткому диску. Особенно такое разбиение "
+"важно, если вы работаете в нескольких операционных системах. <xref linkend="
+"\"ch-partitions-x86\"/> содержит подробную информацию о создании разделов."
#. Tag: para
#: Disk_Partitioning_Setup-x86.xml:26
@@ -9047,8 +9048,9 @@ msgid ""
"button. For more information refer to <xref linkend=\"s1-advanced-storage-x86"
"\"/>."
msgstr ""
-"Для выполнения установки можно настроить цель iSCSI или отключить устройство dmraid, нажав кнопку «Дополнительная "
-"настройка накопителей». <xref linkend=\"s1-advanced-storage-ppc\" /> содержит дальнейшую информацию."
+"Для выполнения установки можно настроить цель iSCSI или отключить устройство "
+"dmraid, нажав кнопку «Дополнительная настройка накопителей». <xref linkend="
+"\"s1-advanced-storage-ppc\" /> содержит дальнейшую информацию."
# If you chose to manually partition using <application>Disk Druid</application>, refer to <xref linkend="s1-diskpartitioning">.
#. Tag: para
@@ -9169,8 +9171,8 @@ msgid ""
"> for more information."
msgstr ""
"Наличие нескольких небольших разделов вместо одного большого корневого "
-"раздела (<filename class=\"partition\">/</filename>) облегчит обновление системы в будущем "
-"(см. <xref linkend=\"s2-diskpartitioning-dd-x86\"/>)."
+"раздела (<filename class=\"partition\">/</filename>) облегчит обновление "
+"системы в будущем (см. <xref linkend=\"s2-diskpartitioning-dd-x86\"/>)."
#. Tag: para
#: Disk_Partitioning_X86_Partitions.xml:77
@@ -9327,8 +9329,8 @@ msgid ""
msgstr ""
"Если вы еще не решили, как создать свои разделы, просмотрите <xref linkend="
"\"ch-partitions-x86\"/> и <xref linkend=\"s2-diskpartrecommend-x86\"/>. Как "
-"минимум понадобится корневой раздел root соответствующего размера и "
-"раздел swap, равный по размеру удвоенному объему памяти вашего компьютера. "
+"минимум понадобится корневой раздел root соответствующего размера и раздел "
+"swap, равный по размеру удвоенному объему памяти вашего компьютера. "
"Пользователям компьютеров Itanium понадобится раздел <filename>/boot/efi/</"
"filename>, имеющий объем примерно 100 МБ и тип FAT (VFAT), раздел swap "
"(минимум 512 МБ) и корневой раздел (<filename>/</filename>) соответствующего "
@@ -10802,13 +10804,13 @@ msgid ""
"Note that NFS installations may also be performed in GUI mode."
msgstr ""
"Вы можете воспользоваться этим методом при выполнении установки с NFS-"
-"сервера с использованием ISO-образов или зеркального образа Fedora. Потребуется "
-"загрузочный диск (используйте параметр загрузки <command>linux askmethod</"
-"command> или <command>linux repo=nfs:<replaceable>сервер</replaceable> "
-"<replaceable>:параметры</replaceable>:/<replaceable>путь</replaceable></"
-"command>). <xref linkend=\"s1-begininstall-nfs-x86\"/> содержит инструкции "
-"по сетевой установке. Стоит заметить, что NFS установка может также "
-"выполняться в графическом режиме."
+"сервера с использованием ISO-образов или зеркального образа Fedora. "
+"Потребуется загрузочный диск (используйте параметр загрузки <command>linux "
+"askmethod</command> или <command>linux repo=nfs:<replaceable>сервер</"
+"replaceable> <replaceable>:параметры</replaceable>:/<replaceable>путь</"
+"replaceable></command>). <xref linkend=\"s1-begininstall-nfs-x86\"/> "
+"содержит инструкции по сетевой установке. Стоит заметить, что NFS установка "
+"может также выполняться в графическом режиме."
# EXACT MATCH
#. Tag: term
@@ -11773,9 +11775,9 @@ msgstr ""
"<emphasis>Этап 1.5. Загрузчик первого этапа считывает загрузчик этапа 1.5 в "
"память.</emphasis> Этот промежуточный этап необходим для некоторых типов "
"оборудования, а также в случае, если границы раздела <filename>/boot/</"
-"filename> уходят за 1024 цилиндр или используется режим LBA. Загрузчик "
-"этапа 1.5 обычно расположен либо полностью в разделе <filename>/boot/</"
-"filename>, либо в MBR и <filename>/boot/</filename>."
+"filename> уходят за 1024 цилиндр или используется режим LBA. Загрузчик этапа "
+"1.5 обычно расположен либо полностью в разделе <filename>/boot/</filename>, "
+"либо в MBR и <filename>/boot/</filename>."
#. Tag: para
#: Grub.xml:220
@@ -12212,9 +12214,9 @@ msgid ""
"specifies the MBR on the fourth device."
msgstr ""
"Чтобы определить целое устройство без учета разделов, опустите указание "
-"номера раздела. Это особенно важно, если нужно настроить MBR на "
-"заданном диске. Например, <command>(hd0)</command> задает MBR на первом "
-"устройстве, а <command>(hd3)</command> — на четвертом."
+"номера раздела. Это особенно важно, если нужно настроить MBR на заданном "
+"диске. Например, <command>(hd0)</command> задает MBR на первом устройстве, а "
+"<command>(hd3)</command> — на четвертом."
#. Tag: para
#: Grub.xml:406
@@ -12347,9 +12349,9 @@ msgid ""
msgstr ""
"Понимание структуры списков блоков может пригодиться при настройке GRUB для "
"загрузки операционных систем, требующих последовательной загрузки. Указание "
-"начального блока может быть опущено, если участок начинается с нулевого блока. Например, "
-"файл последовательной загрузки первого раздела первого диска будет описан "
-"так:"
+"начального блока может быть опущено, если участок начинается с нулевого "
+"блока. Например, файл последовательной загрузки первого раздела первого "
+"диска будет описан так:"
# <command>dd</command>
#. Tag: screen
@@ -12563,7 +12565,9 @@ msgstr ""
msgid ""
"Refer to <xref linkend=\"s1-grub-configfile\"/> for more information on "
"configuring this interface."
-msgstr "<xref linkend=\"s1-grub-configfile\"/> содержит дополнительную информацию о настройке этого интерфейса."
+msgstr ""
+"<xref linkend=\"s1-grub-configfile\"/> содержит дополнительную информацию о "
+"настройке этого интерфейса."
#. Tag: emphasis
#: Grub.xml:552
@@ -12583,9 +12587,9 @@ msgid ""
"one (<keycap>e</keycap>), or deleting one (<keycap>d</keycap>)."
msgstr ""
"Для доступа к редактору нажмите <keycap>e</keycap> в меню загрузчика. Будут "
-"показаны команды GRUB, которые можно изменить путем добавления "
-"новой командной строки (нажмите <keycap>o</keycap> для вставки новой строки "
-"после текущей или <keycap>O</keycap> для вставки перед текущей строкой), "
+"показаны команды GRUB, которые можно изменить путем добавления новой "
+"командной строки (нажмите <keycap>o</keycap> для вставки новой строки после "
+"текущей или <keycap>O</keycap> для вставки перед текущей строкой), "
"редактирования (<keycap>e</keycap>) или удаления строки (<keycap>d</keycap>)."
#. Tag: para
@@ -12609,7 +12613,9 @@ msgstr ""
msgid ""
"For information about changing runlevels using the GRUB menu entry editor, "
"refer to <xref linkend=\"s1-grub-runlevels\"/>."
-msgstr "<xref linkend=\"s1-grub-runlevels\"/> содержит информацию об изменении уровней выполнения с помощью меню редактора GRUB."
+msgstr ""
+"<xref linkend=\"s1-grub-runlevels\"/> содержит информацию об изменении "
+"уровней выполнения с помощью меню редактора GRUB."
#. Tag: emphasis
#: Grub.xml:573
@@ -12825,9 +12831,9 @@ msgid ""
"Installs GRUB to the system MBR."
msgstr ""
"<command>install <replaceable><стадия-1></replaceable> "
-"<replaceable><диск></replaceable> <replaceable><стадия-2>"
-"</replaceable> <option>p</option> <replaceable>файл</replaceable></"
-"command> — устанавливает GRUB в MBR."
+"<replaceable><диск></replaceable> <replaceable><стадия-2></"
+"replaceable> <option>p</option> <replaceable>файл</replaceable></command> "
+"— устанавливает GRUB в MBR."
#. Tag: para
#: Grub.xml:667
@@ -12878,7 +12884,8 @@ msgid ""
msgstr ""
"<option>p</option> <command><replaceable><config-file></replaceable></"
"command> — указывает команде <command>install</command> выполнить "
-"поиск файла конфигурации меню, например, <command>(hd0,0)/grub/grub.conf</command>."
+"поиск файла конфигурации меню, например, <command>(hd0,0)/grub/grub.conf</"
+"command>."
#. Tag: para
#: Grub.xml:695
@@ -13030,8 +13037,9 @@ msgid ""
msgstr ""
"Файл конфигурации (<filename>/boot/grub/grub.conf</filename>), используемый "
"для создания списка доступных для загрузки операционных систем, позволяет "
-"выбрать определенную заранее группу команд. <xref linkend=\"s1-grub-commands\"/> содержит описание некоторых команд. Также могут "
-"использоваться специальные команды."
+"выбрать определенную заранее группу команд. <xref linkend=\"s1-grub-commands"
+"\"/> содержит описание некоторых команд. Также могут использоваться "
+"специальные команды."
#. Tag: title
#: Grub.xml:754
@@ -13146,8 +13154,8 @@ msgid ""
"example, change the <command>default=0</command> to <command>default=1</"
"command>."
msgstr ""
-"Обратите внимание, что целое значение переменной default относится к первой строке "
-"<command>title</command> файла конфигурации. Чтобы установить "
+"Обратите внимание, что целое значение переменной default относится к первой "
+"строке <command>title</command> файла конфигурации. Чтобы установить "
"<command>Windows</command> в качестве системы по умолчанию, надо изменить "
"<command>default=0</command> на <command>default=1</command>."
@@ -13494,8 +13502,8 @@ msgid ""
"To change the runlevel of a single boot session, use the following "
"instructions:"
msgstr ""
-"Чтобы изменить уровень выполнения на время сеанса, следуйте "
-"следующим инструкциям:"
+"Чтобы изменить уровень выполнения на время сеанса, следуйте следующим "
+"инструкциям:"
#. Tag: para
#: Grub.xml:960
@@ -21023,8 +21031,8 @@ msgid ""
"have to remember the correct syntax of the file."
msgstr ""
"Утилита <application>настройки кикстарта</application> позволяет создать "
-"файл кикстарта, используя графический интерфейс, избавляя тем самым пользователя от "
-"необходимости запоминания структуры этого файла."
+"файл кикстарта, используя графический интерфейс, избавляя тем самым "
+"пользователя от необходимости запоминания структуры этого файла."
#. Tag: para
#: Ksconfig.xml:20
@@ -21057,9 +21065,8 @@ msgid ""
"guimenuitem> => <guimenuitem>Preview</guimenuitem> at any time to review "
"your current selections."
msgstr ""
-"Созданный файл кикстарта можно в просмотреть в меню "
-"<guimenuitem>Файл</guimenuitem> => <guimenuitem>Предварительный просмотр</"
-"guimenuitem>."
+"Созданный файл кикстарта можно в просмотреть в меню <guimenuitem>Файл</"
+"guimenuitem> => <guimenuitem>Предварительный просмотр</guimenuitem>."
#. Tag: para
#: Ksconfig.xml:31
@@ -21068,9 +21075,8 @@ msgid ""
"To start with an existing kickstart file, select <guimenu>File</guimenu> "
"=> <guimenuitem>Open</guimenuitem> and select the existing file."
msgstr ""
-"Чтобы начать работу с существующим файлом кикстарта, в меню "
-"<guimenu>Файл</guimenu> => <guimenuitem>Открыть файл</guimenuitem> "
-"выберите нужный файл."
+"Чтобы начать работу с существующим файлом кикстарта, в меню <guimenu>Файл</"
+"guimenu> => <guimenuitem>Открыть файл</guimenuitem> выберите нужный файл."
#. Tag: title
#: Ksconfig.xml:35 Ksconfig.xml:41
@@ -21099,9 +21105,8 @@ msgid ""
"language to be used after installation from the <guimenu>Default Language</"
"guimenu> menu."
msgstr ""
-"В меню <guimenu>Основной язык</guimenu> язык, который будет "
-"использоваться при установке и станет языком по умолчанию, используемым "
-"после установки."
+"В меню <guimenu>Основной язык</guimenu> язык, который будет использоваться "
+"при установке и станет языком по умолчанию, используемым после установки."
#. Tag: para
#: Ksconfig.xml:63
@@ -21143,16 +21148,16 @@ msgid ""
"Because a kickstart file is a plain text file that can be easily read, it is "
"recommended that an encrypted password be used."
msgstr ""
-"В поле <guilabel>Пароль root</guilabel> введите пароль "
-"пользователя root. Введите тот же пароль в поле "
-"<guilabel>Повторите пароль</guilabel>. Подтверждение нужно для того, чтобы "
-"убедиться, что набирая пароль, вы не ошиблись. Чтобы сохранить в файле "
-"зашифрованный пароль, установите флажок <guilabel>Зашифровать пароль root</"
-"guilabel>. Тогда при сохранении файла введенный в "
-"открытом виде пароль будет зашифрован и записан в файл кикстарта. Не следует "
-"вводить уже зашифрованный пароль и одновременно включать его шифрование. Так "
-"как файл кикстарта — это обычный текстовый файл, который можно легко "
-"прочитать, рекомендуется использовать шифрование пароля."
+"В поле <guilabel>Пароль root</guilabel> введите пароль пользователя root. "
+"Введите тот же пароль в поле <guilabel>Повторите пароль</guilabel>. "
+"Подтверждение нужно для того, чтобы убедиться, что набирая пароль, вы не "
+"ошиблись. Чтобы сохранить в файле зашифрованный пароль, установите флажок "
+"<guilabel>Зашифровать пароль root</guilabel>. Тогда при сохранении файла "
+"введенный в открытом виде пароль будет зашифрован и записан в файл "
+"кикстарта. Не следует вводить уже зашифрованный пароль и одновременно "
+"включать его шифрование. Так как файл кикстарта — это обычный "
+"текстовый файл, который можно легко прочитать, рекомендуется использовать "
+"шифрование пароля."
#. Tag: para
#: Ksconfig.xml:90
@@ -21208,11 +21213,11 @@ msgid ""
msgstr ""
"Вы также можете выполнить кикстарт-установку в интерактивном режиме. В этом "
"случае программа установки использует все параметры, определенные в файле "
-"кикстарта, но при этом позволяет просмотреть их на каждом экране до "
-"перехода к следующему. Чтобы перейти к следующему экрану, согласившись с "
-"настройками или изменив их, нажмите кнопку <guibutton>Далее</guibutton>. "
-"Чтобы выбрать графическую установку, отметьте флажок <guilabel>Выполнить "
-"установку в интерактивном режиме</guilabel>."
+"кикстарта, но при этом позволяет просмотреть их на каждом экране до перехода "
+"к следующему. Чтобы перейти к следующему экрану, согласившись с настройками "
+"или изменив их, нажмите кнопку <guibutton>Далее</guibutton>. Чтобы выбрать "
+"графическую установку, отметьте флажок <guilabel>Выполнить установку в "
+"интерактивном режиме</guilabel>."
# EXACT MATCH
#. Tag: title
@@ -21283,9 +21288,9 @@ msgid ""
"redhat/i386/</filename> for the NFS directory."
msgstr ""
"<guilabel>NFS</guilabel> — выберите этот вариант, чтобы установить или "
-"обновить систему из общего каталога NFS. В текстовом поле NFS-"
-"сервера введите полное имя домена или IP-адрес. В поле, где задается NFS-"
-"каталог, введите имя NFS-каталога, содержащего каталог "
+"обновить систему из общего каталога NFS. В текстовом поле NFS-сервера "
+"введите полное имя домена или IP-адрес. В поле, где задается NFS-каталог, "
+"введите имя NFS-каталога, содержащего каталог "
"<filename><replaceable>вариант</replaceable></filename> дерева установки. "
"Например, если на NFS-сервере есть каталог <filename>/mirrors/redhat/i386/"
"Server</filename>, введите <filename>/mirrors/redhat/i386</filename>."
@@ -21304,13 +21309,13 @@ msgid ""
"requires a username and password, specify them as well."
msgstr ""
"<guilabel>FTP</guilabel> — выберите этот вариант, чтобы установить или "
-"обновить систему с FTP-сервера. В текстовом поле FTP-сервера "
-"введите полное имя домена или IP-адрес. В поле, где указывается каталог FTP, "
-"введите имя каталога, в котором находится подкаталог "
-"<filename><replaceable>вариант</replaceable></filename>. Например, если на "
-"FTP-сервере есть каталог <filename>/mirrors/redhat/i386/Server/</filename>, "
-"введите <filename>/mirrors/redhat/i386/Server/</filename>. При необходимости "
-"введите имя пользователя и пароль."
+"обновить систему с FTP-сервера. В текстовом поле FTP-сервера введите полное "
+"имя домена или IP-адрес. В поле, где указывается каталог FTP, введите имя "
+"каталога, в котором находится подкаталог <filename><replaceable>вариант</"
+"replaceable></filename>. Например, если на FTP-сервере есть каталог "
+"<filename>/mirrors/redhat/i386/Server/</filename>, введите <filename>/"
+"mirrors/redhat/i386/Server/</filename>. При необходимости введите имя "
+"пользователя и пароль."
#. Tag: para
#: Ksconfig.xml:162
@@ -21325,12 +21330,12 @@ msgid ""
"<filename>/mirrors/redhat/i386/Server/</filename> for the HTTP directory."
msgstr ""
"<guilabel>HTTP</guilabel> — выберите этот вариант, чтобы установить "
-"или обновить систему с HTTP-сервера. В текстовом поле HTTP-сервера "
-"введите полное имя домена или IP-адрес. В поле каталога HTTP введите имя "
-"каталога, содержащего подкаталог <filename><replaceable>вариант</"
-"replaceable></filename>. Например, если HTTP-сервер содержит каталог "
-"<filename>/mirrors/redhat/i386/Server/</filename>, введите <filename>/"
-"mirrors/redhat/i386/Server/</filename>."
+"или обновить систему с HTTP-сервера. В текстовом поле HTTP-сервера введите "
+"полное имя домена или IP-адрес. В поле каталога HTTP введите имя каталога, "
+"содержащего подкаталог <filename><replaceable>вариант</replaceable></"
+"filename>. Например, если HTTP-сервер содержит каталог <filename>/mirrors/"
+"redhat/i386/Server/</filename>, введите <filename>/mirrors/redhat/i386/"
+"Server/</filename>."
#. Tag: para
#: Ksconfig.xml:168
@@ -21352,7 +21357,8 @@ msgstr ""
"требует использования ISO или CD-ROM образов. Прежде чем приступить к "
"установке, убедитесь в целостности ISO-образов. Для проверки используйте "
"программу <command>md5sum</command>, а также параметр загрузки "
-"<command>linux mediacheck</command> (см. <xref linkend=\"sn-boot-mediacheck\" />). Укажите раздел жесткого диска, содержащий ISO-образы (например, "
+"<command>linux mediacheck</command> (см. <xref linkend=\"sn-boot-mediacheck"
+"\" />). Укажите раздел жесткого диска, содержащий ISO-образы (например, "
"<filename>/dev/hda1</filename>) в текстовом поле <guilabel>Раздел жесткого "
"диска</guilabel>. В поле <guilabel>Каталог на жестком диске</guilabel> "
"укажите каталог с ISO-образами."
@@ -21385,8 +21391,8 @@ msgid ""
"Please note that this screen will be disabled if you have specified a target "
"architecture other than x86 / x86_64."
msgstr ""
-"Обратите внимание, что данный экран будет доступен только для архитектур "
-"x86 и x86_64."
+"Обратите внимание, что данный экран будет доступен только для архитектур x86 "
+"и x86_64."
#. Tag: para
#: Ksconfig.xml:198
@@ -21412,10 +21418,9 @@ msgid ""
"the first sector of the <filename>/boot</filename> partition). Install the "
"boot loader on the MBR if you plan to use it as your boot loader."
msgstr ""
-"Вы должны решить, куда устанавливать загрузчик (в MBR "
-"или в первый сектор раздела <filename>/boot</filename>). Установите "
-"загрузчик в MBR, если вы планируете использовать его в качестве основного "
-"загрузчика системы."
+"Вы должны решить, куда устанавливать загрузчик (в MBR или в первый сектор "
+"раздела <filename>/boot</filename>). Установите загрузчик в MBR, если вы "
+"планируете использовать его в качестве основного загрузчика системы."
#. Tag: para
#: Ksconfig.xml:206
@@ -21430,11 +21435,11 @@ msgid ""
"ROM device)."
msgstr ""
"Чтобы при загрузке системы передать ядру параметры, введите их в текстовом "
-"поле <guilabel>Параметры ядра</guilabel>. Например, если есть "
-"записывающий привод IDE CD-ROM, можно включить в ядре драйвер эмуляции "
-"SCSI, который должен быть загружен перед использованием программы "
-"<command>cdrecord</command>, передав ядру параметр <userinput>hdd=ide-scsi</"
-"userinput> (где <userinput>hdd</userinput> — привод CD-ROM)."
+"поле <guilabel>Параметры ядра</guilabel>. Например, если есть записывающий "
+"привод IDE CD-ROM, можно включить в ядре драйвер эмуляции SCSI, который "
+"должен быть загружен перед использованием программы <command>cdrecord</"
+"command>, передав ядру параметр <userinput>hdd=ide-scsi</userinput> (где "
+"<userinput>hdd</userinput> — привод CD-ROM)."
#. Tag: para
#: Ksconfig.xml:211
@@ -21547,7 +21552,8 @@ msgstr ""
"Чтобы создать раздел, нажмите кнопку <guibutton>Добавить</guibutton>. На "
"экране появится окно <guilabel>Параметры раздела</guilabel> (<xref linkend="
"\"redhat-config-kickstart-add-part-fig\"/>). Определите точку подключения, "
-"тип файловой системы и размер создаваемого раздела. По своему усмотрению можно установить следующие параметры:"
+"тип файловой системы и размер создаваемого раздела. По своему усмотрению "
+"можно установить следующие параметры:"
#. Tag: para
#: Ksconfig.xml:266
@@ -21580,10 +21586,10 @@ msgid ""
"specify <userinput>hda</userinput> as the drive. Do not include <filename>/"
"dev</filename> in the drive name."
msgstr ""
-"Создайте раздел на жестком диске. Например, чтобы создать раздел на "
-"первом жестком диске IDE (<filename>/dev/hda</filename>), укажите в качестве "
-"диска <userinput>hda</userinput>. Включать в имя диска <filename>/dev</"
-"filename> не нужно."
+"Создайте раздел на жестком диске. Например, чтобы создать раздел на первом "
+"жестком диске IDE (<filename>/dev/hda</filename>), укажите в качестве диска "
+"<userinput>hda</userinput>. Включать в имя диска <filename>/dev</filename> "
+"не нужно."
#. Tag: para
#: Ksconfig.xml:284
@@ -21753,8 +21759,8 @@ msgid ""
"format the RAID device."
msgstr ""
"Выберите точку подключения, тип файловой системы, имя RAID-устройства, "
-"уровень RAID, составляющие RAID-массива, число резервных разделов программного "
-"RAID-устройства и определите, форматировать ли это устройство."
+"уровень RAID, составляющие RAID-массива, число резервных разделов "
+"программного RAID-устройства и определите, форматировать ли это устройство."
# Create a RAID device
#. Tag: title
@@ -21922,11 +21928,11 @@ msgid ""
"authentication method. Refer to the Red Hat Enterprise Linux Deployment "
"Guide for more information about the options."
msgstr ""
-"По умолчанию они не включены. Чтобы включить один или несколько "
-"методов, перейдите к соответствующей вкладке, установите флажок "
-"<guilabel>Включить</guilabel> и определите подходящие параметры метода "
-"проверки подлинности. За дополнительной информацией обратитесь к руководству "
-"по развертыванию Red Hat Enterprise Linux."
+"По умолчанию они не включены. Чтобы включить один или несколько методов, "
+"перейдите к соответствующей вкладке, установите флажок <guilabel>Включить</"
+"guilabel> и определите подходящие параметры метода проверки подлинности. За "
+"дополнительной информацией обратитесь к руководству по развертыванию Red Hat "
+"Enterprise Linux."
# Firewall Configuration
#. Tag: title
@@ -22003,8 +22009,8 @@ msgid ""
msgstr ""
"В списке <guilabel>Доверенные устройства</guilabel> отображены только "
"устройства, настроенные в разделе <guilabel>Настройка сети</guilabel>. "
-"Система будет принимать соединения с любых устройств в этом "
-"списке. Например, если <guilabel>eth1</guilabel> получает данные только от "
+"Система будет принимать соединения с любых устройств в этом списке. "
+"Например, если <guilabel>eth1</guilabel> получает данные только от "
"внутренних компьютеров, возможно, вы захотите разрешить подключения с этого "
"устройства."
@@ -22060,10 +22066,10 @@ msgid ""
"<command>permissive</command> or <command>disabled</command> mode. Finer "
"grained configuration is not possible at this time."
msgstr ""
-"При кикстарте может быть установлен в "
-"<command>принудительный (строгий) режим</command> SELinux, <command>режим предупреждений</"
-"command> или <command>выключен</command>. Более тонкая конфигурация на "
-"данном этапе недоступна."
+"При кикстарте может быть установлен в <command>принудительный (строгий) "
+"режим</command> SELinux, <command>режим предупреждений</command> или "
+"<command>выключен</command>. Более тонкая конфигурация на данном этапе "
+"недоступна."
# Mouse Configuration
#. Tag: title
@@ -22612,7 +22618,8 @@ msgid ""
"prepend the directory name with <filename>/mnt/sysimage/</filename>."
msgstr ""
"Чтобы внести изменения в только что установленную файловую систему в "
-"пределах данного раздела, но вне окружения chroot, введите <filename>/mnt/sysimage/</filename> перед именем каталога."
+"пределах данного раздела, но вне окружения chroot, введите <filename>/mnt/"
+"sysimage/</filename> перед именем каталога."
#. Tag: para
#: Ksconfig.xml:780
@@ -22720,7 +22727,9 @@ msgstr ""
msgid ""
"After saving the file, refer to <xref linkend=\"s1-kickstart2-startinginstall"
"\"/> for information on how to start the kickstart installation."
-msgstr "После сохранения файла перейдите к инструкциям по запуску кикстарт-установки (см. <xref linkend=\"s1-kickstart2-startinginstall\"/>)."
+msgstr ""
+"После сохранения файла перейдите к инструкциям по запуску кикстарт-установки "
+"(см. <xref linkend=\"s1-kickstart2-startinginstall\"/>)."
# Selecting the appropriate language also helps target your time zone configuration later in the installation. The installation program tries to define the appropriate time zone based on what you specify on this screen.
#. Tag: para
@@ -23767,8 +23776,8 @@ msgstr ""
"Если в сети нет сервера DHCP, необходимо его настроить. Подробная информация "
"по этому поводу может быть найдена в руководстве по развертыванию Red Hat "
"Enterprise Linux. Убедитесь, что файл конфигурации содержит следующие "
-"данные, чтобы обеспечить возможность PXE-загрузки (если система "
-"поддерживает такой способ):"
+"данные, чтобы обеспечить возможность PXE-загрузки (если система поддерживает "
+"такой способ):"
#. Tag: screen
#: Netboot_DHCP.xml:31
@@ -24015,8 +24024,8 @@ msgid ""
"Provider (ISP)."
msgstr ""
"Программа установки не выполняет настройку модемов. После установки их можно "
-"настроить с помощью утилиты настройки сети. Настройки модема будут зависеть от "
-"настроек Интернет-провайдера."
+"настроить с помощью утилиты настройки сети. Настройки модема будут зависеть "
+"от настроек Интернет-провайдера."
#. Tag: title
#: networkconfig-fedora.xml:82
@@ -25453,7 +25462,7 @@ msgid ""
"several of the drives as a Linux RAID array without requiring any additional "
"hardware."
msgstr ""
-"В системах Fedora с несколькими жесткими дисками их можно объединить в один "
+"Несколько жестких дисков в системах Fedora можно объединить в один "
"RAID-массив, исключая тем самым необходимость в дополнительном оборудовании."
#. Tag: title
14 years, 1 month
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 260dc6aa145e1e8893d844647ec723c555a01361
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Mon Jan 25 06:09:49 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 2765302..7f025d1 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-22 16:27+1100\n"
+"PO-Revision-Date: 2010-01-25 17:07+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
"Language-Team: Russian <fedora-trans-ru(a)redhat.com>\n"
"MIME-Version: 1.0\n"
@@ -23704,7 +23704,7 @@ msgstr ""
"Перезагрузите систему. <application>GRUB</application> загрузит установочное "
"ядро и RAM-диск, используя заданные параметры. За дальнейшей информацией "
"перейдите к соответствующей главе этого руководства. <xref linkend=\"sn-"
-"remoteaccess-installation\"/> содержит сведения о удаленном выполнении "
+"remoteaccess-installation\"/> содержит сведения об удаленном выполнении "
"установки с помощью VNC."
# Configuring the Time Zone
@@ -23765,9 +23765,9 @@ msgid ""
"systems which support it:"
msgstr ""
"Если в сети нет сервера DHCP, необходимо его настроить. Подробная информация "
-"по этому поводу может быть найдена в Руководстве по развертыванию Red Hat "
+"по этому поводу может быть найдена в руководстве по развертыванию Red Hat "
"Enterprise Linux. Убедитесь, что файл конфигурации содержит следующие "
-"данные, чтобы обеспечить возможность PXE-загрузки PXE (если система "
+"данные, чтобы обеспечить возможность PXE-загрузки (если система "
"поддерживает такой способ):"
#. Tag: screen
@@ -24015,8 +24015,8 @@ msgid ""
"Provider (ISP)."
msgstr ""
"Программа установки не выполняет настройку модемов. После установки их можно "
-"настроить с помощью сетевой утилиты. Настройки модема будут зависеть от "
-"настроек вашего Интернет-провайдера."
+"настроить с помощью утилиты настройки сети. Настройки модема будут зависеть от "
+"настроек Интернет-провайдера."
#. Tag: title
#: networkconfig-fedora.xml:82
@@ -25068,7 +25068,7 @@ msgid ""
"system."
msgstr ""
"Если необходимо, загрузите и установите пакеты репозиториев. Следуйте "
-"инструкциям на сайте по установке пакетов конфигурации репозиториев для "
+"инструкциям на сайте по установке пакетов настройки репозиториев для "
"<command>yum</command> и других утилит управления пакетами."
#. Tag: para
14 years, 1 month
web/html/docs/selinux-faq index.html,1.4,1.5
by sradvan
Author: sradvan
Update of /cvs/fedora/web/html/docs/selinux-faq
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13183
Modified Files:
index.html
Log Message:
su does domain transitions just fine, newrole is not the only way
Index: index.html
===================================================================
RCS file: /cvs/fedora/web/html/docs/selinux-faq/index.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- index.html 22 Jan 2010 01:19:59 -0000 1.4
+++ index.html 25 Jan 2010 04:23:03 -0000 1.5
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>SELinux FAQ</title><link rel="stylesheet" href="./Common_Content/css/default.css" type="text/css" /><meta name="generator" content="publican 1.3" /><meta name="package" content="Fedora-SELinux_FAQ-12-en-US-0-0" /><meta name="description" content="This FAQ answers many questions about Security-Enhanced Linux. The information in this FAQ is valuable for those who are new to SELinux." /></head><body class=""><p id="title"><a class="left" href="http://www.fedoraproject.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.fedoraproject.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><div xml:lang="en-US" class="article" title="SELinux FAQ" lang="en-US"><div class="titlepage"><div><div class="producttitle"><span class="productname">Fedora</span> <span class="
productnumber">12</span></div><div><h1 id="chap-SELinux-FAQ-FAQ" class="title">SELinux FAQ</h1></div><div><h2 class="subtitle">Frequently-asked questions about Security Enhanced Linux</h2></div><div><h3 class="corpauthor">
<span class="inlinemediaobject"><object data="Common_Content/images/title_logo.svg" type="image/svg+xml"> </object></span>
- </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id2819125" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
+ </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id3210250" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
Copyright <span class="trademark"></span>© 2010 Red Hat, Inc..
</div><div class="para">
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at <a href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a>. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
@@ -47,141 +47,141 @@
The SELinux User Guide and the SELinux Managing Confined Services Guide at <a href="http://docs.fedoraproject.org">http://docs.fedoraproject.org</a>
</div></li><li class="listitem"><div class="para">
On IRC - irc.freenode.net, #fedora-selinux and #selinux
- </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id2618307"><dl><dt></dt><dd><dl><dt>Q: <a href="#id2618313">
+ </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id3023874"><dl><dt></dt><dd><dl><dt>Q: <a href="#id3023879">
What is SELinux?
- </a></dt><dt>Q: <a href="#id2619811">
+ </a></dt><dt>Q: <a href="#id3100119">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id2619886">
+ </a></dt><dt>Q: <a href="#id3100193">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id2619913">
+ </a></dt><dt>Q: <a href="#id3100220">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2624427">
+ </a></dt><dt>Q: <a href="#id3024931">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2624488">
+ </a></dt><dt>Q: <a href="#id3024990">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id2624534">
+ </a></dt><dt>Q: <a href="#id3025037">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></dd><dt>1.2. <a href="#id2687997">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id2688003">
+ </a></dt></dl></dd><dt>1.2. <a href="#id3197676">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id3197681">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id2688030">
+ </a></dt><dt>Q: <a href="#id3197708">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id2694800">
+ </a></dt><dt>Q: <a href="#id3092656">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id2694972">
+ </a></dt><dt>Q: <a href="#id3092828">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id2653743">
+ </a></dt><dt>Q: <a href="#id3063222">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id2653929">
+ </a></dt><dt>Q: <a href="#id3063408">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id2654151">
+ </a></dt><dt>Q: <a href="#id3063630">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id2654215">
+ </a></dt><dt>Q: <a href="#id3063693">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id2654315">
+ </a></dt><dt>Q: <a href="#id3063794">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id2654348">
+ </a></dt><dt>Q: <a href="#id3063827">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id2654394">
+ </a></dt><dt>Q: <a href="#id3063873">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id2654421">
+ </a></dt><dt>Q: <a href="#id3063899">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id2654451">
+ </a></dt><dt>Q: <a href="#id3063929">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id2654534">
+ </a></dt><dt>Q: <a href="#id3064013">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id2654596">
+ </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id3064075">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id2654634">
+ </a></dt><dt>Q: <a href="#id3064112">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id2654720">
+ </a></dt><dt>Q: <a href="#id3064199">
Why doesn't SELinux give me the full path in an error message?
- </a></dt><dt>Q: <a href="#id2654941">
+ </a></dt><dt>Q: <a href="#id3064419">
I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
- </a></dt><dt>Q: <a href="#id2655027">
+ </a></dt><dt>Q: <a href="#id3064506">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id2655078">
+ </a></dt><dt>Q: <a href="#id3064556">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id2655139">
+ </a></dt><dt>Q: <a href="#id3064618">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id2655229">
+ </a></dt><dt>Q: <a href="#id3064708">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id2655296">
+ </a></dt><dt>Q: <a href="#id3064764">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id2655357">
+ </a></dt><dt>Q: <a href="#id3064825">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id2655400">
+ </a></dt><dt>Q: <a href="#id3064868">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id2655508">
+ </a></dt><dt>Q: <a href="#id3064976">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id2655600">
+ </a></dt><dt>Q: <a href="#id3065068">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id2655688">
+ </a></dt><dt>Q: <a href="#id3065156">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id2655736">
+ </a></dt><dt>Q: <a href="#id3065204">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id2655793">
+ </a></dt><dt>Q: <a href="#id3065261">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id2655866">
+ </a></dt><dt>Q: <a href="#id3065334">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id2655896">
+ </a></dt><dt>Q: <a href="#id3065364">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id2655980">
+ </a></dt><dt>Q: <a href="#id3065448">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id2656051">
+ </a></dt><dt>Q: <a href="#id3065519">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id2656269">
+ </a></dt><dt>Q: <a href="#id3065738">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id2656337">
+ </a></dt><dt>Q: <a href="#id3065806">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id2656372">
+ </a></dt><dt>Q: <a href="#id3065841">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id2656426">
+ </a></dt><dt>Q: <a href="#id3065895">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id2656464">
+ </a></dt><dt>Q: <a href="#id3065932">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id2656572">
+ </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id3066041">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id2656605">
+ </a></dt><dt>Q: <a href="#id3066074">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id2656639">
+ </a></dt><dt>Q: <a href="#id3066108">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id2656689">
+ </a></dt><dt>Q: <a href="#id3066158">
How does SELinux affect third-party applications?
- </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id2618313">
+ </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id3023879">
What is SELinux?
- </a></dt><dt>Q: <a href="#id2619811">
+ </a></dt><dt>Q: <a href="#id3100119">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id2619886">
+ </a></dt><dt>Q: <a href="#id3100193">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id2619913">
+ </a></dt><dt>Q: <a href="#id3100220">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2624427">
+ </a></dt><dt>Q: <a href="#id3024931">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2624488">
+ </a></dt><dt>Q: <a href="#id3024990">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id2624534">
+ </a></dt><dt>Q: <a href="#id3025037">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2618313"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3023879"><label>Q:</label><div class="data"><div class="para">
What is SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux (<em class="firstterm">Security-Enhanced Linux</em>) in Fedora is an implementation of <em class="firstterm">mandatory access control</em> in the Linux kernel using the <em class="firstterm">Linux Security Modules</em> (<abbr class="abbrev">LSM</abbr>) framework. Standard Linux security is a <em class="firstterm">discretionary access control</em> model.
@@ -197,17 +197,17 @@
MAC under SELinux allows you to provide granular permissions for all <em class="firstterm">subjects</em> (users, programs, processes) and <em class="firstterm">objects</em> (files, devices). In practice, think of subjects as processes, and objects as the target of a process operation. You can safely grant a process only the permissions it needs to perform its function, and no more.
</div><div class="para">
The SELinux implementation uses <em class="firstterm">role-based access control</em> (<abbr class="abbrev">RBAC</abbr>), which provides abstracted user-level control based on roles, and <em class="firstterm"><span class="trademark">Type Enforcement</span>®</em> (<abbr class="abbrev">TE</abbr>). TE uses a table, or <em class="firstterm">matrix</em> to handle access controls, enforcing policy rules based on the types of processes and objects. Process types are called <em class="firstterm">domains</em>, and a cross-reference on the matrix of the process's domain and the object's type defines their interaction. This system provides extremely granular control for actors in a Linux system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2619811"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3100119"><label>Q:</label><div class="data"><div class="para">
What is SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The SELinux policy describes the access permissions for all subjects and objects, that is, the entire system of users, programs, and processes and the files and devices they act upon. Fedora policy is delivered in a package, with an associated source package. Current shipping policy packages are:
</div><div class="variablelist"><dl><dt><span class="term"><code class="filename">selinux-policy-<em class="replaceable"><code><version></code></em>.noarch.rpm</code></span></dt><dd><div class="para">
This package is common to all types of policy and contains config files/man pages. This includes the interface files for the development environment. This replaces the -sources package from the past. This package contains the interface files used in Reference Policy along with a Makefile and a small tool called <code class="command">sepolgen</code> used to generate a policy template file. The interface files reside in <code class="filename">/usr/share/selinux/devel/include</code> directory. If you want to see all of the policy files used to build the Reference Policy you need to install the src.rpm.
- </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id2619886"><label>Q:</label><div class="data"><div class="para">
+ </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3100193"><label>Q:</label><div class="data"><div class="para">
What happened to the strict policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Strict policy since Red Hat Enterprise Linux 5 and Fedora Core 5 has been the equivalent of targeted policy with the unconfined domains removed. This means all users had to have a type defined for them like staff_t or user_t. Also, all processes started by init would need to have policy written for them. As of Fedora Core 9, the strict policy was removed and merged into targeted policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2619913"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3100220"><label>Q:</label><div class="data"><div class="para">
What programs are protected by the SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The number of programs that have SELinux policy defined for them is constantly changing and evolving. Different versions of policy have more or less executables covered. By convention all confined executables have a label type that ends with exec_t. The SELinux tools package (setools) includes the seinfo application which allows you to examine the installed policy.
@@ -221,13 +221,13 @@
The <em class="firstterm">Reference Policy</em> is a new project maintained by Tresys Technology (<a href="http://www.tresys.com/">http://www.tresys.com/</a>) designed to rewrite the entire SELinux policy in a way that is easier to use and understand. To do this, it uses the concepts of modularity, abstraction, and well-defined interfaces. Refer to <a href="http://oss.tresys.com/">http://oss.tresys.com/</a> for more information on the Reference Policy.
</div><div class="para">
Note that Reference Policy is not a new type of policy. Rather, it is a new base that policies can be built from.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2624427"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3024931"><label>Q:</label><div class="data"><div class="para">
What are file contexts?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
<em class="firstterm">File contexts</em> are used by the <code class="command">setfiles</code> command to generate persistent labels which describe the security context for a file or directory.
</div><div class="para">
Fedora ships with the <code class="command">fixfiles</code> script, which supports three options: <code class="option">check</code>, <code class="option">restore</code>, and <code class="option">relabel</code>. This script allows users to relabel the file system without having the <code class="filename">selinux-policy-targeted-sources</code> package installed. The command line usage is more friendly than the standard <code class="command">setfiles</code> command.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2624488"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3024990"><label>Q:</label><div class="data"><div class="para">
How do I view the security context of a file, user, or process?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The new option <code class="option">-Z</code> is the short method for displaying the context of a subject or object:
@@ -235,7 +235,7 @@
<code class="command">ls -alZ <em class="replaceable"><code>file.foo</code></em> </code>
<code class="computeroutput">id -Z</code>
<code class="computeroutput">ps -eZ</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2624534"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3025037"><label>Q:</label><div class="data"><div class="para">
What is the difference between a <em class="firstterm">domain</em> and a <em class="firstterm">type</em>?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is no difference between a domain and a type, although domain is sometimes used to refer to the type of a process. The use of domain in this way stems from Domain and Type Enforcement (DTE) models, where domains and types are separate.
@@ -257,45 +257,45 @@
A library, <code class="filename">libsemanage</code>, exists to provide userspace tools an interface to making policy management easier. All policy management should use this library to access the policy store. The policy store holds all the policy information, and is found at <code class="filename">/etc/selinux/<em class="replaceable"><code>policyname</code></em>/modules/</code>.
</div><div class="para">
You should never have to edit the store directly. Instead, you should use tools that link against libsemanage. One example tool is <code class="command">semanage</code>, which is a command line tool for managing much of the policy such as SELinux user mappings, SELinux port mappings, and file contexts entries. Other examples of tools that use libsemanage include <code class="command">semodule</code> which uses it to manage the SELinux policy modules installed to the policy store and <code class="command">setsebool</code> which uses it manage SELinux policy booleans. Additionally, graphical tools are currently being developed to utilize the functionality provided by libsemanage.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id2687997">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id2688003">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id3197676">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3197681">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id2688030">
+ </a></dt><dt>Q: <a href="#id3197708">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id2694800">
+ </a></dt><dt>Q: <a href="#id3092656">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id2694972">
+ </a></dt><dt>Q: <a href="#id3092828">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id2653743">
+ </a></dt><dt>Q: <a href="#id3063222">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id2653929">
+ </a></dt><dt>Q: <a href="#id3063408">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id2654151">
+ </a></dt><dt>Q: <a href="#id3063630">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id2654215">
+ </a></dt><dt>Q: <a href="#id3063693">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id2654315">
+ </a></dt><dt>Q: <a href="#id3063794">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id2654348">
+ </a></dt><dt>Q: <a href="#id3063827">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id2654394">
+ </a></dt><dt>Q: <a href="#id3063873">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id2654421">
+ </a></dt><dt>Q: <a href="#id3063899">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id2654451">
+ </a></dt><dt>Q: <a href="#id3063929">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id2654534">
+ </a></dt><dt>Q: <a href="#id3064013">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2688003"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3197681"><label>Q:</label><div class="data"><div class="para">
How do I install/not install SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The installer follows the choice you make in the <span class="guilabel"><strong>Firewall Configuration</strong></span> screen. The default running policy is the targeted policy, and it is on by default.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2688030"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3197708"><label>Q:</label><div class="data"><div class="para">
As an administrator, what do I need to do to configure SELinux for my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The answer might be nothing! There are many Fedora users that don't even realize that they are using SELinux. SELinux provides protection for their systems with an out-of-the-box configuration. That said, there are a couple of things an administrator might want to do to configure their system. These include:
@@ -364,7 +364,7 @@
<code class="computeroutput"># semodule -i local.pp</code>
</pre></li></ol></div><div class="note"><h2>Module are uniquely identified by name</h2><div class="para">
This means that if you later insert another <code class="filename">local.pp</code>, it will replace the one you just loaded. So, you should keep this <code class="filename">local.te</code> around, and just add to it if you need to make later policy customizations. If you lose it, but want to keep your previous policy around, just call the new local policy module something else (say local2.te).
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2694800"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3092656"><label>Q:</label><div class="data"><div class="para">
I have some avc denials that I would like to allow, how do I do this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you have specific AVC messages you can use <code class="command">audit2allow</code> to generate a Type Enforcement file that is ready to load as a policy module.
@@ -399,7 +399,7 @@
In order to load this newly created policy package into the kernel, you are required to execute <code class="command">semodule -i local.pp</code>
</div><div class="para">
Note that if you later install another module called local, it will replace this module. If you want to keep these rules around, then you either need to append future customizations to this local.te, or give future customizations a different name.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2694972"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3092828"><label>Q:</label><div class="data"><div class="para">
How can I help write policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your help is definitely appreciated.
@@ -455,7 +455,7 @@
Verify the policy is good or fix it.
./mydaemon.sh
goto begin
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2653743"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3063222"><label>Q:</label><div class="data"><div class="para">
How do I switch the policy I am currently using?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="caution"><h2>Use caution when switching policy</h2><div class="para">
Other than trying out a new policy on a test machine for research purposes, you should seriously consider your situation before switching to a different policy on a production system. The act of switching is straightforward. This method is fairly safe, but you should try it first on a test system.
@@ -483,7 +483,7 @@
With the new system running in <code class="computeroutput">permissive</code> mode, check <code class="filename">/var/log/messages</code> for <code class="computeroutput">avc: denied</code> messages. These may indicate a problem that needs to be solved for the system to run without trouble under the new policy.
</div></li><li class="step" title="Step 5"><div class="para">
When you are satisfied that the system runs stable under the new policy, enable enforcing by changing <code class="computeroutput">SELINUX=enforcing</code>. You can either reboot or run <code class="command">setenforce 1</code> to turn enforcing on in real time.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2653929"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3063408"><label>Q:</label><div class="data"><div class="para">
How can I back up files from an SELinux file system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can now use the <code class="command">tar</code> command as normal, you no longer need to use <code class="command">star</code>.
@@ -512,7 +512,7 @@
You may notice at a later date that the user field, set here to <code class="computeroutput">user_u</code>, is changed to <code class="computeroutput">system_u</code>. This does not affect how the targeted policy works. The field that matters is the type field.
</div></li><li class="step" title="Step 3"><div class="para">
Your static webpages should now be served correctly. If you continue to have errors, ensure that the Boolean which enables user home directories is enabled. You can set it using <code class="command">system-config-selinux</code>. Select the <span class="guilabel"><strong>SELinux</strong></span> tab, and then select the <span class="guilabel"><strong>Modify SELinux Policy</strong></span> area. Select <code class="computeroutput">Allow HTTPD to read home directories</code>. The changes take effect immediately.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2654151"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3063630"><label>Q:</label><div class="data"><div class="para">
How do I turn SELinux off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Set <code class="computeroutput">SELINUX=disabled</code> in <code class="filename">/etc/selinux/config</code>.
@@ -520,7 +520,7 @@
Alternatively, you can add <code class="option">selinux=0</code> to your kernel boot parameters. However, this option is not recommended.
</div><div class="caution"><h2>Be careful when disabling SELinux</h2><div class="para">
If you boot with <code class="option">selinux=0</code>, any files you create while SELinux is disabled do not have SELinux context information. The file system is marked for relabeling at the next boot. If an unforeseen problem prevents you from rebooting normally, you may need to boot in single-user mode for recovery. Add the option <code class="option">emergency</code> to your kernel boot parameters.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2654215"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3063693"><label>Q:</label><div class="data"><div class="para">
How do I turn enforcing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can specify the SELinux mode using the configuration file <code class="filename">/etc/sysconfig/selinux</code>.
@@ -541,25 +541,25 @@
However, setting the value to <code class="computeroutput">disabled</code> is not the same as the <code class="option">selinux=0</code> kernel boot parameter. Rather than fully disabling SELinux in the kernel, the <code class="computeroutput">disabled</code> setting instead turns enforcing off and skips loading a policy.
</div><div class="important"><h2>SELinux Configuration Precedence</h2><div class="para">
The command line kernel parameter overrides the configuration file.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2654315"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3063794"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off enforcing mode without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Occasionally you may need to perform an action that is normally prevented by policy. Run the command <code class="command">setenforce 0</code> to turn off enforcing mode in real time. When you are finished, run <code class="command">setenforce 1</code> to turn enforcing back on.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654348"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3063827"><label>Q:</label><div class="data"><div class="para">
How do I turn system call auditing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Add <code class="option">audit=1</code> to your kernel command line to turn system call auditing on. Add <code class="option">audit=0</code> to your kernel command line to turn system call auditing off.
</div><div class="para">
System-call auditing is <span class="emphasis"><em>on</em></span> by default. When on, it provides information about the system call that was executing when SELinux generated a <code class="computeroutput">denied</code> message. The error message is helpful when debugging policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654394"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3063873"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off system-call auditing without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Run <code class="command">auditctl -e 0</code>. Note that this command does not affect auditing of SELinux AVC denials.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654421"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3063899"><label>Q:</label><div class="data"><div class="para">
How do I get status info about my SELinux installation?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
As root, execute the command <code class="command">/usr/sbin/sestatus -v</code>. For more information, refer to the <code class="filename">sestatus(8)</code> manual page.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654451"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3063929"><label>Q:</label><div class="data"><div class="para">
How do I write policy to allow a domain to use pam_unix.so?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Very few domains in the SELinux world are allowed to read the <code class="filename">/etc/shadow</code> file. There are constraint rules that prevent policy writers from writing code like
@@ -575,7 +575,7 @@
In Fedora and Red Hat Enterprise Linux 5 and above, add the rule
</div><pre class="screen">
<code class="command">auth_domtrans_chk_passwd(vsftpd_t)</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2654534"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3064013"><label>Q:</label><div class="data"><div class="para">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to execute the command <code class="command">semodule -i myapp.pp</code>. This modifies the policy that is stored on the machine. Your policy module now is loaded with the rest of the policy. You can even remove the pp file from the system.
@@ -585,63 +585,63 @@
<code class="computeroutput">#semodule -i myapp 1.2.1</code>
</pre><div class="para">
If you later would like to remove the policy package, you can execute <code class="command">semodule -r myapp</code>.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id2654596">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id3064075">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id2654634">
+ </a></dt><dt>Q: <a href="#id3064112">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id2654720">
+ </a></dt><dt>Q: <a href="#id3064199">
Why doesn't SELinux give me the full path in an error message?
- </a></dt><dt>Q: <a href="#id2654941">
+ </a></dt><dt>Q: <a href="#id3064419">
I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
- </a></dt><dt>Q: <a href="#id2655027">
+ </a></dt><dt>Q: <a href="#id3064506">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id2655078">
+ </a></dt><dt>Q: <a href="#id3064556">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id2655139">
+ </a></dt><dt>Q: <a href="#id3064618">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id2655229">
+ </a></dt><dt>Q: <a href="#id3064708">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id2655296">
+ </a></dt><dt>Q: <a href="#id3064764">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id2655357">
+ </a></dt><dt>Q: <a href="#id3064825">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id2655400">
+ </a></dt><dt>Q: <a href="#id3064868">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id2655508">
+ </a></dt><dt>Q: <a href="#id3064976">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id2655600">
+ </a></dt><dt>Q: <a href="#id3065068">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id2655688">
+ </a></dt><dt>Q: <a href="#id3065156">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id2655736">
+ </a></dt><dt>Q: <a href="#id3065204">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id2655793">
+ </a></dt><dt>Q: <a href="#id3065261">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id2655866">
+ </a></dt><dt>Q: <a href="#id3065334">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id2655896">
+ </a></dt><dt>Q: <a href="#id3065364">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id2655980">
+ </a></dt><dt>Q: <a href="#id3065448">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id2656051">
+ </a></dt><dt>Q: <a href="#id3065519">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id2656269">
+ </a></dt><dt>Q: <a href="#id3065738">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id2656337">
+ </a></dt><dt>Q: <a href="#id3065806">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id2656372">
+ </a></dt><dt>Q: <a href="#id3065841">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id2656426">
+ </a></dt><dt>Q: <a href="#id3065895">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id2656464">
+ </a></dt><dt>Q: <a href="#id3065932">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2654596"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3064075"><label>Q:</label><div class="data"><div class="para">
Where are SELinux AVC messages (denial logs, etc.) stored?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Messages can be found in <code class="filename">/var/log/messages</code> unless you choose to install and enable the <code class="systemitem">audit</code> daemon, in which case AVC messages will be in <code class="filename">/var/log/audit/audit.log</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654634"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064112"><label>Q:</label><div class="data"><div class="para">
My application isn't working as expected and I am seeing <code class="computeroutput">avc: denied</code> messages. How do I fix this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This message means that the current SELinux policy is not allowing the application to do something. There are a number of reasons this could happen.
@@ -651,7 +651,7 @@
Denials are sometimes due to a configuration change in the program that triggered the denial message. For example, if you change Apache to also listen on port 8800, you must also change the security policy, <code class="filename">apache.te</code>.
</div><div class="para">
If you are having trouble getting a specific application like Apache to work, refer to <a class="xref" href="#qa-using-s-c-securitylevel" title="Q:">How to use system-config-selinux</a> for information on disabling enforcement just for that application.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654720"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064199"><label>Q:</label><div class="data"><div class="para">
Why doesn't SELinux give me the full path in an error message?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
To answer this, let's first examine the structure of a typical SELinux AVC error message. Items of note in this example are in <code class="computeroutput">bold</code>:
@@ -684,7 +684,7 @@
<span class="package">setroubleshoot</span> then uses <code class="command">stat</code> to get the inode of of each file returned and compares it to the values in the AVC message; if they match, it analyzes the full path. Of course, you need to have the <span class="package">mlocate</span> package installed and running via <code class="systemitem">cron</code> to gather these paths.
</div><div class="para">
Refer to <a href="http://danwalsh.livejournal.com/34903.html">http://danwalsh.livejournal.com/34903.html</a> for further details on this topic.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2654941"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064419"><label>Q:</label><div class="data"><div class="para">
I installed on a system with a pre-existing <code class="filename">/home</code> partition, and now I can't log in. What do I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your <code class="filename">/home</code> partition is not labeled correctly. You can easily fix this two different ways.
@@ -698,11 +698,11 @@
<code class="command">/sbin/fixfiles relabel</code>
</pre><div class="para">
You must have the <code class="filename">policycoreutils</code> package installed to use <code class="command">fixfiles</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655027"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064506"><label>Q:</label><div class="data"><div class="para">
After relabeling my <code class="filename">/home</code> using <code class="command">setfiles</code> or <code class="command">fixfiles</code>, am I still be able to read <code class="filename">/home</code> with a non-SELinux-enabled system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can read the files from a non-SELinux distribution, or one with SELinux disabled. However, files created by a system not using SELinux systems do not have a security context, nor do any files you remove and recreate. This could be a challenge with files such as <code class="filename">~/.bashrc</code>. You may have to relabel <code class="filename">/home</code> when you reboot the SELinux enabled Fedora system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655078"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064556"><label>Q:</label><div class="data"><div class="para">
How do I share directories using NFS between Fedora and non-SELinux systems?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Just as NFS transparently supports many file system types, it can be used to share directories between SELinux and non-SELinux systems.
@@ -712,7 +712,7 @@
<code class="command">mount -t nfs -o context=system_u:object_r:tmp_t server:/shared/foo /mnt/foo</code>
</pre><div class="para">
When SELinux exports a file system via NFS, newly created files have the context of the directory they were created in. In other words, the presence of SELinux on the remote mounting system has no effect on the local security contexts.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655139"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064618"><label>Q:</label><div class="data"><div class="para">
How can I create a new Linux user account with the user's home?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can create your new user with the standard <code class="command">useradd</code> command. First you must become <code class="systemitem">root</code>.
@@ -727,13 +727,13 @@
<code class="computeroutput">drwx------ auser auser root:object_r:user_home_dir_t /home/auser</code>
</pre><div class="para">
The initial context for a new user directory has an identity of <code class="computeroutput">root</code>. Subsequent relabeling of the file system changes the identity to <code class="computeroutput">system_u</code>. These are functionally the same since the role and type are identical (<code class="computeroutput">object_r:user_home_dir_t</code>.)
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655229"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064708"><label>Q:</label><div class="data"><div class="para">
Does the <code class="command">su</code> command change my SELinux identity and role?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
- In older versions of Fedora, security context transitions were integrated into the <code class="command">su</code> via <code class="computeroutput">pam_selinux</code>. This turned out to be more trouble than it was worth, and is quite unnecessary on a system running targeted policy. So, this is no longer the case. Now, <code class="command">su</code>/<code class="command">sudo</code> only change the Linux identity. You will need to use <code class="command">newrole</code> to change the SELinux identity, role, or level.
+ The <code class="command">su</code> command performs full domain transitions and changes your role. This is easier than using the <code class="command">newrole</code> command as <code class="command">newrole</code> requires you to enter two passwords - one to identify as the user, and another to identify as root.
</div><div class="para">
- Other forms of Linux/<span class="trademark">UNIX</span>® identity change, for example <code class="command">setuid(2)</code>, also do not cause an SELinux identity change.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655296"><label>Q:</label><div class="data"><div class="para">
+ Other forms of Linux/<span class="trademark">UNIX</span>® identity change, for example <code class="command">setuid(2)</code>, do not cause an SELinux identity change.
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064764"><label>Q:</label><div class="data"><div class="para">
I'm having troubles with <code class="command">avc</code> errors filling my logs for a particular program. How do I choose not to audit the access for it?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you wanted to not audit <code class="command">dmesg</code>, for example, you would put this in your <code class="filename">dmesg.te</code> file:
@@ -741,13 +741,13 @@
<strong class="userinput"><code>dontaudit dmesg_t userdomain:fd { use };</code></strong>
</pre><div class="para">
This eliminates the error output to the terminal for all user domains, including <code class="varname">user</code>, <code class="varname">staff</code> and <code class="varname">sysadm</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655357"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064825"><label>Q:</label><div class="data"><div class="para">
Even running in permissive mode, I'm getting a large number of <code class="computeroutput">avc denied</code> messages.
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
In a non-enforcing mode, you should actually receive <span class="emphasis"><em>more</em></span> messages than in enforcing mode. The kernel logs each access denial as if you were in an enforcing mode. Since you are not restricted by policy enforcement, you can perform more actions, which results in more denials being logged.
</div><div class="para">
If an application running under an enforcing mode is denied access to read a number of files in a directory, it is stopped once at the beginning of the action. In a non-enforcing mode, the application is not stopped from traversing the directory tree, and generates a denial message for each file read in the directory.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655400"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3064868"><label>Q:</label><div class="data"><div class="para">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in <code class="filename">/var/log/messages</code> (or <code class="filename">/var/log/audit/audit.log</code> if using the audit daemon). How can I identify the cause of these silent denials?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The most common reason for a silent denial is when the policy contains an explicit <code class="computeroutput">dontaudit</code> rule to suppress audit messages. The <code class="computeroutput">dontaudit</code> rule is often used this way when a benign denial is filling the audit logs.
@@ -763,7 +763,7 @@
Once you have found your problem you can reset to the default mode by executing
</div><pre class="screen">
<code class="command">semodule -b /usr/share/selinux/targeted/base.pp</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655508"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3064976"><label>Q:</label><div class="data"><div class="para">
Why do I not see the output when I run certain daemons in debug or interactive mode?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux intentionally disables access to the tty devices to stop daemons from communicating back with the controlling terminal. This communication is a potential security hole because such daemons could insert commands into the controlling terminal. A broken or compromised program could use this hole to cause serious problems.
@@ -775,7 +775,7 @@
When debugging a daemon, you may want to turn off the transition of the daemon to its specific domain. You can do this using <code class="command">system-config-selinux</code> or <code class="command">setsebool</code> on the command line.
</div><div class="para">
A final option is to turn off enforcing mode while debugging. Issue the command <code class="command">setenforce 0</code> to turn off enforcing mode, and use the command <code class="command">setenforce 1</code> to re-enable SELinux when you are finished debugging.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655600"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065068"><label>Q:</label><div class="data"><div class="para">
When I do an upgrade of the policy package (for example, using <code class="command">yum</code>), what happens with the policy? Is it updated automatically?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Policy reloads itself when the package is updated. This behavior replaces the manual <code class="command">make load</code>.
@@ -791,25 +791,25 @@
Alternately, use the <code class="filename">/.autorelabel</code> mechanism:
</div><pre class="screen">
<code class="command">touch /.autorelabel reboot</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655688"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3065156"><label>Q:</label><div class="data"><div class="para">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Yes. The security contexts for the files owned by the package are stored in the header data for the package. The file contexts are set directly after the <code class="command">cpio</code> copy, as the package files are being put on the disk.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655736"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065204"><label>Q:</label><div class="data"><div class="para">
Why do binary policies distributed with Fedora, such as <code class="filename">/etc/selinux/<em class="replaceable"><code><policyname></code></em>/policy/policy.<em class="replaceable"><code><version></code></em></code>, and those I compile myself have different sizes and MD5 checksums?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
When you install a policy package, pre-compiled binary policy files are put directly into <code class="filename">/etc/selinux</code>. The different build environments will make target files that have different sizes and MD5 checksums.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655793"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065261"><label>Q:</label><div class="data"><div class="para">
Will new policy packages disable my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is a possibility that changes in the policy package or in the policy shipping with an application package can cause errors, more denials, or other unknown behaviors. You can discover which package caused the breakage by reverting policy and application packages one at a time. If you don't want to return to the previous package, the older version of the configuration files will be saved with the extension <code class="filename">.rpmsave</code>. Use the mailing lists, bugzilla, and IRC to help you work through your problem. If you are able, write or fix policy to resolve your problem.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655866"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065334"><label>Q:</label><div class="data"><div class="para">
My console is being flooded with messages. How do I turn them off?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
To regain useful control, turn off kernel messages to the console with this command:
</div><pre class="screen">
<code class="command">dmesg -n 1</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655896"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3065364"><label>Q:</label><div class="data"><div class="para">
Can I test the default policy without installing the policy source?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can test SELinux default policy by installing just the <code class="filename">selinux-policy-<em class="replaceable"><code>policyname</code></em></code> and <code class="filename">policycoreutils</code> packages. Without the policy source installed, the <code class="command">fixfiles</code> command automates the file system relabeling.
@@ -817,7 +817,7 @@
The command <code class="command">fixfiles relabel</code> is the equivalent of <code class="command">make relabel</code>. During the relabeling, it will delete all of the files in <code class="filename">/tmp</code>, cleaning up files which may have old file context labels.
</div><div class="para">
Other commands are <code class="command">fixfiles check</code>, which checks for mislabeled files, and <code class="command">fixfiles restore</code>, which fixes the mislabeled files but does not delete the files in <code class="filename">/tmp</code>. The <code class="command">fixfiles</code> command does not take a list of directories as an argument, because it relabels the entire file system. If you need to relabel a specific directory path, use <code class="command">restorecon</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2655980"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065448"><label>Q:</label><div class="data"><div class="para">
Why are some of my KDE applications having trouble under SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
KDE executables always appear as <code class="command">kdeinit</code>, which limits what can be done with SELinux policy. This is because every KDE application runs in the domain for <code class="command">kdeinit</code>.
@@ -829,7 +829,7 @@
<code class="command">rm -rf /var/tmp/kdecache-<em class="replaceable"><code><username></code></em> rm -rf /var/tmp/<em class="replaceable"><code><other_kde_files></code></em></code>
</pre><div class="para">
At your next login, your problem should be fixed.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656051"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065519"><label>Q:</label><div class="data"><div class="para">
Why does <code class="option">SELINUX=disabled</code> not work for me?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Be careful of white space in the file <code class="filename">/etc/sysconfig/selinux</code>. The code is very sensitive to white space, even trailing space.
@@ -857,7 +857,7 @@
A boolean for each one of these memory check errors have been provided. So if you need to run an application requiring either of these permissions, you can set the boolean allow_exec* to fix the problem. For instance if you try to run an application and you get an AVC message containing an <code class="computeroutput">execstack</code> failure. You can set the Boolean with:
</div><pre class="screen">
<code class="command">setsebool -P allow_execstack=1</code>
-</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id2656269"><label>Q:</label><div class="data"><div class="para">
+</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3065738"><label>Q:</label><div class="data"><div class="para">
What do these rpm errors mean?
</div></div></div><div class="answer"><label>A:</label><div class="data"><pre class="screen">
restorecon reset /etc/modprobe.conf context system_u:object_r:etc_runtime_t->system_u:object_r:modules_conf_t
@@ -868,25 +868,25 @@
<code class="computeroutput">libsepol.sepol_genbools_array: boolean hidd_disable_trans no longer in policy</code>
</pre><div class="para">
This indicates that the updated policy has removed the boolean from policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656337"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065806"><label>Q:</label><div class="data"><div class="para">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can use the <code class="command">semanage</code> command to define additional ports. So say you want httpd to be able to listen on port 8082. You could enter the command.
</div><pre class="screen">
<code class="command">semanage port -a -p tcp -t http_port_t 8082</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2656372"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3065841"><label>Q:</label><div class="data"><div class="para">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
First, you should never allow a system service to execute anything it can write. This gives an attacker the ability to upload malicious code to the server and then execute it, which is something we want to prevent.
</div><div class="para">
If you merely need to allow your script to create (non-executable) files, this is possible. That said, you should avoid having system applications writing to the <code class="filename">/tmp</code> directory, since users tend to use the <code class="filename">/tmp</code> directory also. It would be better to create a directory elsewhere which could be owned by the apache process and allow your script to write to it. You should label the directory <code class="computeroutput">httpd_sys_script_rw_t</code>, which will allow apache to read and write files to that directory. This directory could be located anywhere that apache can get to (even <code class="filename">$HOME/public_html/</code>).
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656426"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3065895"><label>Q:</label><div class="data"><div class="para">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to identify the swapfile to SELinux by setting its file context to <code class="computeroutput">swapfile_t</code>.
</div><pre class="screen">
<code class="command">chcon -t swapfile_t <em class="replaceable"><code>SWAPFILE</code></em></code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2656464"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3065932"><label>Q:</label><div class="data"><div class="para">
Please explain the <code class="computeroutput">relabelto</code>/<code class="computeroutput">relabelfrom</code> permissions?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
For files, <code class="computeroutput">relabelfrom</code> means "Can domain D relabel a file from (i.e. currently in) type T1?" and <code class="computeroutput">relabelto</code> means "Can domain D relabel a file to type T2?", so both checks are applied upon a file relabeling, where T1 is the original type of the type and T2 is the new type specified by the program.
@@ -898,25 +898,25 @@
Implementing SELinux as an LSM technical report (describes permission checks on a per-hook basis) <a href="http://www.nsa.gov/selinux/papers/module-abs.cfm">http://www.nsa.gov/selinux/papers/module-abs.cfm</a>. This is also available in the selinux-doc package (and more up-to-date there).
</div></li><li class="listitem"><div class="para">
Integrating Flexible Support for Security Policies into the Linux Operating System - technical report (describes original design and implementation, including summary tables of classes, permissions, and what permission checks are applied to what system calls. It is not entirely up-to-date with current implementation, but a good resource nonetheless). <a href="http://www.nsa.gov/selinux/papers/slinux-abs.cfm">http://www.nsa.gov/selinux/papers/slinux-abs.cfm</a>
- </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id2656572">
+ </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3066041">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id2656605">
+ </a></dt><dt>Q: <a href="#id3066074">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id2656639">
+ </a></dt><dt>Q: <a href="#id3066108">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id2656689">
+ </a></dt><dt>Q: <a href="#id3066158">
How does SELinux affect third-party applications?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2656572"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3066041"><label>Q:</label><div class="data"><div class="para">
What file systems can I use for SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The file system must support <code class="computeroutput">xattr</code> labels in the right <em class="parameter"><code>security.*</code></em> namespace. In addition to ext2/ext3/ext4, XFS has recently added support for the necessary labels.
</div><div class="para">
Note that XFS SELinux support was broken in the upstream Linux kernel versions 2.6.14 and 2.6.15, but fixed (worked around) in version 2.6.16. Your kernel must be of this version or later if you choose to use XFS with SELinux.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656605"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3066074"><label>Q:</label><div class="data"><div class="para">
How does SELinux impact system performance?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This is a metric that is hard to measure, and is heavily dependent on the tuning and usage of the system running SELinux. When performance was last measured, the impact was around 7% for completely untuned code. Subsequent changes in system components such as networking are likely to have made that worse in some cases. SELinux performance tuning continues to be a priority of the development team.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656639"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3066108"><label>Q:</label><div class="data"><div class="para">
What types of deployments, applications, and systems should I leverage SELinux in?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Initially, SELinux has been used on Internet facing servers that are performing a few specialized functions, where it is critical to keep extremely tight security. Administrators typically strip such a box of all extra software and services, and run a very small, focused set of services. A Web server or mail server is a good example.
@@ -924,7 +924,7 @@
In these edge servers, you can lock down the policy very tightly. The smaller number of interactions with other components makes such a lock down easier. A dedicated system running a specialized third-party application would also be a good candidate.
</div><div class="para">
In the future, SELinux will be targeted at all environments. In order to achieve this goal, the community and <em class="firstterm">independent software vendors</em> (<abbr class="abbrev">ISV</abbr>s) must work with the SELinux developers to produce the necessary policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2656689"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3066158"><label>Q:</label><div class="data"><div class="para">
How does SELinux affect third-party applications?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
One goal of implementing a targeted SELinux policy in Fedora is to allow third-party applications to work without modification. The targeted policy is transparent to those unaddressed applications, and it falls back on standard Linux DAC security. These applications, however, will not be running in an extra-secure manner. You or another provider must write policy to protect these applications with MAC security.
14 years, 1 month
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 473 +++++++++++++++++++++++++++++++--------------------------------
1 file changed, 239 insertions(+), 234 deletions(-)
New commits:
commit 7ea0c516d4c23e34cf866b3382edb3138d7e8a6e
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Fri Jan 22 05:28:34 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index f06ed58..2765302 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,9 +8,9 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-21 16:49+1100\n"
+"PO-Revision-Date: 2010-01-22 16:27+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
-"Language-Team: Russian\n"
+"Language-Team: Russian <fedora-trans-ru(a)redhat.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -9034,10 +9034,9 @@ msgid ""
"sure how you want your system to be partitioned, read <xref linkend=\"ch-"
"partitions-x86\"/> for more information."
msgstr ""
-"Разбиение диска позволяет разделить его на изолированные разделы, при этом "
-"каждый раздел подобен отдельному жесткому диску. Особенно такое разбиение "
-"важно, если вы работаете в нескольких операционных системах. <xref linkend="
-"\"ch-partitions-x86\"/> содержит подробную информацию о создании разделов."
+"Разбиение диска позволяет разделить его на изолированные разделы, при "
+"этом каждый раздел подобен отдельному жесткому диску. Особенно такое разбиение важно, если вы работаете в нескольких операционных системах. "
+"<xref linkend=\"ch-partitions-x86\"/> содержит подробную информацию о создании разделов."
#. Tag: para
#: Disk_Partitioning_Setup-x86.xml:26
@@ -9048,9 +9047,8 @@ msgid ""
"button. For more information refer to <xref linkend=\"s1-advanced-storage-x86"
"\"/>."
msgstr ""
-"Для выполнения установки можно настроить цель iSCSI или отключить устройство "
-"dmraid, нажав кнопку «Дополнительная настройка накопителей». <xref linkend="
-"\"s1-advanced-storage-ppc\" /> содержит дальнейшую информацию."
+"Для выполнения установки можно настроить цель iSCSI или отключить устройство dmraid, нажав кнопку «Дополнительная "
+"настройка накопителей». <xref linkend=\"s1-advanced-storage-ppc\" /> содержит дальнейшую информацию."
# If you chose to manually partition using <application>Disk Druid</application>, refer to <xref linkend="s1-diskpartitioning">.
#. Tag: para
@@ -9171,8 +9169,8 @@ msgid ""
"> for more information."
msgstr ""
"Наличие нескольких небольших разделов вместо одного большого корневого "
-"раздела (<filename class=\"partition\">/</filename>) облегчит обновление "
-"системы в будущем (см. <xref linkend=\"s2-diskpartitioning-dd-x86\"/>)."
+"раздела (<filename class=\"partition\">/</filename>) облегчит обновление системы в будущем "
+"(см. <xref linkend=\"s2-diskpartitioning-dd-x86\"/>)."
#. Tag: para
#: Disk_Partitioning_X86_Partitions.xml:77
@@ -9329,8 +9327,8 @@ msgid ""
msgstr ""
"Если вы еще не решили, как создать свои разделы, просмотрите <xref linkend="
"\"ch-partitions-x86\"/> и <xref linkend=\"s2-diskpartrecommend-x86\"/>. Как "
-"минимум понадобится корневой раздел root соответствующего размера и раздел "
-"swap, равный по размеру удвоенному объему памяти вашего компьютера. "
+"минимум понадобится корневой раздел root соответствующего размера и "
+"раздел swap, равный по размеру удвоенному объему памяти вашего компьютера. "
"Пользователям компьютеров Itanium понадобится раздел <filename>/boot/efi/</"
"filename>, имеющий объем примерно 100 МБ и тип FAT (VFAT), раздел swap "
"(минимум 512 МБ) и корневой раздел (<filename>/</filename>) соответствующего "
@@ -10804,13 +10802,13 @@ msgid ""
"Note that NFS installations may also be performed in GUI mode."
msgstr ""
"Вы можете воспользоваться этим методом при выполнении установки с NFS-"
-"сервера с использованием ISO-образов или зеркального образа Fedora. "
-"Потребуется загрузочный диск (используйте параметр загрузки <command>linux "
-"askmethod</command> или <command>linux repo=nfs:<replaceable>сервер</"
-"replaceable> <replaceable>:параметры</replaceable>:/<replaceable>путь</"
-"replaceable></command>). <xref linkend=\"s1-begininstall-nfs-x86\"/> "
-"содержит инструкции по сетевой установке. Стоит заметить, что NFS установка "
-"может также выполняться в графическом режиме."
+"сервера с использованием ISO-образов или зеркального образа Fedora. Потребуется "
+"загрузочный диск (используйте параметр загрузки <command>linux askmethod</"
+"command> или <command>linux repo=nfs:<replaceable>сервер</replaceable> "
+"<replaceable>:параметры</replaceable>:/<replaceable>путь</replaceable></"
+"command>). <xref linkend=\"s1-begininstall-nfs-x86\"/> содержит инструкции "
+"по сетевой установке. Стоит заметить, что NFS установка может также "
+"выполняться в графическом режиме."
# EXACT MATCH
#. Tag: term
@@ -11775,9 +11773,9 @@ msgstr ""
"<emphasis>Этап 1.5. Загрузчик первого этапа считывает загрузчик этапа 1.5 в "
"память.</emphasis> Этот промежуточный этап необходим для некоторых типов "
"оборудования, а также в случае, если границы раздела <filename>/boot/</"
-"filename> уходят за 1024 цилиндр или используется режим LBA. Загрузчик этапа "
-"1.5 обычно расположен либо полностью в разделе <filename>/boot/</filename>, "
-"либо в MBR и <filename>/boot/</filename>."
+"filename> уходят за 1024 цилиндр или используется режим LBA. Загрузчик "
+"этапа 1.5 обычно расположен либо полностью в разделе <filename>/boot/</"
+"filename>, либо в MBR и <filename>/boot/</filename>."
#. Tag: para
#: Grub.xml:220
@@ -12214,9 +12212,9 @@ msgid ""
"specifies the MBR on the fourth device."
msgstr ""
"Чтобы определить целое устройство без учета разделов, опустите указание "
-"номера раздела. Это особенно важно, если нужно настроить MBR на заданном "
-"диске. Например, <command>(hd0)</command> задает MBR на первом устройстве, а "
-"<command>(hd3)</command> — на четвертом."
+"номера раздела. Это особенно важно, если нужно настроить MBR на "
+"заданном диске. Например, <command>(hd0)</command> задает MBR на первом "
+"устройстве, а <command>(hd3)</command> — на четвертом."
#. Tag: para
#: Grub.xml:406
@@ -12349,9 +12347,9 @@ msgid ""
msgstr ""
"Понимание структуры списков блоков может пригодиться при настройке GRUB для "
"загрузки операционных систем, требующих последовательной загрузки. Указание "
-"начального блока может быть опущено, если участок начинается с нулевого "
-"блока. Например, файл последовательной загрузки первого раздела первого "
-"диска будет описан так:"
+"начального блока может быть опущено, если участок начинается с нулевого блока. Например, "
+"файл последовательной загрузки первого раздела первого диска будет описан "
+"так:"
# <command>dd</command>
#. Tag: screen
@@ -12565,9 +12563,7 @@ msgstr ""
msgid ""
"Refer to <xref linkend=\"s1-grub-configfile\"/> for more information on "
"configuring this interface."
-msgstr ""
-"<xref linkend=\"s1-grub-configfile\"/> содержит дополнительную информацию о "
-"настройке этого интерфейса."
+msgstr "<xref linkend=\"s1-grub-configfile\"/> содержит дополнительную информацию о настройке этого интерфейса."
#. Tag: emphasis
#: Grub.xml:552
@@ -12587,9 +12583,9 @@ msgid ""
"one (<keycap>e</keycap>), or deleting one (<keycap>d</keycap>)."
msgstr ""
"Для доступа к редактору нажмите <keycap>e</keycap> в меню загрузчика. Будут "
-"показаны команды GRUB, которые можно изменить путем добавления новой "
-"командной строки (нажмите <keycap>o</keycap> для вставки новой строки после "
-"текущей или <keycap>O</keycap> для вставки перед текущей строкой), "
+"показаны команды GRUB, которые можно изменить путем добавления "
+"новой командной строки (нажмите <keycap>o</keycap> для вставки новой строки "
+"после текущей или <keycap>O</keycap> для вставки перед текущей строкой), "
"редактирования (<keycap>e</keycap>) или удаления строки (<keycap>d</keycap>)."
#. Tag: para
@@ -12613,9 +12609,7 @@ msgstr ""
msgid ""
"For information about changing runlevels using the GRUB menu entry editor, "
"refer to <xref linkend=\"s1-grub-runlevels\"/>."
-msgstr ""
-"<xref linkend=\"s1-grub-runlevels\"/> содержит информацию об изменении "
-"уровней выполнения с помощью меню редактора GRUB."
+msgstr "<xref linkend=\"s1-grub-runlevels\"/> содержит информацию об изменении уровней выполнения с помощью меню редактора GRUB."
#. Tag: emphasis
#: Grub.xml:573
@@ -12831,9 +12825,9 @@ msgid ""
"Installs GRUB to the system MBR."
msgstr ""
"<command>install <replaceable><стадия-1></replaceable> "
-"<replaceable><диск></replaceable> <replaceable><стадия-2></"
-"replaceable> <option>p</option> <replaceable>файл</replaceable></command> "
-"— устанавливает GRUB в MBR."
+"<replaceable><диск></replaceable> <replaceable><стадия-2>"
+"</replaceable> <option>p</option> <replaceable>файл</replaceable></"
+"command> — устанавливает GRUB в MBR."
#. Tag: para
#: Grub.xml:667
@@ -12884,8 +12878,7 @@ msgid ""
msgstr ""
"<option>p</option> <command><replaceable><config-file></replaceable></"
"command> — указывает команде <command>install</command> выполнить "
-"поиск файла конфигурации меню, например, <command>(hd0,0)/grub/grub.conf</"
-"command>."
+"поиск файла конфигурации меню, например, <command>(hd0,0)/grub/grub.conf</command>."
#. Tag: para
#: Grub.xml:695
@@ -13037,9 +13030,8 @@ msgid ""
msgstr ""
"Файл конфигурации (<filename>/boot/grub/grub.conf</filename>), используемый "
"для создания списка доступных для загрузки операционных систем, позволяет "
-"выбрать определенную заранее группу команд. <xref linkend=\"s1-grub-commands"
-"\"/> содержит описание некоторых команд. Также могут использоваться "
-"специальные команды."
+"выбрать определенную заранее группу команд. <xref linkend=\"s1-grub-commands\"/> содержит описание некоторых команд. Также могут "
+"использоваться специальные команды."
#. Tag: title
#: Grub.xml:754
@@ -13154,8 +13146,8 @@ msgid ""
"example, change the <command>default=0</command> to <command>default=1</"
"command>."
msgstr ""
-"Обратите внимание, что целое значение переменной default относится к первой "
-"строке <command>title</command> файла конфигурации. Чтобы установить "
+"Обратите внимание, что целое значение переменной default относится к первой строке "
+"<command>title</command> файла конфигурации. Чтобы установить "
"<command>Windows</command> в качестве системы по умолчанию, надо изменить "
"<command>default=0</command> на <command>default=1</command>."
@@ -13502,8 +13494,8 @@ msgid ""
"To change the runlevel of a single boot session, use the following "
"instructions:"
msgstr ""
-"Чтобы изменить уровень выполнения на время сеанса, следуйте следующим "
-"инструкциям:"
+"Чтобы изменить уровень выполнения на время сеанса, следуйте "
+"следующим инструкциям:"
#. Tag: para
#: Grub.xml:960
@@ -14214,13 +14206,13 @@ msgstr ""
"Interface) позволяет компьютеру взаимодействовать с устройствами хранения за "
"счет обмена запросами и ответами SCSI по TCP/IP. Так как в основу iSCSI "
"положены стандартные протоколы SCSI, он использует терминологию SCSI. "
-"Устройство на шине SCSI, которому направляются запросы и которое на них "
+"Устройство на шине SCSI, к которому направляются запросы и которое на них "
"отвечает, называется <firstterm>целью</firstterm>. Устройство, отправляющее "
"запросы, называется <firstterm>инициатором</firstterm>. Другими словами, "
"диск iSCSI представляет собой цель, а программный аналог SCSI-контроллера "
"или адаптера HBA представляет собой инициатор. В этом приложении "
-"рассматривается роль Linux только в качестве инициатора, то есть будет рассмотрено как Linux "
-"использует диски iSCSI, а не обслуживает и предоставляет доступ к "
+"рассматривается роль Linux только в качестве инициатора: как Linux "
+"использует диски iSCSI, а не как Linux обслуживает и предоставляет доступ к "
"дискам iSCSI."
#. Tag: para
@@ -14343,7 +14335,7 @@ msgstr ""
"application> копирует базу данных в устанавливаемую систему и отмечает все "
"цели iSCSI, которые не используются для <filename>/</filename> так, чтобы "
"система могла автоматически авторизоваться на них. Если <filename>/</"
-"filename> размещается в цели iSCSI, <application>initrd</application> "
+"filename> размещается на цели iSCSI, <application>initrd</application> "
"авторизуется в этой цели, а <application>anaconda</application> не будет "
"включать эту цель в сценарии запуска с целью избежания одновременных попыток "
"авторизации в одной и той же цели."
@@ -14362,7 +14354,7 @@ msgid ""
msgstr ""
"Если <filename>/</filename> размещается на цели iSCSI, "
"<application>anaconda</application> заставит <application>NetworkManager</"
-"application> игнорировать любые активные в процессе установки сетевые "
+"application> игнорировать любые активные в процессе установке сетевые "
"интерфейсы. <application>initrd</application> настраивает такие интерфейсы "
"при запуске системы. Их повторная настройка приложением "
"<application>NetworkManager</application> привела бы к потере соединения "
@@ -14406,11 +14398,11 @@ msgid ""
"any iSCSI targets are used for <filename>/</filename>, or if any targets in "
"the iSCSI database are marked to be logged in to automatically."
msgstr ""
-"После монтирования корневой файловой системы и запуска сценариев "
-"инициализации будет запущен сценарий, который вызовет <application>iscsid</"
-"application> в случае, если есть цели iSCSI, используемые для <filename>/</filename>, "
+"После монтирования корневой файловой системы и запуска различных сценариев "
+"инициализации будет вызван сценарий, который вызовет <application>iscsid</"
+"application> (если есть цели iSCSI, используемые для <filename>/</filename>, "
"или в базе данных iSCSI задана автоматическая авторизация для каких-либо "
-"целей."
+"целей)."
#. Tag: para
#: iSCSI.xml:48
@@ -14450,7 +14442,7 @@ msgid ""
msgstr ""
"Так как <application>NetworkManager</application> установлен в <filename>/"
"usr</filename>, с его помощью нельзя настроить сетевой доступ, если "
-"<filename>/usr</filename> расположен в подключенной к сети цели iSCSI."
+"<filename>/usr</filename> расположен на подключенной к сети цели iSCSI."
#. Tag: para
#: iSCSI.xml:58
@@ -14461,7 +14453,7 @@ msgid ""
"application>, <application>iscsiadm</application> will start "
"<application>iscsid</application> in turn."
msgstr ""
-"<application>iscsid</application> не будет запускаться, если в этом нет "
+"<application>iscsid</application> не будет запускаться, если в нем нет "
"необходимости. Если же вы запустили приложение <application>iscsiadm</"
"application>, оно запустит <application>iscsid</application>."
@@ -14474,8 +14466,8 @@ msgid ""
"for the keyboard you would prefer to use for the installation and as the "
"system default (refer to the figure below)."
msgstr ""
-"Выберите раскладку клавиатуры (например, Russian), которую вы "
-"хотите использовать для установки и назначить в системе по умолчанию (см. "
+"С помощью мыши выберите раскладку клавиатуры (например, Russian), которую вы "
+"желаете использовать для установки и назначить в системе по умолчанию (см. "
"рисунок)."
# Keyboard configuration screen.
@@ -14505,7 +14497,7 @@ msgstr ""
"Например, большинство европейских языков будут включать вариант раскладки "
"<literal>latin1</literal>, что позволяет использовать некоторые клавиши для "
"ввода нестандартных символов. Так, чтобы ввести <literal>é</literal>, надо "
-"нажать и отпустить клавишу <keycap>'</keycap>, а затем <literal>E</"
+"будет нажать и отпустить клавишу <keycap>'</keycap>, а затем <literal>E</"
"literal>. На других же раскладках этот символ можно ввести нажав комбинацию "
"клавиш (например, <keycap>Alt-Gr</keycap>) и <literal>E</literal>. Третьи "
"раскладки вообще могут иметь эту букву по умолчанию."
@@ -14782,7 +14774,7 @@ msgid ""
"The section order is:"
msgstr ""
"Секции файла должны быть строго <emphasis>упорядочены</emphasis>. Элементы "
-"внутри секций могут быть в любом порядке. Порядок секций следующий: "
+"внутри секций могут быть в любом порядке. Порядок секций следующий:"
#. Tag: para
#: Kickstart2.xml:100
@@ -14938,7 +14930,7 @@ msgid ""
"arguments for the command."
msgstr ""
"Если за параметром указан знак равенства (=), после него должно быть указано "
-"значение. В приведенных примерах команд параметры в скобках ([ ]) "
+"значение. В приведенных примерах команд параметры, указанные в скобках ([ ]) "
"являются необязательными."
# <command>updates</command>
@@ -15027,7 +15019,9 @@ msgstr ""
msgid ""
"The <literal>ignoredisk</literal> option is also useful if you have multiple "
"paths to your disks."
-msgstr "Параметр <literal>ignoredisk</literal> может пригодиться при наличии нескольких путей к дискам."
+msgstr ""
+"Параметр <literal>ignoredisk</literal> может пригодиться в случае, если "
+"существует несколько путей к дискам."
#. Tag: para
#: Kickstart2.xml:259
@@ -15248,7 +15242,8 @@ msgid ""
"passwords to an LDAP server before authentication."
msgstr ""
"<command>--enableldaptls</command> — разрешает использовать при "
-"обращении к серверу протокол TLS (Transport Layer Security). Этот параметр позволяет передавать зашифрованные "
+"обращении к серверу протокол безопасности на транспортном уровне (TLS, "
+"Transport Layer Security). Этот параметр позволяет передавать зашифрованные "
"имена пользователей и пароли серверу LDAP до их аутентификации."
#. Tag: para
@@ -15303,8 +15298,8 @@ msgid ""
msgstr ""
"<command>--krb5adminserver=</command> — сервер KDC в вашей области, "
"также выполняющий процесс kadmind. Этот сервер обрабатывает смену паролей и "
-"другие административные запросы. Если есть несколько таких серверов, процесс должен быть запущен на главном "
-"сервере KDC."
+"другие административные запросы. Процесс должен быть запущен на главном "
+"сервере KDC, если у вас несколько таких серверов."
#. Tag: para
#: Kickstart2.xml:403
@@ -15628,8 +15623,8 @@ msgid ""
"installation program does not ask if it should initialize the disk label if "
"installing to a brand new hard drive."
msgstr ""
-"<command>--initlabel</command> — задает метку диска, которая используется по "
-"умолчанию для заданной архитектуры (например, <command>msdos</"
+"<command>--initlabel</command> — задает метку диска, как принято по "
+"умолчанию в архитектуре вашего компьютера (например, <command>msdos</"
"command> для x86 и <command>gpt</command> для Itanium). Может применяться "
"для того, чтобы программа установки не запрашивала, инициализировать ли "
"метку диска при установке на совершенно новый жесткий диск."
@@ -15671,9 +15666,9 @@ msgid ""
"Any prompts for interaction halts the install. This mode is useful on IBM "
"System z systems with the x3270 console."
msgstr ""
-"Выполняет установку в неинтерактивном режиме командной строки. "
+"Выполняет установку в полностью неинтерактивном режиме командной строки. "
"Любой запрос взаимодействия приводит к прекращению установки. Этот режим "
-"может использоваться для платформ System z с консолью x3270."
+"полезен для платформ System z с консолью x3270."
# <command>vnc</command>
#. Tag: term
@@ -15700,7 +15695,7 @@ msgid ""
"modules, is in this format:"
msgstr ""
"В большинстве компьютеров с шиной PCI программа установки автоматически "
-"определяет Ethernet и SCSI-платы. На старых компьютерах и в "
+"корректно определяет Ethernet и SCSI-платы. На старых компьютерах и в "
"некоторых конфигурациях PCI, тем не менее, кикстарт-установке потребуется "
"помощь при определении соответствующих устройств. Команда <command>device</"
"command>, указывающая программе установки подключить дополнительные модули, "
@@ -15726,7 +15721,7 @@ msgid ""
"<command>scsi</command> or <command>eth</command>."
msgstr ""
"<replaceable><тип></replaceable> — может принимать значения "
-"<command>scsi</command> и <command>eth</command>"
+"<command>scsi</command> или <command>eth</command>"
#. Tag: para
#: Kickstart2.xml:624
@@ -16039,7 +16034,7 @@ msgid ""
"zone, and networking configuration options in addition to the default ones."
msgstr ""
"<command>--reconfig</command> — разрешает запуск "
-"<application>помощника по настройке</application> в режиме перенастройки. "
+"<application>Помощника по настройке</application> в режиме перенастройки. "
"Помимо стандартных параметров конфигурации, этот режим позволяет изменить "
"настройки мыши, клавиатуры, языковые параметры, пароль root, уровень "
"безопасности, часовой пояс и настройки сети."
@@ -16068,9 +16063,9 @@ msgid ""
"command> option is used as default."
msgstr ""
"Останавливает систему после успешного завершения установки. Это похоже на "
-"ручную установку, когда Anaconda выводит сообщение и ждет, пока "
-"пользователь не нажмет клавишу, и только затем перезагружает компьютер. Если "
-"при кикстарт-установке не указано завершающее действие, по умолчанию выбирается "
+"установку вручную, когда Anaconda выводит сообщение и ждет, пока "
+"пользователь не нажмет клавишу, и только затем перегружает компьютер. Если "
+"при кикстарт-установке не указан метод завершения, по умолчанию выбирается "
"режим <command>reboot</command>."
#. Tag: para
@@ -16140,7 +16135,7 @@ msgid ""
msgstr ""
"Определяет, что выполняется установка новой системы, а не обновление "
"существующей. Этот параметр установлен по умолчанию. Для установки вы должны "
-"указать тип установки: <command>cdrom</command>, <command>harddrive</"
+"указать тип установки: с <command>cdrom</command>, <command>harddrive</"
"command>, <command>nfs</command> или <command>url</command> (для установок "
"по FTP ил HTTP). Команда <command>install</command> и команда метода "
"установки должны располагаться на разных строках."
@@ -16159,7 +16154,7 @@ msgid ""
"<command>cdrom</command> — Install from the first CD-ROM drive on the "
"system."
msgstr ""
-"<command>cdrom</command> — устаналивает систему из первого привода CD-"
+"<command>cdrom</command> — устаналивает систему с первого привода CD-"
"ROM."
#. Tag: para
@@ -16257,7 +16252,7 @@ msgstr "--opts="
#, no-c-format
msgid "Mount options to use for mounting the NFS export. (optional)"
msgstr ""
-"Параметры подключения, используемые при монтировании экспортируемого ресурса NFS "
+"Параметры подключения, используемые при монтировании экспорта NFS "
"(необязательны)"
#. Tag: screen
@@ -16328,7 +16323,7 @@ msgstr ""
"Использует во время установки информацию, определенную в файле кикстарта, но "
"допускает проверку и изменение заданных значений. В каждом диалоге программы "
"установки вы будете наблюдать значения, полученные из файла кикстарта. Вы "
-"можете либо принять эти значения, нажав <guibutton>Далее</"
+"можете либо согласиться с этими значениями, нажав <guibutton>Далее</"
"guibutton>, либо изменить их и нажать <guibutton>Далее</guibutton> для "
"продолжения. Обратитесь к описанию команды <command>autostep</command>."
@@ -16516,8 +16511,8 @@ msgid ""
msgstr ""
"Некоторые языки, в частности, китайский, японский, корейский и языки "
"индийской группы, не поддерживаются текстовой установкой. Если один из "
-"перечисленных языков задан с помощью команды «lang», то установка будет "
-"продолжена на английском несмотря на то, что указанный язык будет "
+"перечисленных языков задан с помощью команды \"lang\", то установка будет "
+"продолжена на английском, несмотря на то, что указанный язык будет "
"использоваться позднее в качестве языка системы."
# <command>noht</command>
@@ -16525,7 +16520,7 @@ msgstr ""
#: Kickstart2.xml:1127
#, no-c-format
msgid "<command>langsupport</command> (deprecated)"
-msgstr "<command>langsupport</command> (устаревший)"
+msgstr "<command>langsupport</command> (устаревшее)"
#. Tag: command
#: Kickstart2.xml:1130
@@ -16966,7 +16961,7 @@ msgid ""
"use DHCP:"
msgstr ""
"В режиме DHCP для получения сетевой конфигурации используется DHCP-сервер. "
-"Как можно догадаться, в случае с BOOTP для получения сетевых настроек "
+"Как вы могли догадаться, в случае с BOOTP для получения сетевых настроек "
"подобным образом используется сервер BOOTP. Чтобы настроить компьютер на "
"использование DHCP, укажите:"
@@ -17005,10 +17000,10 @@ msgid ""
"information on one line. You must specify the IP address, netmask, gateway, "
"and nameserver."
msgstr ""
-"В случае статической конфигурации в файле кикстарта "
-"потребуется определить все необходимые сетевые параметры. Как и следует из имени, эти параметры "
+"В случае статической конфигурации потребуется определить в файле кикстарта "
+"все необходимые сетевые параметры. Как и следует из имени, эти параметры "
"являются статическими и используются как во время, так и после установки. "
-"Строка статической настройки выглядит более сложной, так как все сетевые "
+"Строка для статической настройки выглядит более сложной, так как все сетевые "
"параметры должны быть указаны в одной строке. Необходимо указать IP-адрес, "
"маску сети, шлюз и сервер имен."
@@ -17021,7 +17016,7 @@ msgid ""
"a single line with no break."
msgstr ""
"В этом примере строка разбита на две исключительно для удобства "
-"представления; в действительности вся информация должна помещаться в одной "
+"представления; в действительности вся информация должна помещаться на одной "
"строке:"
#. Tag: screen
@@ -17261,7 +17256,9 @@ msgstr ""
msgid ""
"For a detailed example of <command>part</command> in action, refer to <xref "
"linkend=\"s2-kickstart2-options-part-examples\"/>."
-msgstr "<xref linkend=\"s2-kickstart2-options-part-examples\"/> содержит подробный пример использования <command>part</command>."
+msgstr ""
+"Подробный пример действия <command>part</command> может быть найден в <xref "
+"linkend=\"s2-kickstart2-options-part-examples\"/>."
# Where <replaceable><n></replaceable> is one of the following:
#. Tag: para
@@ -17609,7 +17606,7 @@ msgid ""
"kickstart installation, if no completion method is specified, the "
"<command>reboot</command> option is used as default."
msgstr ""
-"После установки завершает работу системы и выключает компьютер. "
+"После установки завершает работу системы и отключает питание компьютера. "
"Обычно при установке вручную Anaconda выводит на экран сообщение и ждет "
"нажатия клавиши для перезагрузки. Если при кикстарт-установке не указан "
"метод завершения, по умолчанию выбирается режим <command>reboot</command>."
@@ -17677,7 +17674,7 @@ msgstr "<command>raid</command> (необязательный)"
#: Kickstart2.xml:1778
#, no-c-format
msgid "Assembles a software RAID device. This command is of the form:"
-msgstr "Собирает программное RAID-устройство. Формат:"
+msgstr "Собирает программный RAID-массив. Формат:"
# <command>DNS=<replaceable><server1></replaceable>:<replaceable><server2></replaceable>:…:<replaceable><serverN></replaceable></command>
#. Tag: screen
@@ -17688,7 +17685,7 @@ msgid ""
"level></replaceable> --device=<replaceable><mddevice></replaceable> "
"<replaceable><partitions*></replaceable>"
msgstr ""
-"raid <replaceable><точка></replaceable> --"
+"raid <replaceable><точка_подключения></replaceable> --"
"level=<replaceable><уровень></replaceable> --device=<replaceable><"
"mdN></replaceable> <replaceable><разделы*></replaceable>"
@@ -17705,7 +17702,7 @@ msgid ""
"denotes that multiple partitions can be listed) lists the RAID identifiers "
"to add to the RAID array."
msgstr ""
-"<replaceable><точка></replaceable> — точка, в которую монтируется "
+"<replaceable><файл></replaceable> — точка, в которую монтируется "
"файловая система RAID. Если это <filename>/</filename>, уровень RAID должен "
"быть равен 1, если только не определен загрузочный раздел (<filename>/boot</"
"filename>). Если загрузочный раздел определен, раздел <filename>/boot</"
@@ -17811,7 +17808,7 @@ msgid ""
"<command>--encrypted</command> — Specifies that this RAID device "
"should be encrypted."
msgstr ""
-"<command>--encrypted</command> — зашифровать заданное устройство "
+"<command>--encrypted</command> — форматировать заданное устройство "
"RAID."
#. Tag: para
@@ -17828,7 +17825,7 @@ msgstr ""
"шифрования устройства RAID. При этом должен быть задан параметр <command>--"
"encrypted</command>, в противном случае эта опция будет проигнорирована. "
"Если парольная фраза на задана, будет использоваться стандартное значение, "
-"определенное для системы. Если же стандартная фраза не определена, "
+"определенное для системы. Если же стандартная фраза также не определена, "
"программа установки запросит ее ввод."
#. Tag: para
@@ -17898,7 +17895,9 @@ msgstr ""
msgid ""
"For a detailed example of <command>raid</command> in action, refer to <xref "
"linkend=\"s2-kickstart2-options-part-examples\"/>."
-msgstr "<xref linkend=\"s2-kickstart2-options-part-examples\"/> содержит подробный пример <command>raid</command> в действии."
+msgstr ""
+"Подробный пример действия <command>raid</command> рассматривается в <xref "
+"linkend=\"s2-kickstart2-options-part-examples\"/>."
# <command>reboot=b</command>
#. Tag: term
@@ -17978,7 +17977,8 @@ msgid ""
"package installation. Multiple repo lines may be specified."
msgstr ""
"Задает дополнительные хранилища yum, которые могут использоваться в качестве "
-"источников для установки пакетов. Можно указать несколько репозиториев, по одному на строку."
+"источников для установки пакетов. Возможно указание нескольких строк "
+"хранилищ."
# <command>DNS=<replaceable><server1></replaceable>:<replaceable><server2></replaceable>:…:<replaceable><serverN></replaceable></command>
#. Tag: screen
@@ -18048,8 +18048,8 @@ msgid ""
"Sets the system's root password to the <replaceable><password></"
"replaceable> argument."
msgstr ""
-"Определяет <replaceable><пароль></"
-"replaceable> для пользователя root ."
+"Определяет для пользователя root пароль <replaceable><пароль></"
+"replaceable>."
# <command>root=<replaceable><file-system></replaceable></command>
#. Tag: screen
@@ -18148,7 +18148,7 @@ msgid ""
"<citetitle>Fedora &PRODVER; Security-Enhanced Linux User Guide</citetitle>."
msgstr ""
"Полную информацию о SELinux в Fedora можно найти в <citetitle>Руководстве "
-"пользователя по SELinux Fedora &PRODVER;</citetitle>."
+"пользователя по SELinux для по Fedora &PRODVER;</citetitle>."
# <command>serial</command>
#. Tag: term
@@ -18172,9 +18172,9 @@ msgid ""
"runlevel. The services listed in the disabled list will be disabled before "
"the services listed in the enabled list are enabled."
msgstr ""
-"Изменяет стандартный набор служб, выполняющихся на текущем уровне "
-"выполнения. Перечисленные в списке отключений службы будут отключены до "
-"активации служб, заданных в списке подключения."
+"Изменяет стандартный набор сервисов, выполняющихся на текущем уровне "
+"выполнения. Перечисленные сервисы в списке отключений будут отключены до "
+"активации сервисов, заданных в списке подключения."
#. Tag: para
#: Kickstart2.xml:2028
@@ -18209,7 +18209,7 @@ msgid ""
"If you include spaces in the comma-separated list, kickstart will enable or "
"disable only the services up to the first space. For example:"
msgstr ""
-"В противном случае будут обработаны службы только до первого "
+"Так как в противном случае будут обработаны службы только до первого "
"пробела. Пример:"
#. Tag: command
@@ -18346,15 +18346,15 @@ msgid ""
"Sets the system time zone to <replaceable><timezone></replaceable> "
"which may be any of the time zones listed by <command>timeconfig</command>."
msgstr ""
-"Определяет часовой <replaceable><пояс></replaceable> "
-"(аргумент может быть одним из значений команды <command>timeconfig</command>)."
+"Определяет часовой пояс <replaceable><timezone></replaceable> "
+"(аргумент может быть одним из приведенных в <command>timeconfig</command>)."
# <command>root=<replaceable><file-system></replaceable></command>
#. Tag: screen
#: Kickstart2.xml:2123
#, no-c-format
msgid "timezone [--utc] <replaceable><timezone></replaceable>"
-msgstr "timezone [--utc] <replaceable><пояс></replaceable>"
+msgstr "timezone [--utc] <replaceable><часовой_пояс></replaceable>"
#. Tag: para
#: Kickstart2.xml:2127
@@ -18533,7 +18533,7 @@ msgid ""
msgstr ""
"Позволяет наблюдать за графической установкой через VNC. Этот метод более "
"предпочтителен по сравнению с текстовым режимом установки, поскольку при "
-"текстовой установке существуют определенные ограничения (языковые "
+"текстовой установке существуют определенные ограничения (например, языковые "
"и пр.). Если параметры не заданы, данная команда запустит VNC-сервер на "
"машине без пароля и выведет команду, необходимую для подключения к "
"удаленному компьютеру."
@@ -18636,7 +18636,7 @@ msgid ""
"reformat it."
msgstr ""
"<command>--useexisting</command> — использует существующую группу "
-"томов и повторно ее форматирует."
+"томов и переформатирует ее."
#. Tag: para
#: Kickstart2.xml:2284
@@ -18662,7 +18662,9 @@ msgstr ""
msgid ""
"For a detailed example of <command>volgroup</command> in action, refer to "
"<xref linkend=\"s2-kickstart2-options-part-examples\"/>."
-msgstr "<xref linkend=\"s2-kickstart2-options-part-examples\"/> содержит подробный пример <command>volgroup</command> в действии."
+msgstr ""
+"Подробный пример действия <command>volgroup</command> вы найдете в <xref "
+"linkend=\"s2-kickstart2-options-part-examples\"/>."
# <command>nofb</command>
#. Tag: term
@@ -18779,7 +18781,7 @@ msgid ""
"found on disks are initialized. This destroys all of the contents of disks "
"with invalid partition tables."
msgstr ""
-"Если указан параметр <command>zerombr</command>, все неверные таблицы "
+"Если указан параметр <command>zerombr</command>, все неправильные таблицы "
"разделов, обнаруженные на дисках, будут очищены. Это приведет к потере всех "
"данных, расположенных на дисках с этими таблицами."
@@ -18859,7 +18861,8 @@ msgid ""
msgstr ""
"Используйте команду <command>%include <replaceable>/путь/к/файлу</"
"replaceable></command>, чтобы включить в файл кикстарта содержимое другого "
-"файла, как если бы содержимое было непосредственно было вставлено в файл."
+"файла, как если бы содержимое было непосредственно было вставлено в файл "
+"вместо команды <command>%include</command>."
#. Tag: title
#: Kickstart2.xml:2446
@@ -18883,7 +18886,8 @@ msgid ""
"command>, <command>volgroup</command>, and <command>logvol</command> "
"kickstart options in action:"
msgstr ""
-"Ниже показан комплексный пример, иллюстрирующий параметры <command>clearpart</command>, <command>raid</command>, <command>part</"
+"Ниже показан комплексный пример, иллюстрирующий параметры кикстарта "
+"<command>clearpart</command>, <command>raid</command>, <command>part</"
"command>, <command>volgroup</command> и <command>logvol</command> в действии:"
#. Tag: screen
@@ -18951,14 +18955,14 @@ msgid ""
"This advanced example implements LVM over RAID, as well as the ability to "
"resize various directories for future growth."
msgstr ""
-"В этом примере LVM реализован поверх RAID, а также показаны возможности, "
+"В этом примере реализован LVM поверх RAID, а также показаны возможности, "
"позволяющие увеличивать размер каталогов в будущем."
#. Tag: secondary
#: Kickstart2.xml:2466
#, no-c-format
msgid "package selection specification"
-msgstr "выбор пакетов"
+msgstr "процедура выбора пакетов"
#. Tag: para
#: Kickstart2.xml:2468
@@ -18969,7 +18973,7 @@ msgid ""
"installations only, as package selection during upgrades is not supported)."
msgstr ""
"Используйте команду <command>%packages</command> для обозначения начала "
-"секции списка пакетов для установки (эта команда подходит "
+"секции, в которой вы опишете пакеты для установки (эта команда подходит "
"только для установки, так как выбор пакетов во время обновления системы не "
"поддерживается)."
@@ -19008,8 +19012,9 @@ msgid ""
"<command>Base</command> groups are always selected by default, so it is not "
"necessary to specify them in the <command>%packages</command> section."
msgstr ""
-"В большинстве случаев вполне достаточно указать нужные группы, а не "
-"отдельные пакеты. Обратите внимание, что группы основные группы пакетов выбраны по умолчанию, поэтому их "
+"В большинстве случаев вполне достаточно устанавливать нужные группы, а не "
+"отдельные пакеты. Обратите внимание, что группы <command>Базовая система</"
+"command> и <command>Основа</command> выбраны по умолчанию, поэтому их "
"указывать в разделе %packages не требуется."
#. Tag: para
@@ -19091,7 +19096,7 @@ msgid ""
"a very small system."
msgstr ""
"Не устанавливает группу @Base. Используйте этот параметр, если вашей целью "
-"является создание как можно более компактной системы."
+"является создание как можно более компактной системы.ы"
# recommended
#. Tag: command
@@ -19388,8 +19393,8 @@ msgstr ""
"У вас есть возможность задать команды, которые будут выполнены сразу после "
"завершения установки. Такая секция должна располагаться в конце файла "
"кикстарта и начинаться с команды %post. Использование секции %post может "
-"особенно пригодиться при установке "
-"дополнительного программного обеспечения и настройке дополнительного сервера "
+"особенно пригодиться при выполнении таких операций, как установка "
+"дополнительного программного обеспечения и настройка дополнительного сервера "
"имен."
#. Tag: para
@@ -19406,12 +19411,12 @@ msgid ""
"section."
msgstr ""
"Если вы используете статическую настройку IP, включая сервер имен, в разделе "
-"<command>%post</command> можно обращаться к сети и разрешать IP-адреса. "
-"Если для определения сетевых параметров используется DHCP, файл <filename>/"
-"etc/resolv.conf</filename> не будет создан к моменту, когда программа "
-"установки выполняет раздел <command>%post</command>. Вы можете обращаться к "
-"сети, но разрешение IP-адресов недоступно. Таким образом, если вы "
-"используете DHCP, в разделе %post надо указывать IP-адреса."
+"<command>%post</command> вы можете обращаться к сети и выполнять разрешение "
+"IP-адресов. Если для определения сетевых параметров используется DHCP, файл "
+"<filename>/etc/resolv.conf</filename> не будет создан к моменту обработки "
+"раздела <command>%post</command>. Вы сможете обращаться к сети, но "
+"разрешение IP-адресов будет недоступно. Таким образом, если вы используете "
+"DHCP, в разделе %post необходимо указывать IP-адреса."
#. Tag: para
#: Kickstart2.xml:2622
@@ -19448,7 +19453,7 @@ msgid ""
"The following example copies the file <filename>/etc/resolv.conf</filename> "
"to the file system that was just installed."
msgstr ""
-"В следующем примере файл <filename>/etc/resolv.conf</filename> будет скопирован в "
+"В следующем примере файл <filename>/etc/resolv.conf</filename> копируется в "
"только что созданную файловую систему."
#. Tag: screen
@@ -19498,7 +19503,7 @@ msgstr ""
msgid "Run a script named <filename>runme</filename> from an NFS share:"
msgstr ""
"Запуск сценария с именем <filename>runme</filename>, который находится на "
-"общем NFS-ресурсе:"
+"разделяемом NFS-ресурсе:"
#. Tag: screen
#: Kickstart2.xml:2662
@@ -19522,7 +19527,7 @@ msgid ""
"mode, therefore <command>-o nolock</command> is required when mounting an "
"NFS mount."
msgstr ""
-"NFS-блокировка файлов при автоматизированной установке <emphasis>не</emphasis> "
+"NFS-блокировка файлов в режиме кикстарта <emphasis>не</emphasis> "
"поддерживается, поэтому при монтировании NFS-ресурса требуется указать "
"<command>-o nolock</command>."
@@ -19543,7 +19548,7 @@ msgstr "расположение файла"
#: Kickstart2.xml:2679
#, no-c-format
msgid "A kickstart file must be placed in one of the following locations:"
-msgstr "Файл кикстарта должен быть расположен в одном из следующих источников:"
+msgstr "Файл кикстарта должен быть расположен на одном из следующих источников:"
#. Tag: para
#: Kickstart2.xml:2685
@@ -19574,8 +19579,8 @@ msgid ""
"kickstart installations tend to be performed on networked computers."
msgstr ""
"Обычно файл кикстарта копируется на загрузочную дискету или размещается в "
-"сети. Размещение в сети используется чаще, так как автоматизированная установка "
-"обычно выполняется на компьютерах, подключенных к сети."
+"сети. Размещение в сети используется чаще, так как установки кикстарта "
+"обычно выполняются на компьютерах, подключенных к сети."
#. Tag: para
#: Kickstart2.xml:2707
@@ -19633,7 +19638,7 @@ msgstr ""
"диска. Так как диск доступен только для чтения, файл нужно добавить в "
"каталог, из которого создается образ для записи на компакт-диск. <xref "
"linkend=\"sect-New_Users-Alternative_Boot_Methods\"/> содержит инструкции по "
-"созданию загрузочного носителя; но, прежде чем создавать образ "
+"созданию загрузочного носителя; но, прежде чем создавать файл образа "
"<filename>file.iso</filename>, скопируйте файл <filename>ks.cfg</filename> в "
"каталог <filename>isolinux/</filename>."
@@ -19654,7 +19659,7 @@ msgid ""
msgstr ""
"Для установки с использованием флэш-накопителя файл кикстарта должен иметь "
"имя <filename>ks.cfg</filename> и располагаться в корневом каталоге флэш-"
-"устройства. Сначала создайте загрузочный образ, а затем скопируйте файл "
+"диска. Сначала создайте загрузочный образ, а затем скопируйте файл "
"<filename>ks.cfg</filename>."
#. Tag: para
@@ -19714,7 +19719,7 @@ msgid ""
msgstr ""
"Сетевые кикстарт-установки выполняются достаточно часто, так как системные "
"администраторы могут автоматизировать установку множества сетевых "
-"компьютеров быстро и с минимальными усилиями. Чаще всего этот подход "
+"компьютеров быстро и безболезненно. Вообще говоря, чаще всего этот подход "
"требует от администратора настройки в локальной сети серверов BOOTP/DHCP и "
"NFS. BOOTP/DHCP сервер определяет сетевую конфигурацию для системы клиента, "
"тогда как файлы, используемые во время установки, находятся на NFS-сервере. "
@@ -19745,9 +19750,9 @@ msgid ""
"the client, using it as the kickstart file. The exact settings required vary "
"depending on the BOOTP/DHCP server you use."
msgstr ""
-"Если файл кикстарта определен сервером BOOTP/DHCP, клиент "
+"Если файл кикстарта определен сервером BOOTP/DHCP, клиентская система "
"пытается смонтировать путь к файлу с помощью NFS, а затем скопировать и "
-"использовать указанный файл. Конкретные настройки могут отличаться в "
+"использовать указанный файл. Конкретные настройки могут меняться в "
"зависимости от используемого сервера BOOTP/DHCP."
#. Tag: para
@@ -19780,8 +19785,8 @@ msgid ""
"server</computeroutput> with the NFS server name."
msgstr ""
"Обратите внимание, вы должны заменить значение после "
-"<computeroutput>filename</computeroutput> именем файла кикстарта или "
-"каталога, в котором расположен файл, а значение после <computeroutput>next-"
+"<computeroutput>filename</computeroutput> именем файла кикстарта (или "
+"каталога, в котором расположен файл), а значение после <computeroutput>next-"
"server</computeroutput> именем сервера NFS."
#. Tag: para
@@ -19794,7 +19799,8 @@ msgid ""
"name the client searches for is:"
msgstr ""
"Если имя файла, возвращаемое BOOTP/DHCP сервером, оканчивается косой чертой "
-"(«/»), оно воспринимается только как путь. В этом случае клиент подключает этот путь, используя NFS, и ищет конкретный файл. Имя "
+"(\"/\"), оно воспринимается только как путь. В этом случае клиентская "
+"система подключает этот путь, используя NFS, и ищет конкретный файл. Имя "
"файла, который ищет клиент, имеет следующий вид:"
# tr<replaceable><n></replaceable> for Token Ring
@@ -19829,10 +19835,11 @@ msgid ""
"tries to find the kickstart file using the same <filename><replaceable><"
"ip-addr></replaceable>-kickstart</filename> file name as described above."
msgstr ""
-"Если вы не определите имя сервера, клиент попытается "
+"Если вы не определите имя сервера, клиентская система попытается "
"использовать в качестве сервера NFS текущий BOOTP/DHCP-сервер. В случае, "
"если вы не укажете путь или имя файла, клиентская система пытается "
-"смонтировать каталог <filename>/kickstart</filename>, расположенный на сервере, а затем пытается найти файл кикстарта, используя имя "
+"смонтировать каталог <filename>/kickstart</filename>, расположенный на BOOTP/"
+"DHCP сервере, а затем пытается найти файл кикстарта, используя имя "
"<filename><replaceable><ip-адрес></replaceable>-kickstart</filename>, "
"как описано выше."
@@ -19890,7 +19897,8 @@ msgid ""
"linkend=\"s1-steps-network-installs-x86\"/> for details."
msgstr ""
"При выполнении сетевой установки (NFS, FTP, HTTP) потребуется открыть доступ "
-"к дереву установки по сети (см. <xref linkend=\"s1-steps-network-installs-x86\"/>)."
+"к дереву установки по сети. <xref linkend=\"s1-steps-network-installs-x86\"/"
+"> содержит более подробную информацию."
# EXACT MATCH
#. Tag: title
@@ -19985,7 +19993,7 @@ msgid ""
"a driver disk, enter the following command at the <prompt>boot:</prompt> "
"prompt:"
msgstr ""
-"Если вам нужно использовать диск драйверов, добавьте параметр "
+"Если вам нужно использовать диск драйверов, также укажите параметр "
"<userinput>dd</userinput>. Например, чтобы загрузиться с загрузочной дискеты "
"и использовать диск с драйверами, введите в приглашении <prompt>boot:</"
"prompt> следующую команду:"
@@ -20019,7 +20027,8 @@ msgid ""
"system, and enter the following command at the <prompt>boot:</prompt> prompt "
"(where <filename>ks.cfg</filename> is the name of the kickstart file):"
msgstr ""
-"Если вы разместили файл кикстарта на загрузочном компакт-диске (см. <xref linkend=\"s2-kickstart2-boot-media\"/>), вставьте компакт-диск, "
+"Если вы разместили файл кикстарта на загрузочном компакт-диске, как описано "
+"в <xref linkend=\"s2-kickstart2-boot-media\"/>, вставьте компакт-диск, "
"загрузите систему и введите в приглашении <prompt>boot:</prompt> следующую "
"команду (где <filename>ks.cfg</filename> — имя файла кикстарта):"
@@ -20118,7 +20127,7 @@ msgstr "Список разделенных запятыми серверов и
#: Kickstart2.xml:2956
#, no-c-format
msgid "Same as 'dd'."
-msgstr "Эквивалент dd."
+msgstr "Эквивалент \"dd\"."
# text mode
#. Tag: command
@@ -20137,7 +20146,7 @@ msgstr "Активирует расширенные возможности:"
#: Kickstart2.xml:2969
#, no-c-format
msgid "allows partitioning of removable media"
-msgstr "создание разделов на съемных устройствах"
+msgstr "разбиение переносных носителей"
#. Tag: para
#: Kickstart2.xml:2975
@@ -20165,7 +20174,7 @@ msgstr "Шлюз для сетевой установки."
msgid "Force graphical install. Required to have ftp/http use GUI."
msgstr ""
"Принудительно использовать графическую установку. Для выполнения графической "
-"установки необходимо использовать ftp или http."
+"установки необходимо использовать ftp/http."
# <command>text</command>
#. Tag: command
@@ -20191,7 +20200,7 @@ msgstr "ip=<replaceable><ip></replaceable>"
#: Kickstart2.xml:3014
#, no-c-format
msgid "IP to use for a network installation, use 'dhcp' for DHCP."
-msgstr "IP-адрес для выполнения сетевой установки. Используйте «dhcp» для DHCP."
+msgstr "IP-адрес для выполнения сетевой установки. Используйте 'dhcp' для DHCP."
# EXACT MATCH
#. Tag: command
@@ -20208,7 +20217,7 @@ msgid ""
"'keyboard' kickstart command."
msgstr ""
"Раскладка клавиатуры. Допускаются значения, которые могут быть заданы "
-"командой кикстарта «keyboard»."
+"командой кикстарта 'keyboard'."
# <parameter>PORTNAME=<replaceable><osa_portname></replaceable> | <replaceable><lcs_portnumber></replaceable></parameter>
#. Tag: command
@@ -20235,8 +20244,8 @@ msgid ""
msgstr ""
"Программа установки ищет файл кикстарта на NFS-сервере <replaceable><"
"сервер></replaceable> согласно указанному пути. Настройка Ethernet-платы "
-"будет выполнена с использованием DHCP. Например, если NFS-сервер "
-"называется server.example.com, а файл кикстарта расположен на общем NFS-"
+"будет выполнена с использованием DHCP. Например, если ваш NFS-сервер "
+"называется server.example.com, а файл кикстарта расположен в разделяемом NFS-"
"ресурсе <filename>/mydir/ks.cfg</filename>, правильной командой загрузчика "
"будет <command>ks=nfs:server.example.com:/mydir/ks.cfg</command>."
@@ -20264,9 +20273,9 @@ msgid ""
"mydir/ks.cfg</command>."
msgstr ""
"Программа установки ищет файл кикстарта на HTTP-сервере <replaceable><"
-"сервер></replaceable> согласно указанному пути и "
-"настраивает Ethernet-платы, используя DHCP. Например, если HTTP-сервер "
-"называется server.example.com, а файл кикстарта расположен на общем "
+"сервер></replaceable> согласно указанному пути. Программа установки "
+"настраивает Ethernet-платы, используя DHCP. Например, если ваш HTTP-сервер "
+"называется server.example.com, а файл кикстарта расположен в разделяемом "
"HTTP-ресурсе <filename>/mydir/ks.cfg</filename>, правильной командой "
"загрузчика будет <command>ks=http://server.example.com/mydir/ks.cfg</"
"command>."
@@ -20303,7 +20312,7 @@ msgid ""
"replaceable>."
msgstr ""
"Программа установки ищет файл кикстарта на дискете в устройстве <filename>/"
-"dev/fd0</filename>."
+"dev/fd0</filename> согласно заданному пути."
# <parameter>PORTNAME=<replaceable><osa_portname></replaceable> | <replaceable><lcs_portnumber></replaceable></parameter>
#. Tag: command
@@ -20384,7 +20393,7 @@ msgid ""
msgstr ""
"Если параметр <command>ks</command> используется без аргументов, программа "
"установки настраивает Ethernet-плату, используя DHCP. Файл кикстарта "
-"загружается с сервера, определенного параметром DHCP-ответа «bootServer» в "
+"загружается с сервера, определенного параметром DHCP-ответа \"bootServer\" в "
"случае, когда NFS-сервер предоставляет доступ к этому файлу. По умолчанию в "
"качестве bootServer выступает DHCP-сервер. Имя файла кикстарта будет выбрано "
"следующим образом:"
@@ -20422,7 +20431,7 @@ msgid ""
msgstr ""
"Если служба DHCP не сообщила имя файла, программа установки пытается "
"прочитать файл <filename>/kickstart/1.2.3.4-kickstart</filename>, где "
-"<replaceable>1.2.3.4</replaceable> — IP-адрес компьютера, "
+"<replaceable>1.2.3.4</replaceable> — десятичный IP-адрес компьютера, "
"на котором производится установка."
# EXACT MATCH
@@ -20445,10 +20454,11 @@ msgid ""
msgstr ""
"Программа установки использует это сетевое устройство для подключения к "
"сети. Например, чтобы начать кикстарт-установку с файлом кикстарта, "
-"расположенным на NFS-сервере, который подключен к компьютеру через "
+"расположенного на NFS-сервере, который подключен к компьютеру через "
"устройство eth1, выполните команду <command>ks=nfs:<replaceable><"
"сервер></replaceable>:/<replaceable><путь></"
-"replaceable>ksdevice=eth1</command> в строке приглашения <prompt>boot:</prompt>"
+"replaceable>ksdevice=eth1</command> в ответ на приглашение <prompt>boot:</"
+"prompt>."
#. Tag: command
#: Kickstart2.xml:3131
@@ -20464,9 +20474,9 @@ msgid ""
"systems. Includes MAC address of all nics in CGI environment variables of "
"the form: \"X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab\"."
msgstr ""
-"Добавляет заголовки HTTP к запросам «ks=http://». Включает MAC-адрес всех "
-"сетевых карт в переменных CGI-окружения в форме «X-RHN-Provisioning-MAC-0: "
-"eth0 01:23:45:67:89:ab»."
+"Добавляет заголовки HTTP к ks=http:// request. Включает MAC-адрес всех "
+"сетевых карт в переменных CGI-окружения в форме \"X-RHN-Provisioning-MAC-0: "
+"eth0 01:23:45:67:89:ab\"."
# EXACT MATCH
#. Tag: command
@@ -20483,7 +20493,7 @@ msgid ""
"valid to be used with the 'lang' kickstart command."
msgstr ""
"Язык установки. Допускаются значения, которые могут быть заданы с помощью "
-"команды кикстарта «lang»."
+"команды кикстарта 'lang'."
# EXACT MATCH
#. Tag: command
@@ -20522,7 +20532,9 @@ msgstr "Выполнение графической установки с раз
msgid ""
"Activates loader code to give user option of testing integrity of install "
"source (if an ISO-based method)."
-msgstr "Активирует код загрузчика для разрешения пользователю выполнять проверку целостности установочного носителя (для ISO-установки)."
+msgstr ""
+"Активирует код загрузчика для разрешения пользователю выполнять медиа-"
+"проверку установочного носителя (для ISO-установки)."
#. Tag: command
#: Kickstart2.xml:3176
@@ -20756,7 +20768,7 @@ msgstr "nostorage"
#: Kickstart2.xml:3349
#, no-c-format
msgid "Do not auto-probe storage devices (SCSI, IDE, RAID)."
-msgstr "Не выполнять автоопределение устройств хранения (SCSI, IDE, RAID)."
+msgstr "Не выполнять автоопределние устройств хранения (SCSI, IDE, RAID)."
#. Tag: para
#: Kickstart2.xml:3358
@@ -20879,7 +20891,7 @@ msgstr "updates=ftp://<replaceable><путь></replaceable>"
#: Kickstart2.xml:3442
#, no-c-format
msgid "Image containing updates over FTP."
-msgstr "Ссылка на образ с обновлениями."
+msgstr "FTP-путь к образу с обновлениями."
# EXACT MATCH
#. Tag: command
@@ -20947,7 +20959,7 @@ msgstr ""
#: Kickstart2.xml:3482 Kickstart2.xml:3495
#, no-c-format
msgid "Requires 'vnc' option to be specified as well."
-msgstr "Также необходимо указать параметр «vnc»."
+msgstr "Также необходимо указать параметр \"vnc\"."
# tr<replaceable><n></replaceable> for Token Ring
#. Tag: command
@@ -20963,7 +20975,7 @@ msgid ""
"Enable a password for the vnc connection. This will prevent someone from "
"inadvertently connecting to the vnc-based installation."
msgstr ""
-"Использовать пароль для VNC-соединения. Пароль помогает предотвратить "
+"Активировать пароль для VNC-соединения. Пароль помогает предотвратить "
"случайные подключения к VNC-установке."
#. Tag: para
@@ -21010,10 +21022,9 @@ msgid ""
"modify a kickstart file using a graphical user interface, so that you do not "
"have to remember the correct syntax of the file."
msgstr ""
-"Утилита <application>Настройка Kickstart</application> позволяет создать "
-"шаблон для автоматической установки, используя графический интерфейс, "
-"избавляя тем самым пользователя от необходимости запоминания структуры этого "
-"файла."
+"Утилита <application>настройки кикстарта</application> позволяет создать "
+"файл кикстарта, используя графический интерфейс, избавляя тем самым пользователя от "
+"необходимости запоминания структуры этого файла."
#. Tag: para
#: Ksconfig.xml:20
@@ -21027,9 +21038,9 @@ msgid ""
"kickstart</command>."
msgstr ""
"Для работы этой программы необходима система X Window. Для ее запуска "
-"выберите в основном меню <guimenu>Приложения</guimenu> (на панели) => "
+"выберите в основном меню <guimenu>Приложения</guimenu> => "
"<guimenu>Система</guimenu> => <guimenuitem>Kickstart</guimenuitem> или "
-"введите команду <command>/usr/sbin/system-config-kickstart</command>."
+"выполните команду <command>/usr/sbin/system-config-kickstart</command>."
# EXACT MATCH
#. Tag: secondary
@@ -21046,7 +21057,7 @@ msgid ""
"guimenuitem> => <guimenuitem>Preview</guimenuitem> at any time to review "
"your current selections."
msgstr ""
-"Созданный файл кикстарта можно в просмотреть посредством выбора в меню "
+"Созданный файл кикстарта можно в просмотреть в меню "
"<guimenuitem>Файл</guimenuitem> => <guimenuitem>Предварительный просмотр</"
"guimenuitem>."
@@ -21057,15 +21068,15 @@ msgid ""
"To start with an existing kickstart file, select <guimenu>File</guimenu> "
"=> <guimenuitem>Open</guimenuitem> and select the existing file."
msgstr ""
-"Чтобы начать работу с существующим файлом кикстарта, выполните "
-"<guimenu>Файл</guimenu> => <guimenuitem>Открыть файл</guimenuitem> и "
+"Чтобы начать работу с существующим файлом кикстарта, в меню "
+"<guimenu>Файл</guimenu> => <guimenuitem>Открыть файл</guimenuitem> "
"выберите нужный файл."
#. Tag: title
#: Ksconfig.xml:35 Ksconfig.xml:41
#, no-c-format
msgid "<title>Basic Configuration</title>"
-msgstr "<title>Базовая конфигурация</title>"
+msgstr "<title>Основные настройки</title>"
# basic concepts
#. Tag: secondary
@@ -21078,7 +21089,7 @@ msgstr "основные параметры"
#: Ksconfig.xml:44
#, no-c-format
msgid "<para>Basic Configuration</para>"
-msgstr "<para>Общая конфигурация</para>"
+msgstr "<para>Основные настройки</para>"
#. Tag: para
#: Ksconfig.xml:55
@@ -21088,7 +21099,7 @@ msgid ""
"language to be used after installation from the <guimenu>Default Language</"
"guimenu> menu."
msgstr ""
-"Выберите в меню <guimenu>Основной язык</guimenu> язык, который будет "
+"В меню <guimenu>Основной язык</guimenu> язык, который будет "
"использоваться при установке и станет языком по умолчанию, используемым "
"после установки."
@@ -21132,12 +21143,12 @@ msgid ""
"Because a kickstart file is a plain text file that can be easily read, it is "
"recommended that an encrypted password be used."
msgstr ""
-"Введите в поле <guilabel>Пароль root</guilabel> требуемый пароль "
-"пользователя root. Введите тот же пароль в текстовое поле "
+"В поле <guilabel>Пароль root</guilabel> введите пароль "
+"пользователя root. Введите тот же пароль в поле "
"<guilabel>Повторите пароль</guilabel>. Подтверждение нужно для того, чтобы "
"убедиться, что набирая пароль, вы не ошиблись. Чтобы сохранить в файле "
"зашифрованный пароль, установите флажок <guilabel>Зашифровать пароль root</"
-"guilabel>. Если вы выбрали этот вариант, при сохранении файла введенный в "
+"guilabel>. Тогда при сохранении файла введенный в "
"открытом виде пароль будет зашифрован и записан в файл кикстарта. Не следует "
"вводить уже зашифрованный пароль и одновременно включать его шифрование. Так "
"как файл кикстарта — это обычный текстовый файл, который можно легко "
@@ -21151,7 +21162,7 @@ msgid ""
"hardware architecture distribution is used during installation."
msgstr ""
"В меню <guilabel>Целевая архитектура</guilabel> указывается, дистрибутив "
-"какой аппаратной архитектуры используется при установке."
+"какой архитектуры используется при установке."
#. Tag: para
#: Ksconfig.xml:98
@@ -21197,7 +21208,7 @@ msgid ""
msgstr ""
"Вы также можете выполнить кикстарт-установку в интерактивном режиме. В этом "
"случае программа установки использует все параметры, определенные в файле "
-"кикстарта, но при этом позволяет вам просмотреть их на каждом экране до "
+"кикстарта, но при этом позволяет просмотреть их на каждом экране до "
"перехода к следующему. Чтобы перейти к следующему экрану, согласившись с "
"настройками или изменив их, нажмите кнопку <guibutton>Далее</guibutton>. "
"Чтобы выбрать графическую установку, отметьте флажок <guilabel>Выполнить "
@@ -21246,7 +21257,7 @@ msgstr ""
msgid ""
"Choose the type of kickstart installation or upgrade from the following "
"options:"
-msgstr "Выберите тип кикстарт-установки или обновления из следующих вариантов:"
+msgstr "Выберите тип кикстарт-установки или обновления из доступных:"
#. Tag: para
#: Ksconfig.xml:144
@@ -21272,7 +21283,7 @@ msgid ""
"redhat/i386/</filename> for the NFS directory."
msgstr ""
"<guilabel>NFS</guilabel> — выберите этот вариант, чтобы установить или "
-"обновить систему из общего каталога NFS. В текстовом поле указания NFS-"
+"обновить систему из общего каталога NFS. В текстовом поле NFS-"
"сервера введите полное имя домена или IP-адрес. В поле, где задается NFS-"
"каталог, введите имя NFS-каталога, содержащего каталог "
"<filename><replaceable>вариант</replaceable></filename> дерева установки. "
@@ -21293,11 +21304,11 @@ msgid ""
"requires a username and password, specify them as well."
msgstr ""
"<guilabel>FTP</guilabel> — выберите этот вариант, чтобы установить или "
-"обновить систему с FTP-сервера. В текстовом поле указания FTP-сервера "
+"обновить систему с FTP-сервера. В текстовом поле FTP-сервера "
"введите полное имя домена или IP-адрес. В поле, где указывается каталог FTP, "
"введите имя каталога, в котором находится подкаталог "
"<filename><replaceable>вариант</replaceable></filename>. Например, если на "
-"FTP-сервере есть папка <filename>/mirrors/redhat/i386/Server/</filename>, "
+"FTP-сервере есть каталог <filename>/mirrors/redhat/i386/Server/</filename>, "
"введите <filename>/mirrors/redhat/i386/Server/</filename>. При необходимости "
"введите имя пользователя и пароль."
@@ -21314,7 +21325,7 @@ msgid ""
"<filename>/mirrors/redhat/i386/Server/</filename> for the HTTP directory."
msgstr ""
"<guilabel>HTTP</guilabel> — выберите этот вариант, чтобы установить "
-"или обновить систему с HTTP-сервера. В текстовом поле указания HTTP-сервера "
+"или обновить систему с HTTP-сервера. В текстовом поле HTTP-сервера "
"введите полное имя домена или IP-адрес. В поле каталога HTTP введите имя "
"каталога, содержащего подкаталог <filename><replaceable>вариант</"
"replaceable></filename>. Например, если HTTP-сервер содержит каталог "
@@ -21341,11 +21352,10 @@ msgstr ""
"требует использования ISO или CD-ROM образов. Прежде чем приступить к "
"установке, убедитесь в целостности ISO-образов. Для проверки используйте "
"программу <command>md5sum</command>, а также параметр загрузки "
-"<command>linux mediacheck</command> (см. <xref linkend=\"sn-verifying-media"
-"\"/>). Укажите раздел жесткого диска, содержащего ISO-образы (например, "
+"<command>linux mediacheck</command> (см. <xref linkend=\"sn-boot-mediacheck\" />). Укажите раздел жесткого диска, содержащий ISO-образы (например, "
"<filename>/dev/hda1</filename>) в текстовом поле <guilabel>Раздел жесткого "
"диска</guilabel>. В поле <guilabel>Каталог на жестком диске</guilabel> "
-"укажите каталог, содержащий ISO-образы."
+"укажите каталог с ISO-образами."
# Post-Installation Boot Loader Options
#. Tag: title
@@ -21376,7 +21386,7 @@ msgid ""
"architecture other than x86 / x86_64."
msgstr ""
"Обратите внимание, что данный экран будет доступен только для архитектур "
-"x86 / x86_64."
+"x86 и x86_64."
#. Tag: para
#: Ksconfig.xml:198
@@ -21392,7 +21402,7 @@ msgstr ""
"Если вы не хотите устанавливать загрузчик, выберите вариант <guilabel>Не "
"устанавливать начальный загрузчик</guilabel>. Убедитесь в том, что вы "
"создали загрузочную дискету, или у вас есть другая возможность загрузить "
-"вашу систему (например, какой-то другой загрузчик)."
+"систему (например, другой загрузчик)."
#. Tag: para
#: Ksconfig.xml:202
@@ -21402,7 +21412,7 @@ msgid ""
"the first sector of the <filename>/boot</filename> partition). Install the "
"boot loader on the MBR if you plan to use it as your boot loader."
msgstr ""
-"Вы должны решить, куда устанавливать загрузчик (в главную загрузочную запись "
+"Вы должны решить, куда устанавливать загрузчик (в MBR "
"или в первый сектор раздела <filename>/boot</filename>). Установите "
"загрузчик в MBR, если вы планируете использовать его в качестве основного "
"загрузчика системы."
@@ -21420,8 +21430,8 @@ msgid ""
"ROM device)."
msgstr ""
"Чтобы при загрузке системы передать ядру параметры, введите их в текстовом "
-"поле <guilabel>Параметры ядра</guilabel>. Например, если у вас есть "
-"записывающий привод IDE CD-ROM, вы можете включить в ядре драйвер эмуляции "
+"поле <guilabel>Параметры ядра</guilabel>. Например, если есть "
+"записывающий привод IDE CD-ROM, можно включить в ядре драйвер эмуляции "
"SCSI, который должен быть загружен перед использованием программы "
"<command>cdrecord</command>, передав ядру параметр <userinput>hdd=ide-scsi</"
"userinput> (где <userinput>hdd</userinput> — привод CD-ROM)."
@@ -21537,8 +21547,7 @@ msgstr ""
"Чтобы создать раздел, нажмите кнопку <guibutton>Добавить</guibutton>. На "
"экране появится окно <guilabel>Параметры раздела</guilabel> (<xref linkend="
"\"redhat-config-kickstart-add-part-fig\"/>). Определите точку подключения, "
-"тип файловой системы и размер создаваемого раздела. По своему усмотрению вы "
-"также можете установить следующие параметры:"
+"тип файловой системы и размер создаваемого раздела. По своему усмотрению можно установить следующие параметры:"
#. Tag: para
#: Ksconfig.xml:266
@@ -21552,9 +21561,9 @@ msgid ""
msgstr ""
"В разделе <guilabel>Дополнительные параметры размера</guilabel> определите, "
"будет ли размер раздела фиксированным, ограничен определенным максимумом или "
-"размером всего диска. Если создаваемый раздел имеет тип \"swap\", вы можете "
+"он будет занимать весь диск. Если создаваемый раздел имеет тип swap, можно "
"выбрать вариант, когда программа установки сама выбирает рекомендуемый "
-"размер для этого раздела вместо его явного указания."
+"размер раздела вместо его явного указания."
#. Tag: para
#: Ksconfig.xml:272
@@ -21571,7 +21580,7 @@ msgid ""
"specify <userinput>hda</userinput> as the drive. Do not include <filename>/"
"dev</filename> in the drive name."
msgstr ""
-"Создать раздел на указанном жестком диске. Например, чтобы создать раздел на "
+"Создайте раздел на жестком диске. Например, чтобы создать раздел на "
"первом жестком диске IDE (<filename>/dev/hda</filename>), укажите в качестве "
"диска <userinput>hda</userinput>. Включать в имя диска <filename>/dev</"
"filename> не нужно."
@@ -21585,7 +21594,7 @@ msgid ""
"specify <userinput>hda1</userinput> as the partition. Do not include "
"<filename>/dev</filename> in the partition name."
msgstr ""
-"Использовать существующий раздел. Например, чтобы создать раздел в первом "
+"Используйте существующий раздел. Например, чтобы создать раздел в первом "
"разделе первого жесткого диска IDE (<filename>/dev/hda1</filename>), укажите "
"в качестве раздела <userinput>hda1</userinput>. Включать в имя раздела "
"<filename>/dev</filename> не нужно."
@@ -21594,7 +21603,7 @@ msgstr ""
#: Ksconfig.xml:290
#, no-c-format
msgid "Format the partition as the chosen file system type."
-msgstr "Форматировать раздел."
+msgstr "Отформатируйте раздел."
# Creating a New Partition
#. Tag: para
@@ -21698,14 +21707,14 @@ msgstr ""
#: Ksconfig.xml:348
#, no-c-format
msgid "Creating a Software RAID Partition"
-msgstr "Создание программного раздела RAID"
+msgstr "Создание раздела программного RAID-массива"
# EXACT MATCH
#. Tag: para
#: Ksconfig.xml:351
#, no-c-format
msgid "Software RAID Partition"
-msgstr "Программный раздел RAID"
+msgstr "Раздел программного RAID"
#. Tag: para
#: Ksconfig.xml:357
@@ -21715,7 +21724,7 @@ msgid ""
"setup. All of your partitions do not have to be RAID partitions."
msgstr ""
"Повторите эту последовательность действий, создав столько разделов, сколько "
-"необходимо для построения RAID-массива. Вовсе не обязательно, чтобы все ваши "
+"необходимо для построения RAID-массива. Вовсе не обязательно, чтобы все "
"разделы были RAID-разделами."
#. Tag: para
@@ -21744,7 +21753,7 @@ msgid ""
"format the RAID device."
msgstr ""
"Выберите точку подключения, тип файловой системы, имя RAID-устройства, "
-"уровень RAID, участников RAID-массива, число резервных разделов программного "
+"уровень RAID, составляющие RAID-массива, число резервных разделов программного "
"RAID-устройства и определите, форматировать ли это устройство."
# Create a RAID device
@@ -21913,7 +21922,7 @@ msgid ""
"authentication method. Refer to the Red Hat Enterprise Linux Deployment "
"Guide for more information about the options."
msgstr ""
-"По умолчанию они не включены. Чтобы включить один или несколько этих "
+"По умолчанию они не включены. Чтобы включить один или несколько "
"методов, перейдите к соответствующей вкладке, установите флажок "
"<guilabel>Включить</guilabel> и определите подходящие параметры метода "
"проверки подлинности. За дополнительной информацией обратитесь к руководству "
@@ -21931,7 +21940,7 @@ msgstr "Настройка межсетевого экрана"
#: Ksconfig.xml:502
#, no-c-format
msgid "firewall configuration"
-msgstr "настройка межсетового экрана"
+msgstr "настройка межсетевого экрана"
#. Tag: para
#: Ksconfig.xml:504
@@ -21941,8 +21950,8 @@ msgid ""
"screen in the installation program and the <application>Security Level "
"Configuration Tool</application>."
msgstr ""
-"Окно <guilabel>Настройка межсетевого экрана</guilabel> аналогично диалогу "
-"настройки программы установки и утилиты <application>Настройки уровня "
+"Окно <guilabel>настройки межсетевого экрана</guilabel> аналогично диалогу "
+"настройки программы установки и утилиты <application>настройки уровня "
"безопасности</application>."
# Firewall Configuration
@@ -21950,7 +21959,7 @@ msgstr ""
#: Ksconfig.xml:510
#, no-c-format
msgid "Firewall Configuration for Kickstart"
-msgstr "Настройка межсетового экрана"
+msgstr "Настройка межсетевого экрана"
#. Tag: para
#: Ksconfig.xml:516
@@ -21994,7 +22003,7 @@ msgid ""
msgstr ""
"В списке <guilabel>Доверенные устройства</guilabel> отображены только "
"устройства, настроенные в разделе <guilabel>Настройка сети</guilabel>. "
-"Система будет принимать соединения с любых устройств, выбранных в этом "
+"Система будет принимать соединения с любых устройств в этом "
"списке. Например, если <guilabel>eth1</guilabel> получает данные только от "
"внутренних компьютеров, возможно, вы захотите разрешить подключения с этого "
"устройства."
@@ -22051,8 +22060,8 @@ msgid ""
"<command>permissive</command> or <command>disabled</command> mode. Finer "
"grained configuration is not possible at this time."
msgstr ""
-"При кикстарте политика SELinux может быть установлен в "
-"<command>принудительный режим</command>, <command>режим предупреждений</"
+"При кикстарте может быть установлен в "
+"<command>принудительный (строгий) режим</command> SELinux, <command>режим предупреждений</"
"command> или <command>выключен</command>. Более тонкая конфигурация на "
"данном этапе недоступна."
@@ -22161,11 +22170,10 @@ msgid ""
"save it. Refer to <xref linkend=\"s1-kickstart2-packageselection\"/> for "
"details."
msgstr ""
-"В данной реализации программа <application>Настройка Kickstart</application> "
+"В данной реализации программа <application>настройки кикстарта</application> "
"не позволяет выбирать отдельные пакеты. Чтобы установить отдельные пакеты, "
"отредактируйте раздел <command>%packages</command> файла кикстарта после его "
-"создания. За подробностями обратитесь к <xref linkend=\"s1-kickstart2-"
-"packageselection\"/>."
+"создания (см. <xref linkend=\"s1-kickstart2-packageselection\"/>)."
# EXACT MATCH
#. Tag: title
@@ -22604,8 +22612,7 @@ msgid ""
"prepend the directory name with <filename>/mnt/sysimage/</filename>."
msgstr ""
"Чтобы внести изменения в только что установленную файловую систему в "
-"пределах данного раздела, но вне окружения chroot, вы должны указать перед "
-"именем каталога <filename>/mnt/sysimage/</filename>."
+"пределах данного раздела, но вне окружения chroot, введите <filename>/mnt/sysimage/</filename> перед именем каталога."
#. Tag: para
#: Ksconfig.xml:780
@@ -22675,20 +22682,20 @@ msgid ""
msgstr ""
"Для просмотра содержимого файла кикстарта после окончания настройки "
"параметров, выберите в меню <guimenuitem>Файл</guimenuitem> => "
-"<guimenuitem>Предварительный просмотр</guimenuitem>."
+"<guimenuitem>Просмотр</guimenuitem>."
#. Tag: title
#: Ksconfig.xml:805
#, no-c-format
msgid "<title>Preview</title>"
-msgstr "<title>Предварительный просмотр</title>"
+msgstr "<title>Просмотр</title>"
# <parameter>recover</parameter>
#. Tag: para
#: Ksconfig.xml:808
#, no-c-format
msgid "<para>Preview</para>"
-msgstr "<para>Предварительный просмотр</para>"
+msgstr "<para>Просмотр</para>"
#. Tag: para
#: Ksconfig.xml:814
@@ -22713,9 +22720,7 @@ msgstr ""
msgid ""
"After saving the file, refer to <xref linkend=\"s1-kickstart2-startinginstall"
"\"/> for information on how to start the kickstart installation."
-msgstr ""
-"Сохранив файл, обратитесь к <xref linkend=\"s1-kickstart2-startinginstall\"/"
-"> за инструкциями по запуску кикстарт-установки."
+msgstr "После сохранения файла перейдите к инструкциям по запуску кикстарт-установки (см. <xref linkend=\"s1-kickstart2-startinginstall\"/>)."
# Selecting the appropriate language also helps target your time zone configuration later in the installation. The installation program tries to define the appropriate time zone based on what you specify on this screen.
#. Tag: para
14 years, 1 month
web/html/docs/selinux-faq index.html,1.3,1.4
by sradvan
Author: sradvan
Update of /cvs/fedora/web/html/docs/selinux-faq
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31930
Modified Files:
index.html
Log Message:
new links to d.fp.o in resources section
Index: index.html
===================================================================
RCS file: /cvs/fedora/web/html/docs/selinux-faq/index.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.html 22 Jan 2010 01:09:15 -0000 1.3
+++ index.html 22 Jan 2010 01:19:59 -0000 1.4
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>SELinux FAQ</title><link rel="stylesheet" href="./Common_Content/css/default.css" type="text/css" /><meta name="generator" content="publican 1.3" /><meta name="package" content="Fedora-SELinux_FAQ-12-en-US-0-0" /><meta name="description" content="This FAQ answers many questions about Security-Enhanced Linux. The information in this FAQ is valuable for those who are new to SELinux." /></head><body class=""><p id="title"><a class="left" href="http://www.fedoraproject.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.fedoraproject.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><div xml:lang="en-US" class="article" title="SELinux FAQ" lang="en-US"><div class="titlepage"><div><div class="producttitle"><span class="productname">Fedora</span> <span class="
productnumber">12</span></div><div><h1 id="chap-SELinux-FAQ-FAQ" class="title">SELinux FAQ</h1></div><div><h2 class="subtitle">Frequently-asked questions about Security Enhanced Linux</h2></div><div><h3 class="corpauthor">
<span class="inlinemediaobject"><object data="Common_Content/images/title_logo.svg" type="image/svg+xml"> </object></span>
- </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id3180313" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
+ </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id2819125" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
Copyright <span class="trademark"></span>© 2010 Red Hat, Inc..
</div><div class="para">
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at <a href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a>. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
@@ -44,142 +44,144 @@
</div></li><li class="listitem"><div class="para">
Fedora mailing list — <a href="mailto:fedora-selinux-list@redhat.com">mailto:fedora-selinux-list@redhat.com</a>; read the archives or subscribe at <a href="http://www.redhat.com/mailman/listinfo/fedora-selinux-list">http://www.redhat.com/mailman/listinfo/fedora-selinux-list</a>
</div></li><li class="listitem"><div class="para">
+ The SELinux User Guide and the SELinux Managing Confined Services Guide at <a href="http://docs.fedoraproject.org">http://docs.fedoraproject.org</a>
+ </div></li><li class="listitem"><div class="para">
On IRC - irc.freenode.net, #fedora-selinux and #selinux
- </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id2997132"><dl><dt></dt><dd><dl><dt>Q: <a href="#id2997137">
+ </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id2618307"><dl><dt></dt><dd><dl><dt>Q: <a href="#id2618313">
What is SELinux?
- </a></dt><dt>Q: <a href="#id3000037">
+ </a></dt><dt>Q: <a href="#id2619811">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id3009439">
+ </a></dt><dt>Q: <a href="#id2619886">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id3009466">
+ </a></dt><dt>Q: <a href="#id2619913">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2993140">
+ </a></dt><dt>Q: <a href="#id2624427">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2993201">
+ </a></dt><dt>Q: <a href="#id2624488">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id3067314">
+ </a></dt><dt>Q: <a href="#id2624534">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></dd><dt>1.2. <a href="#id3041991">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id3041997">
+ </a></dt></dl></dd><dt>1.2. <a href="#id2687997">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id2688003">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id3042024">
+ </a></dt><dt>Q: <a href="#id2688030">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id3042460">
+ </a></dt><dt>Q: <a href="#id2694800">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id3029665">
+ </a></dt><dt>Q: <a href="#id2694972">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id3029908">
+ </a></dt><dt>Q: <a href="#id2653743">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id3030095">
+ </a></dt><dt>Q: <a href="#id2653929">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id3030317">
+ </a></dt><dt>Q: <a href="#id2654151">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id3030380">
+ </a></dt><dt>Q: <a href="#id2654215">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id3030481">
+ </a></dt><dt>Q: <a href="#id2654315">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id3030514">
+ </a></dt><dt>Q: <a href="#id2654348">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id3030560">
+ </a></dt><dt>Q: <a href="#id2654394">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id3030586">
+ </a></dt><dt>Q: <a href="#id2654421">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id3030616">
+ </a></dt><dt>Q: <a href="#id2654451">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id3030700">
+ </a></dt><dt>Q: <a href="#id2654534">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id3030762">
+ </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id2654596">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id3030799">
+ </a></dt><dt>Q: <a href="#id2654634">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id3030886">
+ </a></dt><dt>Q: <a href="#id2654720">
Why doesn't SELinux give me the full path in an error message?
- </a></dt><dt>Q: <a href="#id3031106">
+ </a></dt><dt>Q: <a href="#id2654941">
I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
- </a></dt><dt>Q: <a href="#id3031193">
+ </a></dt><dt>Q: <a href="#id2655027">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id3031243">
+ </a></dt><dt>Q: <a href="#id2655078">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id3031304">
+ </a></dt><dt>Q: <a href="#id2655139">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id3031395">
+ </a></dt><dt>Q: <a href="#id2655229">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id3031462">
+ </a></dt><dt>Q: <a href="#id2655296">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id3031522">
+ </a></dt><dt>Q: <a href="#id2655357">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id3031566">
+ </a></dt><dt>Q: <a href="#id2655400">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id3031674">
+ </a></dt><dt>Q: <a href="#id2655508">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id3031765">
+ </a></dt><dt>Q: <a href="#id2655600">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id3031854">
+ </a></dt><dt>Q: <a href="#id2655688">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id3031902">
+ </a></dt><dt>Q: <a href="#id2655736">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id3031958">
+ </a></dt><dt>Q: <a href="#id2655793">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id3032030">
+ </a></dt><dt>Q: <a href="#id2655866">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id3032061">
+ </a></dt><dt>Q: <a href="#id2655896">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id3032145">
+ </a></dt><dt>Q: <a href="#id2655980">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id3032216">
+ </a></dt><dt>Q: <a href="#id2656051">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id3032435">
+ </a></dt><dt>Q: <a href="#id2656269">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id3032503">
+ </a></dt><dt>Q: <a href="#id2656337">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id3032538">
+ </a></dt><dt>Q: <a href="#id2656372">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id3032592">
+ </a></dt><dt>Q: <a href="#id2656426">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id3032629">
+ </a></dt><dt>Q: <a href="#id2656464">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id3032738">
+ </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id2656572">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id3032771">
+ </a></dt><dt>Q: <a href="#id2656605">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id3032805">
+ </a></dt><dt>Q: <a href="#id2656639">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id3032855">
+ </a></dt><dt>Q: <a href="#id2656689">
How does SELinux affect third-party applications?
- </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id2997137">
+ </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id2618313">
What is SELinux?
- </a></dt><dt>Q: <a href="#id3000037">
+ </a></dt><dt>Q: <a href="#id2619811">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id3009439">
+ </a></dt><dt>Q: <a href="#id2619886">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id3009466">
+ </a></dt><dt>Q: <a href="#id2619913">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2993140">
+ </a></dt><dt>Q: <a href="#id2624427">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2993201">
+ </a></dt><dt>Q: <a href="#id2624488">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id3067314">
+ </a></dt><dt>Q: <a href="#id2624534">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2997137"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2618313"><label>Q:</label><div class="data"><div class="para">
What is SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux (<em class="firstterm">Security-Enhanced Linux</em>) in Fedora is an implementation of <em class="firstterm">mandatory access control</em> in the Linux kernel using the <em class="firstterm">Linux Security Modules</em> (<abbr class="abbrev">LSM</abbr>) framework. Standard Linux security is a <em class="firstterm">discretionary access control</em> model.
@@ -195,17 +197,17 @@
MAC under SELinux allows you to provide granular permissions for all <em class="firstterm">subjects</em> (users, programs, processes) and <em class="firstterm">objects</em> (files, devices). In practice, think of subjects as processes, and objects as the target of a process operation. You can safely grant a process only the permissions it needs to perform its function, and no more.
</div><div class="para">
The SELinux implementation uses <em class="firstterm">role-based access control</em> (<abbr class="abbrev">RBAC</abbr>), which provides abstracted user-level control based on roles, and <em class="firstterm"><span class="trademark">Type Enforcement</span>®</em> (<abbr class="abbrev">TE</abbr>). TE uses a table, or <em class="firstterm">matrix</em> to handle access controls, enforcing policy rules based on the types of processes and objects. Process types are called <em class="firstterm">domains</em>, and a cross-reference on the matrix of the process's domain and the object's type defines their interaction. This system provides extremely granular control for actors in a Linux system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3000037"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2619811"><label>Q:</label><div class="data"><div class="para">
What is SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The SELinux policy describes the access permissions for all subjects and objects, that is, the entire system of users, programs, and processes and the files and devices they act upon. Fedora policy is delivered in a package, with an associated source package. Current shipping policy packages are:
</div><div class="variablelist"><dl><dt><span class="term"><code class="filename">selinux-policy-<em class="replaceable"><code><version></code></em>.noarch.rpm</code></span></dt><dd><div class="para">
This package is common to all types of policy and contains config files/man pages. This includes the interface files for the development environment. This replaces the -sources package from the past. This package contains the interface files used in Reference Policy along with a Makefile and a small tool called <code class="command">sepolgen</code> used to generate a policy template file. The interface files reside in <code class="filename">/usr/share/selinux/devel/include</code> directory. If you want to see all of the policy files used to build the Reference Policy you need to install the src.rpm.
- </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3009439"><label>Q:</label><div class="data"><div class="para">
+ </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id2619886"><label>Q:</label><div class="data"><div class="para">
What happened to the strict policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Strict policy since Red Hat Enterprise Linux 5 and Fedora Core 5 has been the equivalent of targeted policy with the unconfined domains removed. This means all users had to have a type defined for them like staff_t or user_t. Also, all processes started by init would need to have policy written for them. As of Fedora Core 9, the strict policy was removed and merged into targeted policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3009466"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2619913"><label>Q:</label><div class="data"><div class="para">
What programs are protected by the SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The number of programs that have SELinux policy defined for them is constantly changing and evolving. Different versions of policy have more or less executables covered. By convention all confined executables have a label type that ends with exec_t. The SELinux tools package (setools) includes the seinfo application which allows you to examine the installed policy.
@@ -219,13 +221,13 @@
The <em class="firstterm">Reference Policy</em> is a new project maintained by Tresys Technology (<a href="http://www.tresys.com/">http://www.tresys.com/</a>) designed to rewrite the entire SELinux policy in a way that is easier to use and understand. To do this, it uses the concepts of modularity, abstraction, and well-defined interfaces. Refer to <a href="http://oss.tresys.com/">http://oss.tresys.com/</a> for more information on the Reference Policy.
</div><div class="para">
Note that Reference Policy is not a new type of policy. Rather, it is a new base that policies can be built from.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2993140"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2624427"><label>Q:</label><div class="data"><div class="para">
What are file contexts?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
<em class="firstterm">File contexts</em> are used by the <code class="command">setfiles</code> command to generate persistent labels which describe the security context for a file or directory.
</div><div class="para">
Fedora ships with the <code class="command">fixfiles</code> script, which supports three options: <code class="option">check</code>, <code class="option">restore</code>, and <code class="option">relabel</code>. This script allows users to relabel the file system without having the <code class="filename">selinux-policy-targeted-sources</code> package installed. The command line usage is more friendly than the standard <code class="command">setfiles</code> command.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2993201"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2624488"><label>Q:</label><div class="data"><div class="para">
How do I view the security context of a file, user, or process?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The new option <code class="option">-Z</code> is the short method for displaying the context of a subject or object:
@@ -233,7 +235,7 @@
<code class="command">ls -alZ <em class="replaceable"><code>file.foo</code></em> </code>
<code class="computeroutput">id -Z</code>
<code class="computeroutput">ps -eZ</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3067314"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2624534"><label>Q:</label><div class="data"><div class="para">
What is the difference between a <em class="firstterm">domain</em> and a <em class="firstterm">type</em>?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is no difference between a domain and a type, although domain is sometimes used to refer to the type of a process. The use of domain in this way stems from Domain and Type Enforcement (DTE) models, where domains and types are separate.
@@ -255,45 +257,45 @@
A library, <code class="filename">libsemanage</code>, exists to provide userspace tools an interface to making policy management easier. All policy management should use this library to access the policy store. The policy store holds all the policy information, and is found at <code class="filename">/etc/selinux/<em class="replaceable"><code>policyname</code></em>/modules/</code>.
</div><div class="para">
You should never have to edit the store directly. Instead, you should use tools that link against libsemanage. One example tool is <code class="command">semanage</code>, which is a command line tool for managing much of the policy such as SELinux user mappings, SELinux port mappings, and file contexts entries. Other examples of tools that use libsemanage include <code class="command">semodule</code> which uses it to manage the SELinux policy modules installed to the policy store and <code class="command">setsebool</code> which uses it manage SELinux policy booleans. Additionally, graphical tools are currently being developed to utilize the functionality provided by libsemanage.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id3041991">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3041997">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id2687997">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id2688003">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id3042024">
+ </a></dt><dt>Q: <a href="#id2688030">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id3042460">
+ </a></dt><dt>Q: <a href="#id2694800">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id3029665">
+ </a></dt><dt>Q: <a href="#id2694972">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id3029908">
+ </a></dt><dt>Q: <a href="#id2653743">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id3030095">
+ </a></dt><dt>Q: <a href="#id2653929">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id3030317">
+ </a></dt><dt>Q: <a href="#id2654151">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id3030380">
+ </a></dt><dt>Q: <a href="#id2654215">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id3030481">
+ </a></dt><dt>Q: <a href="#id2654315">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id3030514">
+ </a></dt><dt>Q: <a href="#id2654348">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id3030560">
+ </a></dt><dt>Q: <a href="#id2654394">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id3030586">
+ </a></dt><dt>Q: <a href="#id2654421">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id3030616">
+ </a></dt><dt>Q: <a href="#id2654451">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id3030700">
+ </a></dt><dt>Q: <a href="#id2654534">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3041997"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2688003"><label>Q:</label><div class="data"><div class="para">
How do I install/not install SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The installer follows the choice you make in the <span class="guilabel"><strong>Firewall Configuration</strong></span> screen. The default running policy is the targeted policy, and it is on by default.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3042024"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2688030"><label>Q:</label><div class="data"><div class="para">
As an administrator, what do I need to do to configure SELinux for my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The answer might be nothing! There are many Fedora users that don't even realize that they are using SELinux. SELinux provides protection for their systems with an out-of-the-box configuration. That said, there are a couple of things an administrator might want to do to configure their system. These include:
@@ -362,7 +364,7 @@
<code class="computeroutput"># semodule -i local.pp</code>
</pre></li></ol></div><div class="note"><h2>Module are uniquely identified by name</h2><div class="para">
This means that if you later insert another <code class="filename">local.pp</code>, it will replace the one you just loaded. So, you should keep this <code class="filename">local.te</code> around, and just add to it if you need to make later policy customizations. If you lose it, but want to keep your previous policy around, just call the new local policy module something else (say local2.te).
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3042460"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2694800"><label>Q:</label><div class="data"><div class="para">
I have some avc denials that I would like to allow, how do I do this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you have specific AVC messages you can use <code class="command">audit2allow</code> to generate a Type Enforcement file that is ready to load as a policy module.
@@ -397,7 +399,7 @@
In order to load this newly created policy package into the kernel, you are required to execute <code class="command">semodule -i local.pp</code>
</div><div class="para">
Note that if you later install another module called local, it will replace this module. If you want to keep these rules around, then you either need to append future customizations to this local.te, or give future customizations a different name.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3029665"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2694972"><label>Q:</label><div class="data"><div class="para">
How can I help write policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your help is definitely appreciated.
@@ -453,7 +455,7 @@
Verify the policy is good or fix it.
./mydaemon.sh
goto begin
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3029908"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2653743"><label>Q:</label><div class="data"><div class="para">
How do I switch the policy I am currently using?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="caution"><h2>Use caution when switching policy</h2><div class="para">
Other than trying out a new policy on a test machine for research purposes, you should seriously consider your situation before switching to a different policy on a production system. The act of switching is straightforward. This method is fairly safe, but you should try it first on a test system.
@@ -481,7 +483,7 @@
With the new system running in <code class="computeroutput">permissive</code> mode, check <code class="filename">/var/log/messages</code> for <code class="computeroutput">avc: denied</code> messages. These may indicate a problem that needs to be solved for the system to run without trouble under the new policy.
</div></li><li class="step" title="Step 5"><div class="para">
When you are satisfied that the system runs stable under the new policy, enable enforcing by changing <code class="computeroutput">SELINUX=enforcing</code>. You can either reboot or run <code class="command">setenforce 1</code> to turn enforcing on in real time.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3030095"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2653929"><label>Q:</label><div class="data"><div class="para">
How can I back up files from an SELinux file system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can now use the <code class="command">tar</code> command as normal, you no longer need to use <code class="command">star</code>.
@@ -510,7 +512,7 @@
You may notice at a later date that the user field, set here to <code class="computeroutput">user_u</code>, is changed to <code class="computeroutput">system_u</code>. This does not affect how the targeted policy works. The field that matters is the type field.
</div></li><li class="step" title="Step 3"><div class="para">
Your static webpages should now be served correctly. If you continue to have errors, ensure that the Boolean which enables user home directories is enabled. You can set it using <code class="command">system-config-selinux</code>. Select the <span class="guilabel"><strong>SELinux</strong></span> tab, and then select the <span class="guilabel"><strong>Modify SELinux Policy</strong></span> area. Select <code class="computeroutput">Allow HTTPD to read home directories</code>. The changes take effect immediately.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3030317"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2654151"><label>Q:</label><div class="data"><div class="para">
How do I turn SELinux off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Set <code class="computeroutput">SELINUX=disabled</code> in <code class="filename">/etc/selinux/config</code>.
@@ -518,7 +520,7 @@
Alternatively, you can add <code class="option">selinux=0</code> to your kernel boot parameters. However, this option is not recommended.
</div><div class="caution"><h2>Be careful when disabling SELinux</h2><div class="para">
If you boot with <code class="option">selinux=0</code>, any files you create while SELinux is disabled do not have SELinux context information. The file system is marked for relabeling at the next boot. If an unforeseen problem prevents you from rebooting normally, you may need to boot in single-user mode for recovery. Add the option <code class="option">emergency</code> to your kernel boot parameters.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3030380"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2654215"><label>Q:</label><div class="data"><div class="para">
How do I turn enforcing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can specify the SELinux mode using the configuration file <code class="filename">/etc/sysconfig/selinux</code>.
@@ -539,25 +541,25 @@
However, setting the value to <code class="computeroutput">disabled</code> is not the same as the <code class="option">selinux=0</code> kernel boot parameter. Rather than fully disabling SELinux in the kernel, the <code class="computeroutput">disabled</code> setting instead turns enforcing off and skips loading a policy.
</div><div class="important"><h2>SELinux Configuration Precedence</h2><div class="para">
The command line kernel parameter overrides the configuration file.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3030481"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2654315"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off enforcing mode without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Occasionally you may need to perform an action that is normally prevented by policy. Run the command <code class="command">setenforce 0</code> to turn off enforcing mode in real time. When you are finished, run <code class="command">setenforce 1</code> to turn enforcing back on.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030514"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654348"><label>Q:</label><div class="data"><div class="para">
How do I turn system call auditing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Add <code class="option">audit=1</code> to your kernel command line to turn system call auditing on. Add <code class="option">audit=0</code> to your kernel command line to turn system call auditing off.
</div><div class="para">
System-call auditing is <span class="emphasis"><em>on</em></span> by default. When on, it provides information about the system call that was executing when SELinux generated a <code class="computeroutput">denied</code> message. The error message is helpful when debugging policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030560"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654394"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off system-call auditing without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Run <code class="command">auditctl -e 0</code>. Note that this command does not affect auditing of SELinux AVC denials.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030586"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654421"><label>Q:</label><div class="data"><div class="para">
How do I get status info about my SELinux installation?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
As root, execute the command <code class="command">/usr/sbin/sestatus -v</code>. For more information, refer to the <code class="filename">sestatus(8)</code> manual page.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030616"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654451"><label>Q:</label><div class="data"><div class="para">
How do I write policy to allow a domain to use pam_unix.so?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Very few domains in the SELinux world are allowed to read the <code class="filename">/etc/shadow</code> file. There are constraint rules that prevent policy writers from writing code like
@@ -573,7 +575,7 @@
In Fedora and Red Hat Enterprise Linux 5 and above, add the rule
</div><pre class="screen">
<code class="command">auth_domtrans_chk_passwd(vsftpd_t)</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3030700"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2654534"><label>Q:</label><div class="data"><div class="para">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to execute the command <code class="command">semodule -i myapp.pp</code>. This modifies the policy that is stored on the machine. Your policy module now is loaded with the rest of the policy. You can even remove the pp file from the system.
@@ -583,63 +585,63 @@
<code class="computeroutput">#semodule -i myapp 1.2.1</code>
</pre><div class="para">
If you later would like to remove the policy package, you can execute <code class="command">semodule -r myapp</code>.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id3030762">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id2654596">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id3030799">
+ </a></dt><dt>Q: <a href="#id2654634">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id3030886">
+ </a></dt><dt>Q: <a href="#id2654720">
Why doesn't SELinux give me the full path in an error message?
- </a></dt><dt>Q: <a href="#id3031106">
+ </a></dt><dt>Q: <a href="#id2654941">
I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
- </a></dt><dt>Q: <a href="#id3031193">
+ </a></dt><dt>Q: <a href="#id2655027">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id3031243">
+ </a></dt><dt>Q: <a href="#id2655078">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id3031304">
+ </a></dt><dt>Q: <a href="#id2655139">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id3031395">
+ </a></dt><dt>Q: <a href="#id2655229">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id3031462">
+ </a></dt><dt>Q: <a href="#id2655296">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id3031522">
+ </a></dt><dt>Q: <a href="#id2655357">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id3031566">
+ </a></dt><dt>Q: <a href="#id2655400">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id3031674">
+ </a></dt><dt>Q: <a href="#id2655508">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id3031765">
+ </a></dt><dt>Q: <a href="#id2655600">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id3031854">
+ </a></dt><dt>Q: <a href="#id2655688">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id3031902">
+ </a></dt><dt>Q: <a href="#id2655736">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id3031958">
+ </a></dt><dt>Q: <a href="#id2655793">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id3032030">
+ </a></dt><dt>Q: <a href="#id2655866">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id3032061">
+ </a></dt><dt>Q: <a href="#id2655896">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id3032145">
+ </a></dt><dt>Q: <a href="#id2655980">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id3032216">
+ </a></dt><dt>Q: <a href="#id2656051">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id3032435">
+ </a></dt><dt>Q: <a href="#id2656269">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id3032503">
+ </a></dt><dt>Q: <a href="#id2656337">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id3032538">
+ </a></dt><dt>Q: <a href="#id2656372">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id3032592">
+ </a></dt><dt>Q: <a href="#id2656426">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id3032629">
+ </a></dt><dt>Q: <a href="#id2656464">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3030762"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2654596"><label>Q:</label><div class="data"><div class="para">
Where are SELinux AVC messages (denial logs, etc.) stored?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Messages can be found in <code class="filename">/var/log/messages</code> unless you choose to install and enable the <code class="systemitem">audit</code> daemon, in which case AVC messages will be in <code class="filename">/var/log/audit/audit.log</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030799"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654634"><label>Q:</label><div class="data"><div class="para">
My application isn't working as expected and I am seeing <code class="computeroutput">avc: denied</code> messages. How do I fix this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This message means that the current SELinux policy is not allowing the application to do something. There are a number of reasons this could happen.
@@ -649,7 +651,7 @@
Denials are sometimes due to a configuration change in the program that triggered the denial message. For example, if you change Apache to also listen on port 8800, you must also change the security policy, <code class="filename">apache.te</code>.
</div><div class="para">
If you are having trouble getting a specific application like Apache to work, refer to <a class="xref" href="#qa-using-s-c-securitylevel" title="Q:">How to use system-config-selinux</a> for information on disabling enforcement just for that application.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030886"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654720"><label>Q:</label><div class="data"><div class="para">
Why doesn't SELinux give me the full path in an error message?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
To answer this, let's first examine the structure of a typical SELinux AVC error message. Items of note in this example are in <code class="computeroutput">bold</code>:
@@ -682,7 +684,7 @@
<span class="package">setroubleshoot</span> then uses <code class="command">stat</code> to get the inode of of each file returned and compares it to the values in the AVC message; if they match, it analyzes the full path. Of course, you need to have the <span class="package">mlocate</span> package installed and running via <code class="systemitem">cron</code> to gather these paths.
</div><div class="para">
Refer to <a href="http://danwalsh.livejournal.com/34903.html">http://danwalsh.livejournal.com/34903.html</a> for further details on this topic.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031106"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2654941"><label>Q:</label><div class="data"><div class="para">
I installed on a system with a pre-existing <code class="filename">/home</code> partition, and now I can't log in. What do I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your <code class="filename">/home</code> partition is not labeled correctly. You can easily fix this two different ways.
@@ -696,11 +698,11 @@
<code class="command">/sbin/fixfiles relabel</code>
</pre><div class="para">
You must have the <code class="filename">policycoreutils</code> package installed to use <code class="command">fixfiles</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031193"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655027"><label>Q:</label><div class="data"><div class="para">
After relabeling my <code class="filename">/home</code> using <code class="command">setfiles</code> or <code class="command">fixfiles</code>, am I still be able to read <code class="filename">/home</code> with a non-SELinux-enabled system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can read the files from a non-SELinux distribution, or one with SELinux disabled. However, files created by a system not using SELinux systems do not have a security context, nor do any files you remove and recreate. This could be a challenge with files such as <code class="filename">~/.bashrc</code>. You may have to relabel <code class="filename">/home</code> when you reboot the SELinux enabled Fedora system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031243"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655078"><label>Q:</label><div class="data"><div class="para">
How do I share directories using NFS between Fedora and non-SELinux systems?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Just as NFS transparently supports many file system types, it can be used to share directories between SELinux and non-SELinux systems.
@@ -710,7 +712,7 @@
<code class="command">mount -t nfs -o context=system_u:object_r:tmp_t server:/shared/foo /mnt/foo</code>
</pre><div class="para">
When SELinux exports a file system via NFS, newly created files have the context of the directory they were created in. In other words, the presence of SELinux on the remote mounting system has no effect on the local security contexts.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031304"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655139"><label>Q:</label><div class="data"><div class="para">
How can I create a new Linux user account with the user's home?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can create your new user with the standard <code class="command">useradd</code> command. First you must become <code class="systemitem">root</code>.
@@ -725,13 +727,13 @@
<code class="computeroutput">drwx------ auser auser root:object_r:user_home_dir_t /home/auser</code>
</pre><div class="para">
The initial context for a new user directory has an identity of <code class="computeroutput">root</code>. Subsequent relabeling of the file system changes the identity to <code class="computeroutput">system_u</code>. These are functionally the same since the role and type are identical (<code class="computeroutput">object_r:user_home_dir_t</code>.)
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031395"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655229"><label>Q:</label><div class="data"><div class="para">
Does the <code class="command">su</code> command change my SELinux identity and role?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
In older versions of Fedora, security context transitions were integrated into the <code class="command">su</code> via <code class="computeroutput">pam_selinux</code>. This turned out to be more trouble than it was worth, and is quite unnecessary on a system running targeted policy. So, this is no longer the case. Now, <code class="command">su</code>/<code class="command">sudo</code> only change the Linux identity. You will need to use <code class="command">newrole</code> to change the SELinux identity, role, or level.
</div><div class="para">
Other forms of Linux/<span class="trademark">UNIX</span>® identity change, for example <code class="command">setuid(2)</code>, also do not cause an SELinux identity change.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031462"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655296"><label>Q:</label><div class="data"><div class="para">
I'm having troubles with <code class="command">avc</code> errors filling my logs for a particular program. How do I choose not to audit the access for it?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you wanted to not audit <code class="command">dmesg</code>, for example, you would put this in your <code class="filename">dmesg.te</code> file:
@@ -739,13 +741,13 @@
<strong class="userinput"><code>dontaudit dmesg_t userdomain:fd { use };</code></strong>
</pre><div class="para">
This eliminates the error output to the terminal for all user domains, including <code class="varname">user</code>, <code class="varname">staff</code> and <code class="varname">sysadm</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031522"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655357"><label>Q:</label><div class="data"><div class="para">
Even running in permissive mode, I'm getting a large number of <code class="computeroutput">avc denied</code> messages.
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
In a non-enforcing mode, you should actually receive <span class="emphasis"><em>more</em></span> messages than in enforcing mode. The kernel logs each access denial as if you were in an enforcing mode. Since you are not restricted by policy enforcement, you can perform more actions, which results in more denials being logged.
</div><div class="para">
If an application running under an enforcing mode is denied access to read a number of files in a directory, it is stopped once at the beginning of the action. In a non-enforcing mode, the application is not stopped from traversing the directory tree, and generates a denial message for each file read in the directory.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031566"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655400"><label>Q:</label><div class="data"><div class="para">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in <code class="filename">/var/log/messages</code> (or <code class="filename">/var/log/audit/audit.log</code> if using the audit daemon). How can I identify the cause of these silent denials?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The most common reason for a silent denial is when the policy contains an explicit <code class="computeroutput">dontaudit</code> rule to suppress audit messages. The <code class="computeroutput">dontaudit</code> rule is often used this way when a benign denial is filling the audit logs.
@@ -761,7 +763,7 @@
Once you have found your problem you can reset to the default mode by executing
</div><pre class="screen">
<code class="command">semodule -b /usr/share/selinux/targeted/base.pp</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3031674"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655508"><label>Q:</label><div class="data"><div class="para">
Why do I not see the output when I run certain daemons in debug or interactive mode?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux intentionally disables access to the tty devices to stop daemons from communicating back with the controlling terminal. This communication is a potential security hole because such daemons could insert commands into the controlling terminal. A broken or compromised program could use this hole to cause serious problems.
@@ -773,7 +775,7 @@
When debugging a daemon, you may want to turn off the transition of the daemon to its specific domain. You can do this using <code class="command">system-config-selinux</code> or <code class="command">setsebool</code> on the command line.
</div><div class="para">
A final option is to turn off enforcing mode while debugging. Issue the command <code class="command">setenforce 0</code> to turn off enforcing mode, and use the command <code class="command">setenforce 1</code> to re-enable SELinux when you are finished debugging.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031765"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655600"><label>Q:</label><div class="data"><div class="para">
When I do an upgrade of the policy package (for example, using <code class="command">yum</code>), what happens with the policy? Is it updated automatically?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Policy reloads itself when the package is updated. This behavior replaces the manual <code class="command">make load</code>.
@@ -789,25 +791,25 @@
Alternately, use the <code class="filename">/.autorelabel</code> mechanism:
</div><pre class="screen">
<code class="command">touch /.autorelabel reboot</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3031854"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655688"><label>Q:</label><div class="data"><div class="para">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Yes. The security contexts for the files owned by the package are stored in the header data for the package. The file contexts are set directly after the <code class="command">cpio</code> copy, as the package files are being put on the disk.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031902"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655736"><label>Q:</label><div class="data"><div class="para">
Why do binary policies distributed with Fedora, such as <code class="filename">/etc/selinux/<em class="replaceable"><code><policyname></code></em>/policy/policy.<em class="replaceable"><code><version></code></em></code>, and those I compile myself have different sizes and MD5 checksums?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
When you install a policy package, pre-compiled binary policy files are put directly into <code class="filename">/etc/selinux</code>. The different build environments will make target files that have different sizes and MD5 checksums.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3031958"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655793"><label>Q:</label><div class="data"><div class="para">
Will new policy packages disable my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is a possibility that changes in the policy package or in the policy shipping with an application package can cause errors, more denials, or other unknown behaviors. You can discover which package caused the breakage by reverting policy and application packages one at a time. If you don't want to return to the previous package, the older version of the configuration files will be saved with the extension <code class="filename">.rpmsave</code>. Use the mailing lists, bugzilla, and IRC to help you work through your problem. If you are able, write or fix policy to resolve your problem.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032030"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655866"><label>Q:</label><div class="data"><div class="para">
My console is being flooded with messages. How do I turn them off?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
To regain useful control, turn off kernel messages to the console with this command:
</div><pre class="screen">
<code class="command">dmesg -n 1</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032061"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2655896"><label>Q:</label><div class="data"><div class="para">
Can I test the default policy without installing the policy source?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can test SELinux default policy by installing just the <code class="filename">selinux-policy-<em class="replaceable"><code>policyname</code></em></code> and <code class="filename">policycoreutils</code> packages. Without the policy source installed, the <code class="command">fixfiles</code> command automates the file system relabeling.
@@ -815,7 +817,7 @@
The command <code class="command">fixfiles relabel</code> is the equivalent of <code class="command">make relabel</code>. During the relabeling, it will delete all of the files in <code class="filename">/tmp</code>, cleaning up files which may have old file context labels.
</div><div class="para">
Other commands are <code class="command">fixfiles check</code>, which checks for mislabeled files, and <code class="command">fixfiles restore</code>, which fixes the mislabeled files but does not delete the files in <code class="filename">/tmp</code>. The <code class="command">fixfiles</code> command does not take a list of directories as an argument, because it relabels the entire file system. If you need to relabel a specific directory path, use <code class="command">restorecon</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032145"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2655980"><label>Q:</label><div class="data"><div class="para">
Why are some of my KDE applications having trouble under SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
KDE executables always appear as <code class="command">kdeinit</code>, which limits what can be done with SELinux policy. This is because every KDE application runs in the domain for <code class="command">kdeinit</code>.
@@ -827,7 +829,7 @@
<code class="command">rm -rf /var/tmp/kdecache-<em class="replaceable"><code><username></code></em> rm -rf /var/tmp/<em class="replaceable"><code><other_kde_files></code></em></code>
</pre><div class="para">
At your next login, your problem should be fixed.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032216"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656051"><label>Q:</label><div class="data"><div class="para">
Why does <code class="option">SELINUX=disabled</code> not work for me?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Be careful of white space in the file <code class="filename">/etc/sysconfig/selinux</code>. The code is very sensitive to white space, even trailing space.
@@ -855,7 +857,7 @@
A boolean for each one of these memory check errors have been provided. So if you need to run an application requiring either of these permissions, you can set the boolean allow_exec* to fix the problem. For instance if you try to run an application and you get an AVC message containing an <code class="computeroutput">execstack</code> failure. You can set the Boolean with:
</div><pre class="screen">
<code class="command">setsebool -P allow_execstack=1</code>
-</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3032435"><label>Q:</label><div class="data"><div class="para">
+</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id2656269"><label>Q:</label><div class="data"><div class="para">
What do these rpm errors mean?
</div></div></div><div class="answer"><label>A:</label><div class="data"><pre class="screen">
restorecon reset /etc/modprobe.conf context system_u:object_r:etc_runtime_t->system_u:object_r:modules_conf_t
@@ -866,25 +868,25 @@
<code class="computeroutput">libsepol.sepol_genbools_array: boolean hidd_disable_trans no longer in policy</code>
</pre><div class="para">
This indicates that the updated policy has removed the boolean from policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032503"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656337"><label>Q:</label><div class="data"><div class="para">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can use the <code class="command">semanage</code> command to define additional ports. So say you want httpd to be able to listen on port 8082. You could enter the command.
</div><pre class="screen">
<code class="command">semanage port -a -p tcp -t http_port_t 8082</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032538"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2656372"><label>Q:</label><div class="data"><div class="para">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
First, you should never allow a system service to execute anything it can write. This gives an attacker the ability to upload malicious code to the server and then execute it, which is something we want to prevent.
</div><div class="para">
If you merely need to allow your script to create (non-executable) files, this is possible. That said, you should avoid having system applications writing to the <code class="filename">/tmp</code> directory, since users tend to use the <code class="filename">/tmp</code> directory also. It would be better to create a directory elsewhere which could be owned by the apache process and allow your script to write to it. You should label the directory <code class="computeroutput">httpd_sys_script_rw_t</code>, which will allow apache to read and write files to that directory. This directory could be located anywhere that apache can get to (even <code class="filename">$HOME/public_html/</code>).
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032592"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656426"><label>Q:</label><div class="data"><div class="para">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to identify the swapfile to SELinux by setting its file context to <code class="computeroutput">swapfile_t</code>.
</div><pre class="screen">
<code class="command">chcon -t swapfile_t <em class="replaceable"><code>SWAPFILE</code></em></code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032629"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id2656464"><label>Q:</label><div class="data"><div class="para">
Please explain the <code class="computeroutput">relabelto</code>/<code class="computeroutput">relabelfrom</code> permissions?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
For files, <code class="computeroutput">relabelfrom</code> means "Can domain D relabel a file from (i.e. currently in) type T1?" and <code class="computeroutput">relabelto</code> means "Can domain D relabel a file to type T2?", so both checks are applied upon a file relabeling, where T1 is the original type of the type and T2 is the new type specified by the program.
@@ -896,25 +898,25 @@
Implementing SELinux as an LSM technical report (describes permission checks on a per-hook basis) <a href="http://www.nsa.gov/selinux/papers/module-abs.cfm">http://www.nsa.gov/selinux/papers/module-abs.cfm</a>. This is also available in the selinux-doc package (and more up-to-date there).
</div></li><li class="listitem"><div class="para">
Integrating Flexible Support for Security Policies into the Linux Operating System - technical report (describes original design and implementation, including summary tables of classes, permissions, and what permission checks are applied to what system calls. It is not entirely up-to-date with current implementation, but a good resource nonetheless). <a href="http://www.nsa.gov/selinux/papers/slinux-abs.cfm">http://www.nsa.gov/selinux/papers/slinux-abs.cfm</a>
- </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3032738">
+ </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id2656572">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id3032771">
+ </a></dt><dt>Q: <a href="#id2656605">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id3032805">
+ </a></dt><dt>Q: <a href="#id2656639">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id3032855">
+ </a></dt><dt>Q: <a href="#id2656689">
How does SELinux affect third-party applications?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3032738"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2656572"><label>Q:</label><div class="data"><div class="para">
What file systems can I use for SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The file system must support <code class="computeroutput">xattr</code> labels in the right <em class="parameter"><code>security.*</code></em> namespace. In addition to ext2/ext3/ext4, XFS has recently added support for the necessary labels.
</div><div class="para">
Note that XFS SELinux support was broken in the upstream Linux kernel versions 2.6.14 and 2.6.15, but fixed (worked around) in version 2.6.16. Your kernel must be of this version or later if you choose to use XFS with SELinux.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032771"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656605"><label>Q:</label><div class="data"><div class="para">
How does SELinux impact system performance?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This is a metric that is hard to measure, and is heavily dependent on the tuning and usage of the system running SELinux. When performance was last measured, the impact was around 7% for completely untuned code. Subsequent changes in system components such as networking are likely to have made that worse in some cases. SELinux performance tuning continues to be a priority of the development team.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032805"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656639"><label>Q:</label><div class="data"><div class="para">
What types of deployments, applications, and systems should I leverage SELinux in?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Initially, SELinux has been used on Internet facing servers that are performing a few specialized functions, where it is critical to keep extremely tight security. Administrators typically strip such a box of all extra software and services, and run a very small, focused set of services. A Web server or mail server is a good example.
@@ -922,7 +924,7 @@
In these edge servers, you can lock down the policy very tightly. The smaller number of interactions with other components makes such a lock down easier. A dedicated system running a specialized third-party application would also be a good candidate.
</div><div class="para">
In the future, SELinux will be targeted at all environments. In order to achieve this goal, the community and <em class="firstterm">independent software vendors</em> (<abbr class="abbrev">ISV</abbr>s) must work with the SELinux developers to produce the necessary policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3032855"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2656689"><label>Q:</label><div class="data"><div class="para">
How does SELinux affect third-party applications?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
One goal of implementing a targeted SELinux policy in Fedora is to allow third-party applications to work without modification. The targeted policy is transparent to those unaddressed applications, and it falls back on standard Linux DAC security. These applications, however, will not be running in an extra-secure manner. You or another provider must write policy to protect these applications with MAC security.
14 years, 2 months
web/html/docs/selinux-faq index.html,1.2,1.3
by sradvan
Author: sradvan
Update of /cvs/fedora/web/html/docs/selinux-faq
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30519
Modified Files:
index.html
Log Message:
add sepolgen and avc/syscall analysis, other minor fixes
Index: index.html
===================================================================
RCS file: /cvs/fedora/web/html/docs/selinux-faq/index.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.html 21 Jan 2010 03:33:24 -0000 1.2
+++ index.html 22 Jan 2010 01:09:15 -0000 1.3
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>SELinux FAQ</title><link rel="stylesheet" href="./Common_Content/css/default.css" type="text/css" /><meta name="generator" content="publican 1.3" /><meta name="package" content="Fedora-SELinux_FAQ-12-en-US-0-0" /><meta name="description" content="This FAQ answers many questions about Security-Enhanced Linux. The information in this FAQ is valuable for those who are new to SELinux." /></head><body class=""><p id="title"><a class="left" href="http://www.fedoraproject.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.fedoraproject.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><div xml:lang="en-US" class="article" title="SELinux FAQ" lang="en-US"><div class="titlepage"><div><div class="producttitle"><span class="productname">Fedora</span> <span class="
productnumber">12</span></div><div><h1 id="chap-SELinux-FAQ-FAQ" class="title">SELinux FAQ</h1></div><div><h2 class="subtitle">Frequently-asked questions about Security Enhanced Linux</h2></div><div><h3 class="corpauthor">
<span class="inlinemediaobject"><object data="Common_Content/images/title_logo.svg" type="image/svg+xml"> </object></span>
- </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id3115757" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
+ </h3></div><div><div xml:lang="en-US" class="authorgroup" lang="en-US"><div class="author"><h3 class="author"><span class="firstname">Karsten</span> <span class="surname">Wade</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:quaid@fedoraproject.org">quaid(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Paul W.</span> <span class="surname">Frields</span></h3><div class="affiliation"><span class="orgname">Fedora</span> <span class="orgdiv">Documentation Project</span></div><code class="email"><a class="email" href="mailto:pfrields@fedoraproject.org">pfrields(a)fedoraproject.org</a></code></div><div class="author"><h3 class="author"><span class="firstname">Scott</span> <span class="surname">Radvan</span></h3><div class="affiliation"><span class="orgname">Red Hat</span> <span class="orgdiv">Engineering Con
tent Services</span></div><code class="email"><a class="email" href="mailto:sradvan@redhat.com">sradvan(a)redhat.com</a></code></div></div></div><div><div id="id3180313" class="legalnotice"><h1 class="legalnotice">Legal Notice</h1><div class="para">
Copyright <span class="trademark"></span>© 2010 Red Hat, Inc..
</div><div class="para">
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at <a href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a>. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
@@ -45,139 +45,141 @@
Fedora mailing list — <a href="mailto:fedora-selinux-list@redhat.com">mailto:fedora-selinux-list@redhat.com</a>; read the archives or subscribe at <a href="http://www.redhat.com/mailman/listinfo/fedora-selinux-list">http://www.redhat.com/mailman/listinfo/fedora-selinux-list</a>
</div></li><li class="listitem"><div class="para">
On IRC - irc.freenode.net, #fedora-selinux and #selinux
- </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id3022703"><dl><dt></dt><dd><dl><dt>Q: <a href="#id3022708">
+ </div></li></ul></div><div class="section" title="1. SELinux"><div class="titlepage"><div><div><h2 class="title" id="SELinux_FAQ-FAQ-SELinux">1. SELinux</h2></div></div></div><div class="qandaset" title="Frequently Asked Questions" id="id2997132"><dl><dt></dt><dd><dl><dt>Q: <a href="#id2997137">
What is SELinux?
- </a></dt><dt>Q: <a href="#id2952428">
+ </a></dt><dt>Q: <a href="#id3000037">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id2948223">
+ </a></dt><dt>Q: <a href="#id3009439">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id2948251">
+ </a></dt><dt>Q: <a href="#id3009466">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2953893">
+ </a></dt><dt>Q: <a href="#id2993140">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2953953">
+ </a></dt><dt>Q: <a href="#id2993201">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id3078024">
+ </a></dt><dt>Q: <a href="#id3067314">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></dd><dt>1.2. <a href="#id3016692">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id3016698">
+ </a></dt></dl></dd><dt>1.2. <a href="#id3041991">Controlling SELinux</a></dt><dd><dl><dt>Q: <a href="#id3041997">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id3016724">
+ </a></dt><dt>Q: <a href="#id3042024">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id3017163">
+ </a></dt><dt>Q: <a href="#id3042460">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id2993909">
+ </a></dt><dt>Q: <a href="#id3029665">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id2994188">
+ </a></dt><dt>Q: <a href="#id3029908">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id2994374">
+ </a></dt><dt>Q: <a href="#id3030095">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id2994596">
+ </a></dt><dt>Q: <a href="#id3030317">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id2994660">
+ </a></dt><dt>Q: <a href="#id3030380">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id2994760">
+ </a></dt><dt>Q: <a href="#id3030481">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id2994793">
+ </a></dt><dt>Q: <a href="#id3030514">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id2994839">
+ </a></dt><dt>Q: <a href="#id3030560">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id2994866">
+ </a></dt><dt>Q: <a href="#id3030586">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id2994896">
+ </a></dt><dt>Q: <a href="#id3030616">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id2994979">
+ </a></dt><dt>Q: <a href="#id3030700">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id2995041">
+ </a></dt></dl></dd><dt>1.3. <a href="#faq-div-resolving-problems">Resolving Problems</a></dt><dd><dl><dt>Q: <a href="#id3030762">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id2995078">
+ </a></dt><dt>Q: <a href="#id3030799">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id2995166">
- I installed Fedora on a system with an existing /home partition, and now I can't log in.
- </a></dt><dt>Q: <a href="#id2995253">
+ </a></dt><dt>Q: <a href="#id3030886">
+ Why doesn't SELinux give me the full path in an error message?
+ </a></dt><dt>Q: <a href="#id3031106">
+ I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
+ </a></dt><dt>Q: <a href="#id3031193">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id2995304">
+ </a></dt><dt>Q: <a href="#id3031243">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id2995365">
+ </a></dt><dt>Q: <a href="#id3031304">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id2995455">
+ </a></dt><dt>Q: <a href="#id3031395">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id2995522">
+ </a></dt><dt>Q: <a href="#id3031462">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id2995582">
+ </a></dt><dt>Q: <a href="#id3031522">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id2995626">
+ </a></dt><dt>Q: <a href="#id3031566">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id2995734">
+ </a></dt><dt>Q: <a href="#id3031674">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id2995825">
+ </a></dt><dt>Q: <a href="#id3031765">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id2995914">
+ </a></dt><dt>Q: <a href="#id3031854">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id2995992">
+ </a></dt><dt>Q: <a href="#id3031902">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id2996054">
+ </a></dt><dt>Q: <a href="#id3031958">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id2996090">
+ </a></dt><dt>Q: <a href="#id3032030">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id2996121">
+ </a></dt><dt>Q: <a href="#id3032061">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id2996205">
+ </a></dt><dt>Q: <a href="#id3032145">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id2996277">
+ </a></dt><dt>Q: <a href="#id3032216">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id3029652">
+ </a></dt><dt>Q: <a href="#id3032435">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id3029720">
+ </a></dt><dt>Q: <a href="#id3032503">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id3029755">
+ </a></dt><dt>Q: <a href="#id3032538">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id3029810">
+ </a></dt><dt>Q: <a href="#id3032592">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id3029847">
+ </a></dt><dt>Q: <a href="#id3032629">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id3029955">
+ </a></dt></dl></dd><dt>1.4. <a href="#faq-div-deploying-selinux">Deploying SELinux</a></dt><dd><dl><dt>Q: <a href="#id3032738">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id3029988">
+ </a></dt><dt>Q: <a href="#id3032771">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id3030022">
+ </a></dt><dt>Q: <a href="#id3032805">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id3030073">
+ </a></dt><dt>Q: <a href="#id3032855">
How does SELinux affect third-party applications?
- </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id3022708">
+ </a></dt></dl></dd></dl><div class="qandaset"><div class="toc"><dl><dt>Q: <a href="#id2997137">
What is SELinux?
- </a></dt><dt>Q: <a href="#id2952428">
+ </a></dt><dt>Q: <a href="#id3000037">
What is SELinux policy?
- </a></dt><dt>Q: <a href="#id2948223">
+ </a></dt><dt>Q: <a href="#id3009439">
What happened to the strict policy?
- </a></dt><dt>Q: <a href="#id2948251">
+ </a></dt><dt>Q: <a href="#id3009466">
What programs are protected by the SELinux policy?
</a></dt><dt>Q: <a href="#faq-entry-whatis-refpolicy">
What is the Reference Policy?
- </a></dt><dt>Q: <a href="#id2953893">
+ </a></dt><dt>Q: <a href="#id2993140">
What are file contexts?
- </a></dt><dt>Q: <a href="#id2953953">
+ </a></dt><dt>Q: <a href="#id2993201">
How do I view the security context of a file, user, or process?
- </a></dt><dt>Q: <a href="#id3078024">
+ </a></dt><dt>Q: <a href="#id3067314">
What is the difference between a domain and a type?
</a></dt><dt>Q: <a href="#faq-entry-whatare-policy-modules">
What are policy modules?
</a></dt><dt>Q: <a href="#faq-entry-whatis-managed-policy">
What is managed policy?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3022708"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2997137"><label>Q:</label><div class="data"><div class="para">
What is SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux (<em class="firstterm">Security-Enhanced Linux</em>) in Fedora is an implementation of <em class="firstterm">mandatory access control</em> in the Linux kernel using the <em class="firstterm">Linux Security Modules</em> (<abbr class="abbrev">LSM</abbr>) framework. Standard Linux security is a <em class="firstterm">discretionary access control</em> model.
@@ -193,17 +195,17 @@
MAC under SELinux allows you to provide granular permissions for all <em class="firstterm">subjects</em> (users, programs, processes) and <em class="firstterm">objects</em> (files, devices). In practice, think of subjects as processes, and objects as the target of a process operation. You can safely grant a process only the permissions it needs to perform its function, and no more.
</div><div class="para">
The SELinux implementation uses <em class="firstterm">role-based access control</em> (<abbr class="abbrev">RBAC</abbr>), which provides abstracted user-level control based on roles, and <em class="firstterm"><span class="trademark">Type Enforcement</span>®</em> (<abbr class="abbrev">TE</abbr>). TE uses a table, or <em class="firstterm">matrix</em> to handle access controls, enforcing policy rules based on the types of processes and objects. Process types are called <em class="firstterm">domains</em>, and a cross-reference on the matrix of the process's domain and the object's type defines their interaction. This system provides extremely granular control for actors in a Linux system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2952428"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3000037"><label>Q:</label><div class="data"><div class="para">
What is SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The SELinux policy describes the access permissions for all subjects and objects, that is, the entire system of users, programs, and processes and the files and devices they act upon. Fedora policy is delivered in a package, with an associated source package. Current shipping policy packages are:
</div><div class="variablelist"><dl><dt><span class="term"><code class="filename">selinux-policy-<em class="replaceable"><code><version></code></em>.noarch.rpm</code></span></dt><dd><div class="para">
This package is common to all types of policy and contains config files/man pages. This includes the interface files for the development environment. This replaces the -sources package from the past. This package contains the interface files used in Reference Policy along with a Makefile and a small tool called <code class="command">sepolgen</code> used to generate a policy template file. The interface files reside in <code class="filename">/usr/share/selinux/devel/include</code> directory. If you want to see all of the policy files used to build the Reference Policy you need to install the src.rpm.
- </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id2948223"><label>Q:</label><div class="data"><div class="para">
+ </div></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3009439"><label>Q:</label><div class="data"><div class="para">
What happened to the strict policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Strict policy since Red Hat Enterprise Linux 5 and Fedora Core 5 has been the equivalent of targeted policy with the unconfined domains removed. This means all users had to have a type defined for them like staff_t or user_t. Also, all processes started by init would need to have policy written for them. As of Fedora Core 9, the strict policy was removed and merged into targeted policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2948251"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3009466"><label>Q:</label><div class="data"><div class="para">
What programs are protected by the SELinux policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The number of programs that have SELinux policy defined for them is constantly changing and evolving. Different versions of policy have more or less executables covered. By convention all confined executables have a label type that ends with exec_t. The SELinux tools package (setools) includes the seinfo application which allows you to examine the installed policy.
@@ -217,13 +219,13 @@
The <em class="firstterm">Reference Policy</em> is a new project maintained by Tresys Technology (<a href="http://www.tresys.com/">http://www.tresys.com/</a>) designed to rewrite the entire SELinux policy in a way that is easier to use and understand. To do this, it uses the concepts of modularity, abstraction, and well-defined interfaces. Refer to <a href="http://oss.tresys.com/">http://oss.tresys.com/</a> for more information on the Reference Policy.
</div><div class="para">
Note that Reference Policy is not a new type of policy. Rather, it is a new base that policies can be built from.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2953893"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2993140"><label>Q:</label><div class="data"><div class="para">
What are file contexts?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
<em class="firstterm">File contexts</em> are used by the <code class="command">setfiles</code> command to generate persistent labels which describe the security context for a file or directory.
</div><div class="para">
Fedora ships with the <code class="command">fixfiles</code> script, which supports three options: <code class="option">check</code>, <code class="option">restore</code>, and <code class="option">relabel</code>. This script allows users to relabel the file system without having the <code class="filename">selinux-policy-targeted-sources</code> package installed. The command line usage is more friendly than the standard <code class="command">setfiles</code> command.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2953953"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id2993201"><label>Q:</label><div class="data"><div class="para">
How do I view the security context of a file, user, or process?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The new option <code class="option">-Z</code> is the short method for displaying the context of a subject or object:
@@ -231,7 +233,7 @@
<code class="command">ls -alZ <em class="replaceable"><code>file.foo</code></em> </code>
<code class="computeroutput">id -Z</code>
<code class="computeroutput">ps -eZ</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3078024"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3067314"><label>Q:</label><div class="data"><div class="para">
What is the difference between a <em class="firstterm">domain</em> and a <em class="firstterm">type</em>?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is no difference between a domain and a type, although domain is sometimes used to refer to the type of a process. The use of domain in this way stems from Domain and Type Enforcement (DTE) models, where domains and types are separate.
@@ -253,45 +255,45 @@
A library, <code class="filename">libsemanage</code>, exists to provide userspace tools an interface to making policy management easier. All policy management should use this library to access the policy store. The policy store holds all the policy information, and is found at <code class="filename">/etc/selinux/<em class="replaceable"><code>policyname</code></em>/modules/</code>.
</div><div class="para">
You should never have to edit the store directly. Instead, you should use tools that link against libsemanage. One example tool is <code class="command">semanage</code>, which is a command line tool for managing much of the policy such as SELinux user mappings, SELinux port mappings, and file contexts entries. Other examples of tools that use libsemanage include <code class="command">semodule</code> which uses it to manage the SELinux policy modules installed to the policy store and <code class="command">setsebool</code> which uses it manage SELinux policy booleans. Additionally, graphical tools are currently being developed to utilize the functionality provided by libsemanage.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id3016692">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3016698">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="id3041991">1.2. Controlling SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3041997">
How do I install/not install SELinux?
- </a></dt><dt>Q: <a href="#id3016724">
+ </a></dt><dt>Q: <a href="#id3042024">
As an administrator, what do I need to do to configure SELinux for my system?
</a></dt><dt>Q: <a href="#qa-using-s-c-securitylevel">
How do I enable/disable SELinux protection on specific daemons under the targeted policy?
</a></dt><dt>Q: <a href="#faq-entry-local.te">
In the past I have written local.te file in policy sources for my own local customization to policy, how do I do this now?
- </a></dt><dt>Q: <a href="#id3017163">
+ </a></dt><dt>Q: <a href="#id3042460">
I have some avc denials that I would like to allow, how do I do this?
- </a></dt><dt>Q: <a href="#id2993909">
+ </a></dt><dt>Q: <a href="#id3029665">
How can I help write policy?
- </a></dt><dt>Q: <a href="#id2994188">
+ </a></dt><dt>Q: <a href="#id3029908">
How do I switch the policy I am currently using?
- </a></dt><dt>Q: <a href="#id2994374">
+ </a></dt><dt>Q: <a href="#id3030095">
How can I back up files from an SELinux file system?
</a></dt><dt>Q: <a href="#faq-entry-public_html">
How do I make a user public_html directory work under SELinux?
- </a></dt><dt>Q: <a href="#id2994596">
+ </a></dt><dt>Q: <a href="#id3030317">
How do I turn SELinux off at boot?
- </a></dt><dt>Q: <a href="#id2994660">
+ </a></dt><dt>Q: <a href="#id3030380">
How do I turn enforcing on/off at boot?
- </a></dt><dt>Q: <a href="#id2994760">
+ </a></dt><dt>Q: <a href="#id3030481">
How do I temporarily turn off enforcing mode without having to reboot?
- </a></dt><dt>Q: <a href="#id2994793">
+ </a></dt><dt>Q: <a href="#id3030514">
How do I turn system call auditing on/off at boot?
- </a></dt><dt>Q: <a href="#id2994839">
+ </a></dt><dt>Q: <a href="#id3030560">
How do I temporarily turn off system-call auditing without having to reboot?
- </a></dt><dt>Q: <a href="#id2994866">
+ </a></dt><dt>Q: <a href="#id3030586">
How do I get status info about my SELinux installation?
- </a></dt><dt>Q: <a href="#id2994896">
+ </a></dt><dt>Q: <a href="#id3030616">
How do I write policy to allow a domain to use pam_unix.so?
- </a></dt><dt>Q: <a href="#id2994979">
+ </a></dt><dt>Q: <a href="#id3030700">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3016698"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3041997"><label>Q:</label><div class="data"><div class="para">
How do I install/not install SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The installer follows the choice you make in the <span class="guilabel"><strong>Firewall Configuration</strong></span> screen. The default running policy is the targeted policy, and it is on by default.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3016724"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3042024"><label>Q:</label><div class="data"><div class="para">
As an administrator, what do I need to do to configure SELinux for my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The answer might be nothing! There are many Fedora users that don't even realize that they are using SELinux. SELinux provides protection for their systems with an out-of-the-box configuration. That said, there are a couple of things an administrator might want to do to configure their system. These include:
@@ -360,7 +362,7 @@
<code class="computeroutput"># semodule -i local.pp</code>
</pre></li></ol></div><div class="note"><h2>Module are uniquely identified by name</h2><div class="para">
This means that if you later insert another <code class="filename">local.pp</code>, it will replace the one you just loaded. So, you should keep this <code class="filename">local.te</code> around, and just add to it if you need to make later policy customizations. If you lose it, but want to keep your previous policy around, just call the new local policy module something else (say local2.te).
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3017163"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3042460"><label>Q:</label><div class="data"><div class="para">
I have some avc denials that I would like to allow, how do I do this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you have specific AVC messages you can use <code class="command">audit2allow</code> to generate a Type Enforcement file that is ready to load as a policy module.
@@ -395,7 +397,7 @@
In order to load this newly created policy package into the kernel, you are required to execute <code class="command">semodule -i local.pp</code>
</div><div class="para">
Note that if you later install another module called local, it will replace this module. If you want to keep these rules around, then you either need to append future customizations to this local.te, or give future customizations a different name.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2993909"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3029665"><label>Q:</label><div class="data"><div class="para">
How can I help write policy?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your help is definitely appreciated.
@@ -408,30 +410,50 @@
</div></li></ul></div><div class="para">
Also, since the Fedora policy is based on the <a class="xref" href="#faq-entry-whatis-refpolicy" title="Q:">Reference Policy</a>, you should look at the documentation on its project page. Another excellent source of information is the example policy files in <code class="filename">/usr/share/selinux/devel</code>.
</div><div class="para">
- If you want to create a new policy domain, you can look at the interface files in the <code class="filename">/usr/share/selinux/devel</code> sub-directories. There is also a tool there to help you get started. The following procedure is an example:
- </div><div class="procedure"><ol class="1"><li class="step" title="Step 1"><div class="para">
- Use the <code class="command">sepolgen</code> command to generate your own <code class="filename">te</code>, <code class="filename">fc</code> and <code class="filename">if</code> files. The <code class="command">sepolgen</code> command takes two parameters: the name of the policy module and the full path to the executable. The following command gives a usage example:
- </div><pre class="screen">
-<code class="command">sepolgen <em class="replaceable"><code>mydaemon /usr/sbin/mydaemon</code></em></code>
+ If you want to create a new policy domain, you can look at the interface files in the <code class="filename">/usr/share/selinux/devel</code> sub-directories.
+ </div><div class="para">
+ <code class="computeroutput">Making things easier with sepolgen</code>
+ </div><div class="para">
+ The tool <code class="command">sepolgen</code> is an easy way to create SELinux policy. The following procedure is an example on how to use <code class="command">sepolgen</code> to create the required policy for a daemon called <code class="systemitem">mydaemon</code>:
+ </div><pre class="screen">
+<code class="command">sepolgen <em class="replaceable"><code>/usr/sbin/mydaemon</code></em></code>
</pre><div class="para">
- It will prompt you for a few common domain characteristics, and will create three files: <code class="filename">mydaemon.te</code>, <code class="filename">mydaemon.fc</code> and <code class="filename">mydaemon.if</code>.
+ <code class="computeroutput">sepolgen</code> then performs the following:
+ </div><div class="procedure"><ol class="1"><li class="step" title="Step 1"><div class="para">
+ Scans for appropriate templates in paths like /var/lib, /var/run, /etc/init.d/rc.d/mydaemon:
+ </div><div class="para">
+
+<pre class="screen">
+<code class="command">rpm -qlf /usr/sbin/mydaemon</code>
+</pre>
</div></li><li class="step" title="Step 2"><div class="para">
- After you generate the policy files, use the supplied Makefile, <code class="filename">/usr/share/selinux/devel/Makefile</code>, to build a policy package (<code class="filename">mydaemon.pp</code>):
- </div><pre class="screen">
-<code class="command">make -f /usr/share/selinux/devel/Makefile</code>
-</pre></li><li class="step" title="Step 3"><div class="para">
- Now you can load the policy module, using <code class="command">semodule</code>, and relabel the executable using <code class="command">restorecon</code>:
- </div><pre class="screen">
-<code class="command">semodule -i <em class="replaceable"><code>mydaemon.pp</code></em></code>
-<code class="command">restorecon -v <em class="replaceable"><code>/usr/sbin/mydaemon</code></em></code>
-</pre></li><li class="step" title="Step 4"><div class="para">
- Since you have very limited policy for your executable, SELinux will prevent it from doing much. Turn on permissive mode and then use the init script to start your daemon:
+ Scans for syslog, setuid, setgid, etc. and adds the appropriate access:
</div><pre class="screen">
-<code class="command">setenforce 0</code>
-<code class="command">service <em class="replaceable"><code>mydaemon</code></em> restart</code>
+<code class="command">nm -D /usr/sbin/mydaemon</code>
</pre></li></ol></div><div class="para">
- Now you can collect avc messages. You can use <code class="command">audit2allow</code> to translate the avc messages to allow rules and begin updating your <code class="filename">mydaemon.te</code> file. You should search for interface macros in the <code class="filename">/usr/share/selinux/devel/include</code> directory and use these instead of using the allow rules directly, whenever possible. <code class="command">audit2allow -R</code> will attempt to find interfaces that match the allow rule. If you want more examples of policy, you could always install the selinux-policy src rpm, which contains all of the policy te files for the reference policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2994188"><label>Q:</label><div class="data"><div class="para">
+ Four files are then generated:
+<pre class="screen">
+<code class="computeroutput">mydaemon.te</code> - Contains all types and allow rules discovered for this daemon.
+<code class="computeroutput">mydaemon.if</code> - Contains interfaces to be used with the types generated for this daemon.
+<code class="computeroutput">mydaemon.fc</code> - Contains file context mapping between types and paths on disk.
+<code class="computeroutput">mydaemon.sh</code> - Is a helper shell script used to compile/install policy and label the paths correctly.
+</pre>
+ </div><div class="para">
+ The policy writer then only needs to execute <code class="computeroutput">mydaemon.sh</code> and the policy will be compiled and installed - the daemon will then be ready to start testing.
+ </div><div class="para">
+ The following procedure may help you to understand the testing process:
+ </div><pre class="screen">
+begin:
+ service mydaemon start
+ run tests against mydaemon
+ check for AVC messages
+ if None
+ Break;
+ audit2allow -R >> mydaemon.te
+ Verify the policy is good or fix it.
+ ./mydaemon.sh
+ goto begin
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3029908"><label>Q:</label><div class="data"><div class="para">
How do I switch the policy I am currently using?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="caution"><h2>Use caution when switching policy</h2><div class="para">
Other than trying out a new policy on a test machine for research purposes, you should seriously consider your situation before switching to a different policy on a production system. The act of switching is straightforward. This method is fairly safe, but you should try it first on a test system.
@@ -459,7 +481,7 @@
With the new system running in <code class="computeroutput">permissive</code> mode, check <code class="filename">/var/log/messages</code> for <code class="computeroutput">avc: denied</code> messages. These may indicate a problem that needs to be solved for the system to run without trouble under the new policy.
</div></li><li class="step" title="Step 5"><div class="para">
When you are satisfied that the system runs stable under the new policy, enable enforcing by changing <code class="computeroutput">SELINUX=enforcing</code>. You can either reboot or run <code class="command">setenforce 1</code> to turn enforcing on in real time.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2994374"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3030095"><label>Q:</label><div class="data"><div class="para">
How can I back up files from an SELinux file system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can now use the <code class="command">tar</code> command as normal, you no longer need to use <code class="command">star</code>.
@@ -488,7 +510,7 @@
You may notice at a later date that the user field, set here to <code class="computeroutput">user_u</code>, is changed to <code class="computeroutput">system_u</code>. This does not affect how the targeted policy works. The field that matters is the type field.
</div></li><li class="step" title="Step 3"><div class="para">
Your static webpages should now be served correctly. If you continue to have errors, ensure that the Boolean which enables user home directories is enabled. You can set it using <code class="command">system-config-selinux</code>. Select the <span class="guilabel"><strong>SELinux</strong></span> tab, and then select the <span class="guilabel"><strong>Modify SELinux Policy</strong></span> area. Select <code class="computeroutput">Allow HTTPD to read home directories</code>. The changes take effect immediately.
- </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id2994596"><label>Q:</label><div class="data"><div class="para">
+ </div></li></ol></div></div></div></div><div class="qandaentry"><div class="question" id="id3030317"><label>Q:</label><div class="data"><div class="para">
How do I turn SELinux off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Set <code class="computeroutput">SELINUX=disabled</code> in <code class="filename">/etc/selinux/config</code>.
@@ -496,7 +518,7 @@
Alternatively, you can add <code class="option">selinux=0</code> to your kernel boot parameters. However, this option is not recommended.
</div><div class="caution"><h2>Be careful when disabling SELinux</h2><div class="para">
If you boot with <code class="option">selinux=0</code>, any files you create while SELinux is disabled do not have SELinux context information. The file system is marked for relabeling at the next boot. If an unforeseen problem prevents you from rebooting normally, you may need to boot in single-user mode for recovery. Add the option <code class="option">emergency</code> to your kernel boot parameters.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2994660"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3030380"><label>Q:</label><div class="data"><div class="para">
How do I turn enforcing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can specify the SELinux mode using the configuration file <code class="filename">/etc/sysconfig/selinux</code>.
@@ -517,25 +539,25 @@
However, setting the value to <code class="computeroutput">disabled</code> is not the same as the <code class="option">selinux=0</code> kernel boot parameter. Rather than fully disabling SELinux in the kernel, the <code class="computeroutput">disabled</code> setting instead turns enforcing off and skips loading a policy.
</div><div class="important"><h2>SELinux Configuration Precedence</h2><div class="para">
The command line kernel parameter overrides the configuration file.
- </div></div></div></div></div><div class="qandaentry"><div class="question" id="id2994760"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div></div><div class="qandaentry"><div class="question" id="id3030481"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off enforcing mode without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Occasionally you may need to perform an action that is normally prevented by policy. Run the command <code class="command">setenforce 0</code> to turn off enforcing mode in real time. When you are finished, run <code class="command">setenforce 1</code> to turn enforcing back on.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2994793"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030514"><label>Q:</label><div class="data"><div class="para">
How do I turn system call auditing on/off at boot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Add <code class="option">audit=1</code> to your kernel command line to turn system call auditing on. Add <code class="option">audit=0</code> to your kernel command line to turn system call auditing off.
</div><div class="para">
System-call auditing is <span class="emphasis"><em>on</em></span> by default. When on, it provides information about the system call that was executing when SELinux generated a <code class="computeroutput">denied</code> message. The error message is helpful when debugging policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2994839"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030560"><label>Q:</label><div class="data"><div class="para">
How do I temporarily turn off system-call auditing without having to reboot?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Run <code class="command">auditctl -e 0</code>. Note that this command does not affect auditing of SELinux AVC denials.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2994866"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030586"><label>Q:</label><div class="data"><div class="para">
How do I get status info about my SELinux installation?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
As root, execute the command <code class="command">/usr/sbin/sestatus -v</code>. For more information, refer to the <code class="filename">sestatus(8)</code> manual page.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2994896"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030616"><label>Q:</label><div class="data"><div class="para">
How do I write policy to allow a domain to use pam_unix.so?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Very few domains in the SELinux world are allowed to read the <code class="filename">/etc/shadow</code> file. There are constraint rules that prevent policy writers from writing code like
@@ -551,7 +573,7 @@
In Fedora and Red Hat Enterprise Linux 5 and above, add the rule
</div><pre class="screen">
<code class="command">auth_domtrans_chk_passwd(vsftpd_t)</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2994979"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3030700"><label>Q:</label><div class="data"><div class="para">
I created a new Policy Package, where do I put it to make sure that it gets loaded into the kernel?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to execute the command <code class="command">semodule -i myapp.pp</code>. This modifies the policy that is stored on the machine. Your policy module now is loaded with the rest of the policy. You can even remove the pp file from the system.
@@ -561,61 +583,63 @@
<code class="computeroutput">#semodule -i myapp 1.2.1</code>
</pre><div class="para">
If you later would like to remove the policy package, you can execute <code class="command">semodule -r myapp</code>.
- </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id2995041">
+ </div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-resolving-problems">1.3. Resolving Problems</h4></div><div class="toc"><dl><dt>Q: <a href="#id3030762">
Where are SELinux AVC messages (denial logs, etc.) stored?
- </a></dt><dt>Q: <a href="#id2995078">
+ </a></dt><dt>Q: <a href="#id3030799">
My application isn't working as expected and I am seeing avc: denied messages. How do I fix this?
- </a></dt><dt>Q: <a href="#id2995166">
- I installed Fedora on a system with an existing /home partition, and now I can't log in.
- </a></dt><dt>Q: <a href="#id2995253">
+ </a></dt><dt>Q: <a href="#id3030886">
+ Why doesn't SELinux give me the full path in an error message?
+ </a></dt><dt>Q: <a href="#id3031106">
+ I installed on a system with a pre-existing /home partition, and now I can't log in. What do I do?
+ </a></dt><dt>Q: <a href="#id3031193">
After relabeling my /home using setfiles or fixfiles, am I still be able to read /home with a non-SELinux-enabled system?
- </a></dt><dt>Q: <a href="#id2995304">
+ </a></dt><dt>Q: <a href="#id3031243">
How do I share directories using NFS between Fedora and non-SELinux systems?
- </a></dt><dt>Q: <a href="#id2995365">
+ </a></dt><dt>Q: <a href="#id3031304">
How can I create a new Linux user account with the user's home?
- </a></dt><dt>Q: <a href="#id2995455">
+ </a></dt><dt>Q: <a href="#id3031395">
Does the su command change my SELinux identity and role?
- </a></dt><dt>Q: <a href="#id2995522">
+ </a></dt><dt>Q: <a href="#id3031462">
I'm having troubles with avc errors filling my logs for a particular program. How do I choose not to audit the access for it?
- </a></dt><dt>Q: <a href="#id2995582">
+ </a></dt><dt>Q: <a href="#id3031522">
Even running in permissive mode, I'm getting a large number of avc denied messages.
- </a></dt><dt>Q: <a href="#id2995626">
+ </a></dt><dt>Q: <a href="#id3031566">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in /var/log/messages (or /var/log/audit/audit.log if using the audit daemon). How can I identify the cause of these silent denials?
- </a></dt><dt>Q: <a href="#id2995734">
+ </a></dt><dt>Q: <a href="#id3031674">
Why do I not see the output when I run certain daemons in debug or interactive mode?
- </a></dt><dt>Q: <a href="#id2995825">
+ </a></dt><dt>Q: <a href="#id3031765">
When I do an upgrade of the policy package (for example, using yum), what happens with the policy? Is it updated automatically?
- </a></dt><dt>Q: <a href="#id2995914">
+ </a></dt><dt>Q: <a href="#id3031854">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
- </a></dt><dt>Q: <a href="#id2995992">
+ </a></dt><dt>Q: <a href="#id3031902">
Why do binary policies distributed with Fedora, such as /etc/selinux/<policyname>/policy/policy.<version>, and those I compile myself have different sizes and MD5 checksums?
- </a></dt><dt>Q: <a href="#id2996054">
+ </a></dt><dt>Q: <a href="#id3031958">
Will new policy packages disable my system?
- </a></dt><dt>Q: <a href="#id2996090">
+ </a></dt><dt>Q: <a href="#id3032030">
My console is being flooded with messages. How do I turn them off?
- </a></dt><dt>Q: <a href="#id2996121">
+ </a></dt><dt>Q: <a href="#id3032061">
Can I test the default policy without installing the policy source?
- </a></dt><dt>Q: <a href="#id2996205">
+ </a></dt><dt>Q: <a href="#id3032145">
Why are some of my KDE applications having trouble under SELinux?
- </a></dt><dt>Q: <a href="#id2996277">
+ </a></dt><dt>Q: <a href="#id3032216">
Why does SELINUX=disabled not work for me?
</a></dt><dt>Q: <a href="#faq-entry-unconfined_t">
I have a process running as unconfined_t, and SELinux is still preventing my application from running.
- </a></dt><dt>Q: <a href="#id3029652">
+ </a></dt><dt>Q: <a href="#id3032435">
What do these rpm errors mean?
- </a></dt><dt>Q: <a href="#id3029720">
+ </a></dt><dt>Q: <a href="#id3032503">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
- </a></dt><dt>Q: <a href="#id3029755">
+ </a></dt><dt>Q: <a href="#id3032538">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
- </a></dt><dt>Q: <a href="#id3029810">
+ </a></dt><dt>Q: <a href="#id3032592">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
- </a></dt><dt>Q: <a href="#id3029847">
+ </a></dt><dt>Q: <a href="#id3032629">
Please explain the relabelto/relabelfrom permissions?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id2995041"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3030762"><label>Q:</label><div class="data"><div class="para">
Where are SELinux AVC messages (denial logs, etc.) stored?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Messages can be found in <code class="filename">/var/log/messages</code> unless you choose to install and enable the <code class="systemitem">audit</code> daemon, in which case AVC messages will be in <code class="filename">/var/log/audit/audit.log</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995078"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030799"><label>Q:</label><div class="data"><div class="para">
My application isn't working as expected and I am seeing <code class="computeroutput">avc: denied</code> messages. How do I fix this?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This message means that the current SELinux policy is not allowing the application to do something. There are a number of reasons this could happen.
@@ -625,8 +649,41 @@
Denials are sometimes due to a configuration change in the program that triggered the denial message. For example, if you change Apache to also listen on port 8800, you must also change the security policy, <code class="filename">apache.te</code>.
</div><div class="para">
If you are having trouble getting a specific application like Apache to work, refer to <a class="xref" href="#qa-using-s-c-securitylevel" title="Q:">How to use system-config-selinux</a> for information on disabling enforcement just for that application.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995166"><label>Q:</label><div class="data"><div class="para">
- I installed Fedora on a system with an existing <code class="filename">/home</code> partition, and now I can't log in.
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3030886"><label>Q:</label><div class="data"><div class="para">
+ Why doesn't SELinux give me the full path in an error message?
+ </div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
+ To answer this, let's first examine the structure of a typical SELinux AVC error message. Items of note in this example are in <code class="computeroutput">bold</code>:
+ </div><pre class="screen">
+node=host.example.com type=<code class="computeroutput">AVC</code> msg=audit(12/13/2006 11:28:14.395:952) : avc: denied { <code class="computeroutput">getattr</code> } for pid=7236 comm=<code class="computeroutput">vsftpd</code> name=public_html dev=<code class="computeroutput">dm-0</code> ino=<code class="computeroutput">9601649</code> scontext=system_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=<code class="computeroutput">dir</code>
+
+node=host.example.com type=<code class="computeroutput">SYSCALL</code> msg=audit(12/13/2006 11:28:14.395:952) : arch=i386 syscall=<code class="computeroutput">lstat64</code> success=no exit=0
+a0=8495230 a1=849c830 a2=874ff4 a3=328d28 items=0 ppid=7234 pid=7236 auid=dwalsh uid=dwalsh gid=dwalsh euid=dwalsh suid=dwalsh fsuid=dwalsh egid=dwalsh sgid=dwalsh fsgid=dwalsh tty=(none) comm=vsftpd exe=<code class="computeroutput">/usr/sbin/vsftpd</code> subj=system_u:system_r:ftpd_t:s0 key=(null)
+</pre><div class="para">
+ This AVC message consists of two records, the actual <code class="computeroutput">AVC</code> record and the <code class="computeroutput">SYSCALL</code> record. The kernel generates both of these records when the SELinux system denies access. This AVC message indicates that SELinux prevented <code class="computeroutput">/usr/sbin/vsftpd</code> from performing the <code class="computeroutput">getattr</code> access on a <code class="computeroutput">dir</code> named <code class="computeroutput">public_html</code>.
+ </div><div class="para">
+ <code class="computeroutput">But which particular public_html directory has the problem?</code>
+ </div><div class="para">
+ The AVC records themselves do not show the full path to the problematic public_html directory in question. This is done because of performance reasons. Since AVC messages should occur infrequently, having the kernel report the full path is not considered to be worth the overhead. The AVC records do however include the device (<code class="computeroutput">dm-0</code>), and the inode in question (<code class="computeroutput">9601649</code>). You can use this device and inode information to find the correct path if the file and/or directory still exists.
+ </div><div class="para">
+ <code class="computeroutput">The slow way:</code>
+ </div><pre class="screen">
+# find / -inum <code class="computeroutput">9601649</code>
+</pre><div class="para">
+ <code class="computeroutput">A better way:</code>
+ </div><div class="para">
+ The <span class="package">setroubleshoot</span> tools can use the <code class="command">locate</code> command to attempt to re-assemble the path in question:
+ </div><pre class="screen">
+# locate -r /public_html$
+
+/home/dwalsh/public_html
+/home/obama/public_html
+...(continues)
+</pre><div class="para">
+ <span class="package">setroubleshoot</span> then uses <code class="command">stat</code> to get the inode of of each file returned and compares it to the values in the AVC message; if they match, it analyzes the full path. Of course, you need to have the <span class="package">mlocate</span> package installed and running via <code class="systemitem">cron</code> to gather these paths.
+ </div><div class="para">
+ Refer to <a href="http://danwalsh.livejournal.com/34903.html">http://danwalsh.livejournal.com/34903.html</a> for further details on this topic.
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031106"><label>Q:</label><div class="data"><div class="para">
+ I installed on a system with a pre-existing <code class="filename">/home</code> partition, and now I can't log in. What do I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Your <code class="filename">/home</code> partition is not labeled correctly. You can easily fix this two different ways.
</div><div class="para">
@@ -639,11 +696,11 @@
<code class="command">/sbin/fixfiles relabel</code>
</pre><div class="para">
You must have the <code class="filename">policycoreutils</code> package installed to use <code class="command">fixfiles</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995253"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031193"><label>Q:</label><div class="data"><div class="para">
After relabeling my <code class="filename">/home</code> using <code class="command">setfiles</code> or <code class="command">fixfiles</code>, am I still be able to read <code class="filename">/home</code> with a non-SELinux-enabled system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can read the files from a non-SELinux distribution, or one with SELinux disabled. However, files created by a system not using SELinux systems do not have a security context, nor do any files you remove and recreate. This could be a challenge with files such as <code class="filename">~/.bashrc</code>. You may have to relabel <code class="filename">/home</code> when you reboot the SELinux enabled Fedora system.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995304"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031243"><label>Q:</label><div class="data"><div class="para">
How do I share directories using NFS between Fedora and non-SELinux systems?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Just as NFS transparently supports many file system types, it can be used to share directories between SELinux and non-SELinux systems.
@@ -653,7 +710,7 @@
<code class="command">mount -t nfs -o context=system_u:object_r:tmp_t server:/shared/foo /mnt/foo</code>
</pre><div class="para">
When SELinux exports a file system via NFS, newly created files have the context of the directory they were created in. In other words, the presence of SELinux on the remote mounting system has no effect on the local security contexts.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995365"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031304"><label>Q:</label><div class="data"><div class="para">
How can I create a new Linux user account with the user's home?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can create your new user with the standard <code class="command">useradd</code> command. First you must become <code class="systemitem">root</code>.
@@ -668,13 +725,13 @@
<code class="computeroutput">drwx------ auser auser root:object_r:user_home_dir_t /home/auser</code>
</pre><div class="para">
The initial context for a new user directory has an identity of <code class="computeroutput">root</code>. Subsequent relabeling of the file system changes the identity to <code class="computeroutput">system_u</code>. These are functionally the same since the role and type are identical (<code class="computeroutput">object_r:user_home_dir_t</code>.)
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995455"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031395"><label>Q:</label><div class="data"><div class="para">
Does the <code class="command">su</code> command change my SELinux identity and role?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
In older versions of Fedora, security context transitions were integrated into the <code class="command">su</code> via <code class="computeroutput">pam_selinux</code>. This turned out to be more trouble than it was worth, and is quite unnecessary on a system running targeted policy. So, this is no longer the case. Now, <code class="command">su</code>/<code class="command">sudo</code> only change the Linux identity. You will need to use <code class="command">newrole</code> to change the SELinux identity, role, or level.
</div><div class="para">
Other forms of Linux/<span class="trademark">UNIX</span>® identity change, for example <code class="command">setuid(2)</code>, also do not cause an SELinux identity change.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995522"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031462"><label>Q:</label><div class="data"><div class="para">
I'm having troubles with <code class="command">avc</code> errors filling my logs for a particular program. How do I choose not to audit the access for it?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
If you wanted to not audit <code class="command">dmesg</code>, for example, you would put this in your <code class="filename">dmesg.te</code> file:
@@ -682,13 +739,13 @@
<strong class="userinput"><code>dontaudit dmesg_t userdomain:fd { use };</code></strong>
</pre><div class="para">
This eliminates the error output to the terminal for all user domains, including <code class="varname">user</code>, <code class="varname">staff</code> and <code class="varname">sysadm</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995582"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031522"><label>Q:</label><div class="data"><div class="para">
Even running in permissive mode, I'm getting a large number of <code class="computeroutput">avc denied</code> messages.
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
In a non-enforcing mode, you should actually receive <span class="emphasis"><em>more</em></span> messages than in enforcing mode. The kernel logs each access denial as if you were in an enforcing mode. Since you are not restricted by policy enforcement, you can perform more actions, which results in more denials being logged.
</div><div class="para">
If an application running under an enforcing mode is denied access to read a number of files in a directory, it is stopped once at the beginning of the action. In a non-enforcing mode, the application is not stopped from traversing the directory tree, and generates a denial message for each file read in the directory.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995626"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031566"><label>Q:</label><div class="data"><div class="para">
I get a specific permission denial only when SELinux is in enforcing mode, but I don't see any audit messages in <code class="filename">/var/log/messages</code> (or <code class="filename">/var/log/audit/audit.log</code> if using the audit daemon). How can I identify the cause of these silent denials?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The most common reason for a silent denial is when the policy contains an explicit <code class="computeroutput">dontaudit</code> rule to suppress audit messages. The <code class="computeroutput">dontaudit</code> rule is often used this way when a benign denial is filling the audit logs.
@@ -704,7 +761,7 @@
Once you have found your problem you can reset to the default mode by executing
</div><pre class="screen">
<code class="command">semodule -b /usr/share/selinux/targeted/base.pp</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2995734"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3031674"><label>Q:</label><div class="data"><div class="para">
Why do I not see the output when I run certain daemons in debug or interactive mode?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
SELinux intentionally disables access to the tty devices to stop daemons from communicating back with the controlling terminal. This communication is a potential security hole because such daemons could insert commands into the controlling terminal. A broken or compromised program could use this hole to cause serious problems.
@@ -716,7 +773,7 @@
When debugging a daemon, you may want to turn off the transition of the daemon to its specific domain. You can do this using <code class="command">system-config-selinux</code> or <code class="command">setsebool</code> on the command line.
</div><div class="para">
A final option is to turn off enforcing mode while debugging. Issue the command <code class="command">setenforce 0</code> to turn off enforcing mode, and use the command <code class="command">setenforce 1</code> to re-enable SELinux when you are finished debugging.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995825"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031765"><label>Q:</label><div class="data"><div class="para">
When I do an upgrade of the policy package (for example, using <code class="command">yum</code>), what happens with the policy? Is it updated automatically?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Policy reloads itself when the package is updated. This behavior replaces the manual <code class="command">make load</code>.
@@ -732,25 +789,25 @@
Alternately, use the <code class="filename">/.autorelabel</code> mechanism:
</div><pre class="screen">
<code class="command">touch /.autorelabel reboot</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2995914"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3031854"><label>Q:</label><div class="data"><div class="para">
If the policy shipping with an application package changes in a way that requires relabeling, will RPM handle relabeling the files owned by the package?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Yes. The security contexts for the files owned by the package are stored in the header data for the package. The file contexts are set directly after the <code class="command">cpio</code> copy, as the package files are being put on the disk.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2995992"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031902"><label>Q:</label><div class="data"><div class="para">
Why do binary policies distributed with Fedora, such as <code class="filename">/etc/selinux/<em class="replaceable"><code><policyname></code></em>/policy/policy.<em class="replaceable"><code><version></code></em></code>, and those I compile myself have different sizes and MD5 checksums?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
When you install a policy package, pre-compiled binary policy files are put directly into <code class="filename">/etc/selinux</code>. The different build environments will make target files that have different sizes and MD5 checksums.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2996054"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3031958"><label>Q:</label><div class="data"><div class="para">
Will new policy packages disable my system?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
There is a possibility that changes in the policy package or in the policy shipping with an application package can cause errors, more denials, or other unknown behaviors. You can discover which package caused the breakage by reverting policy and application packages one at a time. If you don't want to return to the previous package, the older version of the configuration files will be saved with the extension <code class="filename">.rpmsave</code>. Use the mailing lists, bugzilla, and IRC to help you work through your problem. If you are able, write or fix policy to resolve your problem.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2996090"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032030"><label>Q:</label><div class="data"><div class="para">
My console is being flooded with messages. How do I turn them off?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
To regain useful control, turn off kernel messages to the console with this command:
</div><pre class="screen">
<code class="command">dmesg -n 1</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id2996121"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032061"><label>Q:</label><div class="data"><div class="para">
Can I test the default policy without installing the policy source?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can test SELinux default policy by installing just the <code class="filename">selinux-policy-<em class="replaceable"><code>policyname</code></em></code> and <code class="filename">policycoreutils</code> packages. Without the policy source installed, the <code class="command">fixfiles</code> command automates the file system relabeling.
@@ -758,7 +815,7 @@
The command <code class="command">fixfiles relabel</code> is the equivalent of <code class="command">make relabel</code>. During the relabeling, it will delete all of the files in <code class="filename">/tmp</code>, cleaning up files which may have old file context labels.
</div><div class="para">
Other commands are <code class="command">fixfiles check</code>, which checks for mislabeled files, and <code class="command">fixfiles restore</code>, which fixes the mislabeled files but does not delete the files in <code class="filename">/tmp</code>. The <code class="command">fixfiles</code> command does not take a list of directories as an argument, because it relabels the entire file system. If you need to relabel a specific directory path, use <code class="command">restorecon</code>.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2996205"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032145"><label>Q:</label><div class="data"><div class="para">
Why are some of my KDE applications having trouble under SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
KDE executables always appear as <code class="command">kdeinit</code>, which limits what can be done with SELinux policy. This is because every KDE application runs in the domain for <code class="command">kdeinit</code>.
@@ -770,7 +827,7 @@
<code class="command">rm -rf /var/tmp/kdecache-<em class="replaceable"><code><username></code></em> rm -rf /var/tmp/<em class="replaceable"><code><other_kde_files></code></em></code>
</pre><div class="para">
At your next login, your problem should be fixed.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id2996277"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032216"><label>Q:</label><div class="data"><div class="para">
Why does <code class="option">SELINUX=disabled</code> not work for me?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Be careful of white space in the file <code class="filename">/etc/sysconfig/selinux</code>. The code is very sensitive to white space, even trailing space.
@@ -798,7 +855,7 @@
A boolean for each one of these memory check errors have been provided. So if you need to run an application requiring either of these permissions, you can set the boolean allow_exec* to fix the problem. For instance if you try to run an application and you get an AVC message containing an <code class="computeroutput">execstack</code> failure. You can set the Boolean with:
</div><pre class="screen">
<code class="command">setsebool -P allow_execstack=1</code>
-</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3029652"><label>Q:</label><div class="data"><div class="para">
+</pre></dd></dl></div></div></div></div><div class="qandaentry"><div class="question" id="id3032435"><label>Q:</label><div class="data"><div class="para">
What do these rpm errors mean?
</div></div></div><div class="answer"><label>A:</label><div class="data"><pre class="screen">
restorecon reset /etc/modprobe.conf context system_u:object_r:etc_runtime_t->system_u:object_r:modules_conf_t
@@ -809,25 +866,25 @@
<code class="computeroutput">libsepol.sepol_genbools_array: boolean hidd_disable_trans no longer in policy</code>
</pre><div class="para">
This indicates that the updated policy has removed the boolean from policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3029720"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032503"><label>Q:</label><div class="data"><div class="para">
I want to run a daemon on a non standard port but SELinux will not allow me. How do get this to work?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You can use the <code class="command">semanage</code> command to define additional ports. So say you want httpd to be able to listen on port 8082. You could enter the command.
</div><pre class="screen">
<code class="command">semanage port -a -p tcp -t http_port_t 8082</code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3029755"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032538"><label>Q:</label><div class="data"><div class="para">
I am writing a PHP script that needs to create files and possibly execute them. SELinux policy is preventing this. What should I do?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
First, you should never allow a system service to execute anything it can write. This gives an attacker the ability to upload malicious code to the server and then execute it, which is something we want to prevent.
</div><div class="para">
If you merely need to allow your script to create (non-executable) files, this is possible. That said, you should avoid having system applications writing to the <code class="filename">/tmp</code> directory, since users tend to use the <code class="filename">/tmp</code> directory also. It would be better to create a directory elsewhere which could be owned by the apache process and allow your script to write to it. You should label the directory <code class="computeroutput">httpd_sys_script_rw_t</code>, which will allow apache to read and write files to that directory. This directory could be located anywhere that apache can get to (even <code class="filename">$HOME/public_html/</code>).
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3029810"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032592"><label>Q:</label><div class="data"><div class="para">
I am setting up swapping to a file, but I am seeing AVC messages in my log files?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
You need to identify the swapfile to SELinux by setting its file context to <code class="computeroutput">swapfile_t</code>.
</div><pre class="screen">
<code class="command">chcon -t swapfile_t <em class="replaceable"><code>SWAPFILE</code></em></code>
-</pre></div></div></div><div class="qandaentry"><div class="question" id="id3029847"><label>Q:</label><div class="data"><div class="para">
+</pre></div></div></div><div class="qandaentry"><div class="question" id="id3032629"><label>Q:</label><div class="data"><div class="para">
Please explain the <code class="computeroutput">relabelto</code>/<code class="computeroutput">relabelfrom</code> permissions?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
For files, <code class="computeroutput">relabelfrom</code> means "Can domain D relabel a file from (i.e. currently in) type T1?" and <code class="computeroutput">relabelto</code> means "Can domain D relabel a file to type T2?", so both checks are applied upon a file relabeling, where T1 is the original type of the type and T2 is the new type specified by the program.
@@ -839,25 +896,25 @@
Implementing SELinux as an LSM technical report (describes permission checks on a per-hook basis) <a href="http://www.nsa.gov/selinux/papers/module-abs.cfm">http://www.nsa.gov/selinux/papers/module-abs.cfm</a>. This is also available in the selinux-doc package (and more up-to-date there).
</div></li><li class="listitem"><div class="para">
Integrating Flexible Support for Security Policies into the Linux Operating System - technical report (describes original design and implementation, including summary tables of classes, permissions, and what permission checks are applied to what system calls. It is not entirely up-to-date with current implementation, but a good resource nonetheless). <a href="http://www.nsa.gov/selinux/papers/slinux-abs.cfm">http://www.nsa.gov/selinux/papers/slinux-abs.cfm</a>
- </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3029955">
+ </div></li></ul></div></div></div></div></div><div class="qandadiv"><h4 class="title" id="faq-div-deploying-selinux">1.4. Deploying SELinux</h4></div><div class="toc"><dl><dt>Q: <a href="#id3032738">
What file systems can I use for SELinux?
- </a></dt><dt>Q: <a href="#id3029988">
+ </a></dt><dt>Q: <a href="#id3032771">
How does SELinux impact system performance?
- </a></dt><dt>Q: <a href="#id3030022">
+ </a></dt><dt>Q: <a href="#id3032805">
What types of deployments, applications, and systems should I leverage SELinux in?
- </a></dt><dt>Q: <a href="#id3030073">
+ </a></dt><dt>Q: <a href="#id3032855">
How does SELinux affect third-party applications?
- </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3029955"><label>Q:</label><div class="data"><div class="para">
+ </a></dt></dl></div><div class="qandadiv"><div class="qandaentry"><div class="question" id="id3032738"><label>Q:</label><div class="data"><div class="para">
What file systems can I use for SELinux?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
The file system must support <code class="computeroutput">xattr</code> labels in the right <em class="parameter"><code>security.*</code></em> namespace. In addition to ext2/ext3/ext4, XFS has recently added support for the necessary labels.
</div><div class="para">
Note that XFS SELinux support was broken in the upstream Linux kernel versions 2.6.14 and 2.6.15, but fixed (worked around) in version 2.6.16. Your kernel must be of this version or later if you choose to use XFS with SELinux.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3029988"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032771"><label>Q:</label><div class="data"><div class="para">
How does SELinux impact system performance?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
This is a metric that is hard to measure, and is heavily dependent on the tuning and usage of the system running SELinux. When performance was last measured, the impact was around 7% for completely untuned code. Subsequent changes in system components such as networking are likely to have made that worse in some cases. SELinux performance tuning continues to be a priority of the development team.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030022"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032805"><label>Q:</label><div class="data"><div class="para">
What types of deployments, applications, and systems should I leverage SELinux in?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
Initially, SELinux has been used on Internet facing servers that are performing a few specialized functions, where it is critical to keep extremely tight security. Administrators typically strip such a box of all extra software and services, and run a very small, focused set of services. A Web server or mail server is a good example.
@@ -865,7 +922,7 @@
In these edge servers, you can lock down the policy very tightly. The smaller number of interactions with other components makes such a lock down easier. A dedicated system running a specialized third-party application would also be a good candidate.
</div><div class="para">
In the future, SELinux will be targeted at all environments. In order to achieve this goal, the community and <em class="firstterm">independent software vendors</em> (<abbr class="abbrev">ISV</abbr>s) must work with the SELinux developers to produce the necessary policy.
- </div></div></div></div><div class="qandaentry"><div class="question" id="id3030073"><label>Q:</label><div class="data"><div class="para">
+ </div></div></div></div><div class="qandaentry"><div class="question" id="id3032855"><label>Q:</label><div class="data"><div class="para">
How does SELinux affect third-party applications?
</div></div></div><div class="answer"><label>A:</label><div class="data"><div class="para">
One goal of implementing a targeted SELinux policy in Fedora is to allow third-party applications to work without modification. The targeted policy is transparent to those unaddressed applications, and it falls back on standard Linux DAC security. These applications, however, will not be running in an extra-secure manner. You or another provider must write policy to protect these applications with MAC security.
14 years, 2 months
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8e59a94d906e56f9aae5762ddc62ed1ec10a3041
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Thu Jan 21 05:51:17 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 465b7ff..f06ed58 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-21 15:48+1100\n"
+"PO-Revision-Date: 2010-01-21 16:49+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
@@ -20756,7 +20756,7 @@ msgstr "nostorage"
#: Kickstart2.xml:3349
#, no-c-format
msgid "Do not auto-probe storage devices (SCSI, IDE, RAID)."
-msgstr "Не выполнять автоопределние устройств хранения (SCSI, IDE, RAID)."
+msgstr "Не выполнять автоопределение устройств хранения (SCSI, IDE, RAID)."
#. Tag: para
#: Kickstart2.xml:3358
14 years, 2 months
Branch 'f12-tx' - po/ru.po
by Transifex System User
po/ru.po | 107 +++++++++++++++++++++++++++++----------------------------------
1 file changed, 50 insertions(+), 57 deletions(-)
New commits:
commit 832047f412913074beca0fef4dcba983c40d021c
Author: ypoyarko <ypoyarko(a)fedoraproject.org>
Date: Thu Jan 21 05:43:43 2010 +0000
Sending translation for Russian
diff --git a/po/ru.po b/po/ru.po
index 48f209e..465b7ff 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-30 11:04+0000\n"
-"PO-Revision-Date: 2010-01-21 12:59+1100\n"
+"PO-Revision-Date: 2010-01-21 15:48+1100\n"
"Last-Translator: Yulia <ypoyarko(a)redhat.com>\n"
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
@@ -16517,7 +16517,7 @@ msgstr ""
"Некоторые языки, в частности, китайский, японский, корейский и языки "
"индийской группы, не поддерживаются текстовой установкой. Если один из "
"перечисленных языков задан с помощью команды «lang», то установка будет "
-"продолжена на английском, несмотря на то, что указанный язык будет "
+"продолжена на английском несмотря на то, что указанный язык будет "
"использоваться позднее в качестве языка системы."
# <command>noht</command>
@@ -19406,12 +19406,12 @@ msgid ""
"section."
msgstr ""
"Если вы используете статическую настройку IP, включая сервер имен, в разделе "
-"<command>%post</command> вы можете обращаться к сети и выполнять разрешение "
-"IP-адресов. Если для определения сетевых параметров используется DHCP, файл "
-"<filename>/etc/resolv.conf</filename> не будет создан к моменту обработки "
-"раздела <command>%post</command>. Вы сможете обращаться к сети, но "
-"разрешение IP-адресов будет недоступно. Таким образом, если вы используете "
-"DHCP, в разделе %post необходимо указывать IP-адреса."
+"<command>%post</command> можно обращаться к сети и разрешать IP-адреса. "
+"Если для определения сетевых параметров используется DHCP, файл <filename>/"
+"etc/resolv.conf</filename> не будет создан к моменту, когда программа "
+"установки выполняет раздел <command>%post</command>. Вы можете обращаться к "
+"сети, но разрешение IP-адресов недоступно. Таким образом, если вы "
+"используете DHCP, в разделе %post надо указывать IP-адреса."
#. Tag: para
#: Kickstart2.xml:2622
@@ -19448,7 +19448,7 @@ msgid ""
"The following example copies the file <filename>/etc/resolv.conf</filename> "
"to the file system that was just installed."
msgstr ""
-"В следующем примере файл <filename>/etc/resolv.conf</filename> копируется в "
+"В следующем примере файл <filename>/etc/resolv.conf</filename> будет скопирован в "
"только что созданную файловую систему."
#. Tag: screen
@@ -19498,7 +19498,7 @@ msgstr ""
msgid "Run a script named <filename>runme</filename> from an NFS share:"
msgstr ""
"Запуск сценария с именем <filename>runme</filename>, который находится на "
-"разделяемом NFS-ресурсе:"
+"общем NFS-ресурсе:"
#. Tag: screen
#: Kickstart2.xml:2662
@@ -19522,7 +19522,7 @@ msgid ""
"mode, therefore <command>-o nolock</command> is required when mounting an "
"NFS mount."
msgstr ""
-"NFS-блокировка файлов в режиме кикстарта <emphasis>не</emphasis> "
+"NFS-блокировка файлов при автоматизированной установке <emphasis>не</emphasis> "
"поддерживается, поэтому при монтировании NFS-ресурса требуется указать "
"<command>-o nolock</command>."
@@ -19543,7 +19543,7 @@ msgstr "расположение файла"
#: Kickstart2.xml:2679
#, no-c-format
msgid "A kickstart file must be placed in one of the following locations:"
-msgstr "Файл кикстарта должен быть расположен на одном из следующих источников:"
+msgstr "Файл кикстарта должен быть расположен в одном из следующих источников:"
#. Tag: para
#: Kickstart2.xml:2685
@@ -19574,8 +19574,8 @@ msgid ""
"kickstart installations tend to be performed on networked computers."
msgstr ""
"Обычно файл кикстарта копируется на загрузочную дискету или размещается в "
-"сети. Размещение в сети используется чаще, так как установки кикстарта "
-"обычно выполняются на компьютерах, подключенных к сети."
+"сети. Размещение в сети используется чаще, так как автоматизированная установка "
+"обычно выполняется на компьютерах, подключенных к сети."
#. Tag: para
#: Kickstart2.xml:2707
@@ -19633,7 +19633,7 @@ msgstr ""
"диска. Так как диск доступен только для чтения, файл нужно добавить в "
"каталог, из которого создается образ для записи на компакт-диск. <xref "
"linkend=\"sect-New_Users-Alternative_Boot_Methods\"/> содержит инструкции по "
-"созданию загрузочного носителя; но, прежде чем создавать файл образа "
+"созданию загрузочного носителя; но, прежде чем создавать образ "
"<filename>file.iso</filename>, скопируйте файл <filename>ks.cfg</filename> в "
"каталог <filename>isolinux/</filename>."
@@ -19654,7 +19654,7 @@ msgid ""
msgstr ""
"Для установки с использованием флэш-накопителя файл кикстарта должен иметь "
"имя <filename>ks.cfg</filename> и располагаться в корневом каталоге флэш-"
-"диска. Сначала создайте загрузочный образ, а затем скопируйте файл "
+"устройства. Сначала создайте загрузочный образ, а затем скопируйте файл "
"<filename>ks.cfg</filename>."
#. Tag: para
@@ -19714,7 +19714,7 @@ msgid ""
msgstr ""
"Сетевые кикстарт-установки выполняются достаточно часто, так как системные "
"администраторы могут автоматизировать установку множества сетевых "
-"компьютеров быстро и безболезненно. Вообще говоря, чаще всего этот подход "
+"компьютеров быстро и с минимальными усилиями. Чаще всего этот подход "
"требует от администратора настройки в локальной сети серверов BOOTP/DHCP и "
"NFS. BOOTP/DHCP сервер определяет сетевую конфигурацию для системы клиента, "
"тогда как файлы, используемые во время установки, находятся на NFS-сервере. "
@@ -19745,9 +19745,9 @@ msgid ""
"the client, using it as the kickstart file. The exact settings required vary "
"depending on the BOOTP/DHCP server you use."
msgstr ""
-"Если файл кикстарта определен сервером BOOTP/DHCP, клиентская система "
+"Если файл кикстарта определен сервером BOOTP/DHCP, клиент "
"пытается смонтировать путь к файлу с помощью NFS, а затем скопировать и "
-"использовать указанный файл. Конкретные настройки могут меняться в "
+"использовать указанный файл. Конкретные настройки могут отличаться в "
"зависимости от используемого сервера BOOTP/DHCP."
#. Tag: para
@@ -19780,8 +19780,8 @@ msgid ""
"server</computeroutput> with the NFS server name."
msgstr ""
"Обратите внимание, вы должны заменить значение после "
-"<computeroutput>filename</computeroutput> именем файла кикстарта (или "
-"каталога, в котором расположен файл), а значение после <computeroutput>next-"
+"<computeroutput>filename</computeroutput> именем файла кикстарта или "
+"каталога, в котором расположен файл, а значение после <computeroutput>next-"
"server</computeroutput> именем сервера NFS."
#. Tag: para
@@ -19794,8 +19794,7 @@ msgid ""
"name the client searches for is:"
msgstr ""
"Если имя файла, возвращаемое BOOTP/DHCP сервером, оканчивается косой чертой "
-"(\"/\"), оно воспринимается только как путь. В этом случае клиентская "
-"система подключает этот путь, используя NFS, и ищет конкретный файл. Имя "
+"(«/»), оно воспринимается только как путь. В этом случае клиент подключает этот путь, используя NFS, и ищет конкретный файл. Имя "
"файла, который ищет клиент, имеет следующий вид:"
# tr<replaceable><n></replaceable> for Token Ring
@@ -19830,11 +19829,10 @@ msgid ""
"tries to find the kickstart file using the same <filename><replaceable><"
"ip-addr></replaceable>-kickstart</filename> file name as described above."
msgstr ""
-"Если вы не определите имя сервера, клиентская система попытается "
+"Если вы не определите имя сервера, клиент попытается "
"использовать в качестве сервера NFS текущий BOOTP/DHCP-сервер. В случае, "
"если вы не укажете путь или имя файла, клиентская система пытается "
-"смонтировать каталог <filename>/kickstart</filename>, расположенный на BOOTP/"
-"DHCP сервере, а затем пытается найти файл кикстарта, используя имя "
+"смонтировать каталог <filename>/kickstart</filename>, расположенный на сервере, а затем пытается найти файл кикстарта, используя имя "
"<filename><replaceable><ip-адрес></replaceable>-kickstart</filename>, "
"как описано выше."
@@ -19892,8 +19890,7 @@ msgid ""
"linkend=\"s1-steps-network-installs-x86\"/> for details."
msgstr ""
"При выполнении сетевой установки (NFS, FTP, HTTP) потребуется открыть доступ "
-"к дереву установки по сети. <xref linkend=\"s1-steps-network-installs-x86\"/"
-"> содержит более подробную информацию."
+"к дереву установки по сети (см. <xref linkend=\"s1-steps-network-installs-x86\"/>)."
# EXACT MATCH
#. Tag: title
@@ -19988,7 +19985,7 @@ msgid ""
"a driver disk, enter the following command at the <prompt>boot:</prompt> "
"prompt:"
msgstr ""
-"Если вам нужно использовать диск драйверов, также укажите параметр "
+"Если вам нужно использовать диск драйверов, добавьте параметр "
"<userinput>dd</userinput>. Например, чтобы загрузиться с загрузочной дискеты "
"и использовать диск с драйверами, введите в приглашении <prompt>boot:</"
"prompt> следующую команду:"
@@ -20022,8 +20019,7 @@ msgid ""
"system, and enter the following command at the <prompt>boot:</prompt> prompt "
"(where <filename>ks.cfg</filename> is the name of the kickstart file):"
msgstr ""
-"Если вы разместили файл кикстарта на загрузочном компакт-диске, как описано "
-"в <xref linkend=\"s2-kickstart2-boot-media\"/>, вставьте компакт-диск, "
+"Если вы разместили файл кикстарта на загрузочном компакт-диске (см. <xref linkend=\"s2-kickstart2-boot-media\"/>), вставьте компакт-диск, "
"загрузите систему и введите в приглашении <prompt>boot:</prompt> следующую "
"команду (где <filename>ks.cfg</filename> — имя файла кикстарта):"
@@ -20122,7 +20118,7 @@ msgstr "Список разделенных запятыми серверов и
#: Kickstart2.xml:2956
#, no-c-format
msgid "Same as 'dd'."
-msgstr "Эквивалент \"dd\"."
+msgstr "Эквивалент dd."
# text mode
#. Tag: command
@@ -20141,7 +20137,7 @@ msgstr "Активирует расширенные возможности:"
#: Kickstart2.xml:2969
#, no-c-format
msgid "allows partitioning of removable media"
-msgstr "разбиение переносных носителей"
+msgstr "создание разделов на съемных устройствах"
#. Tag: para
#: Kickstart2.xml:2975
@@ -20169,7 +20165,7 @@ msgstr "Шлюз для сетевой установки."
msgid "Force graphical install. Required to have ftp/http use GUI."
msgstr ""
"Принудительно использовать графическую установку. Для выполнения графической "
-"установки необходимо использовать ftp/http."
+"установки необходимо использовать ftp или http."
# <command>text</command>
#. Tag: command
@@ -20195,7 +20191,7 @@ msgstr "ip=<replaceable><ip></replaceable>"
#: Kickstart2.xml:3014
#, no-c-format
msgid "IP to use for a network installation, use 'dhcp' for DHCP."
-msgstr "IP-адрес для выполнения сетевой установки. Используйте 'dhcp' для DHCP."
+msgstr "IP-адрес для выполнения сетевой установки. Используйте «dhcp» для DHCP."
# EXACT MATCH
#. Tag: command
@@ -20212,7 +20208,7 @@ msgid ""
"'keyboard' kickstart command."
msgstr ""
"Раскладка клавиатуры. Допускаются значения, которые могут быть заданы "
-"командой кикстарта 'keyboard'."
+"командой кикстарта «keyboard»."
# <parameter>PORTNAME=<replaceable><osa_portname></replaceable> | <replaceable><lcs_portnumber></replaceable></parameter>
#. Tag: command
@@ -20239,8 +20235,8 @@ msgid ""
msgstr ""
"Программа установки ищет файл кикстарта на NFS-сервере <replaceable><"
"сервер></replaceable> согласно указанному пути. Настройка Ethernet-платы "
-"будет выполнена с использованием DHCP. Например, если ваш NFS-сервер "
-"называется server.example.com, а файл кикстарта расположен в разделяемом NFS-"
+"будет выполнена с использованием DHCP. Например, если NFS-сервер "
+"называется server.example.com, а файл кикстарта расположен на общем NFS-"
"ресурсе <filename>/mydir/ks.cfg</filename>, правильной командой загрузчика "
"будет <command>ks=nfs:server.example.com:/mydir/ks.cfg</command>."
@@ -20268,9 +20264,9 @@ msgid ""
"mydir/ks.cfg</command>."
msgstr ""
"Программа установки ищет файл кикстарта на HTTP-сервере <replaceable><"
-"сервер></replaceable> согласно указанному пути. Программа установки "
-"настраивает Ethernet-платы, используя DHCP. Например, если ваш HTTP-сервер "
-"называется server.example.com, а файл кикстарта расположен в разделяемом "
+"сервер></replaceable> согласно указанному пути и "
+"настраивает Ethernet-платы, используя DHCP. Например, если HTTP-сервер "
+"называется server.example.com, а файл кикстарта расположен на общем "
"HTTP-ресурсе <filename>/mydir/ks.cfg</filename>, правильной командой "
"загрузчика будет <command>ks=http://server.example.com/mydir/ks.cfg</"
"command>."
@@ -20307,7 +20303,7 @@ msgid ""
"replaceable>."
msgstr ""
"Программа установки ищет файл кикстарта на дискете в устройстве <filename>/"
-"dev/fd0</filename> согласно заданному пути."
+"dev/fd0</filename>."
# <parameter>PORTNAME=<replaceable><osa_portname></replaceable> | <replaceable><lcs_portnumber></replaceable></parameter>
#. Tag: command
@@ -20388,7 +20384,7 @@ msgid ""
msgstr ""
"Если параметр <command>ks</command> используется без аргументов, программа "
"установки настраивает Ethernet-плату, используя DHCP. Файл кикстарта "
-"загружается с сервера, определенного параметром DHCP-ответа \"bootServer\" в "
+"загружается с сервера, определенного параметром DHCP-ответа «bootServer» в "
"случае, когда NFS-сервер предоставляет доступ к этому файлу. По умолчанию в "
"качестве bootServer выступает DHCP-сервер. Имя файла кикстарта будет выбрано "
"следующим образом:"
@@ -20426,7 +20422,7 @@ msgid ""
msgstr ""
"Если служба DHCP не сообщила имя файла, программа установки пытается "
"прочитать файл <filename>/kickstart/1.2.3.4-kickstart</filename>, где "
-"<replaceable>1.2.3.4</replaceable> — десятичный IP-адрес компьютера, "
+"<replaceable>1.2.3.4</replaceable> — IP-адрес компьютера, "
"на котором производится установка."
# EXACT MATCH
@@ -20449,11 +20445,10 @@ msgid ""
msgstr ""
"Программа установки использует это сетевое устройство для подключения к "
"сети. Например, чтобы начать кикстарт-установку с файлом кикстарта, "
-"расположенного на NFS-сервере, который подключен к компьютеру через "
+"расположенным на NFS-сервере, который подключен к компьютеру через "
"устройство eth1, выполните команду <command>ks=nfs:<replaceable><"
"сервер></replaceable>:/<replaceable><путь></"
-"replaceable>ksdevice=eth1</command> в ответ на приглашение <prompt>boot:</"
-"prompt>."
+"replaceable>ksdevice=eth1</command> в строке приглашения <prompt>boot:</prompt>"
#. Tag: command
#: Kickstart2.xml:3131
@@ -20469,9 +20464,9 @@ msgid ""
"systems. Includes MAC address of all nics in CGI environment variables of "
"the form: \"X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab\"."
msgstr ""
-"Добавляет заголовки HTTP к ks=http:// request. Включает MAC-адрес всех "
-"сетевых карт в переменных CGI-окружения в форме \"X-RHN-Provisioning-MAC-0: "
-"eth0 01:23:45:67:89:ab\"."
+"Добавляет заголовки HTTP к запросам «ks=http://». Включает MAC-адрес всех "
+"сетевых карт в переменных CGI-окружения в форме «X-RHN-Provisioning-MAC-0: "
+"eth0 01:23:45:67:89:ab»."
# EXACT MATCH
#. Tag: command
@@ -20488,7 +20483,7 @@ msgid ""
"valid to be used with the 'lang' kickstart command."
msgstr ""
"Язык установки. Допускаются значения, которые могут быть заданы с помощью "
-"команды кикстарта 'lang'."
+"команды кикстарта «lang»."
# EXACT MATCH
#. Tag: command
@@ -20527,9 +20522,7 @@ msgstr "Выполнение графической установки с раз
msgid ""
"Activates loader code to give user option of testing integrity of install "
"source (if an ISO-based method)."
-msgstr ""
-"Активирует код загрузчика для разрешения пользователю выполнять медиа-"
-"проверку установочного носителя (для ISO-установки)."
+msgstr "Активирует код загрузчика для разрешения пользователю выполнять проверку целостности установочного носителя (для ISO-установки)."
#. Tag: command
#: Kickstart2.xml:3176
@@ -20886,7 +20879,7 @@ msgstr "updates=ftp://<replaceable><путь></replaceable>"
#: Kickstart2.xml:3442
#, no-c-format
msgid "Image containing updates over FTP."
-msgstr "FTP-путь к образу с обновлениями."
+msgstr "Ссылка на образ с обновлениями."
# EXACT MATCH
#. Tag: command
@@ -20954,7 +20947,7 @@ msgstr ""
#: Kickstart2.xml:3482 Kickstart2.xml:3495
#, no-c-format
msgid "Requires 'vnc' option to be specified as well."
-msgstr "Также необходимо указать параметр \"vnc\"."
+msgstr "Также необходимо указать параметр «vnc»."
# tr<replaceable><n></replaceable> for Token Ring
#. Tag: command
@@ -20970,7 +20963,7 @@ msgid ""
"Enable a password for the vnc connection. This will prevent someone from "
"inadvertently connecting to the vnc-based installation."
msgstr ""
-"Активировать пароль для VNC-соединения. Пароль помогает предотвратить "
+"Использовать пароль для VNC-соединения. Пароль помогает предотвратить "
"случайные подключения к VNC-установке."
#. Tag: para
14 years, 2 months