Changeset f586237 for postlfs/security/polkit.xml
- Timestamp:
- 06/05/2016 05:57:10 AM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 422bd2c
- Parents:
- eb3dbe3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/polkit.xml
reb3dbe3 rf586237 81 81 </para> 82 82 83 <bridgehead renderas="sect4" revision="systemd">Recommended</bridgehead> 84 <para role="recommended" revision="systemd"> 85 <xref linkend="linux-pam"/> 86 </para> 87 88 <note revision="systemd"> 89 <para> 90 Since <command>systemd-logind</command> uses PAM to register user 91 sessions, it is a good idea to build <application>Polkit</application> 92 with PAM support so <command>systemd-logind</command> can track 93 <application>Polkit</application> sessions. 94 </para> 95 </note> 96 97 83 98 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead> 84 99 <para role="optional"> … … 90 105 <xref linkend="DocBook"/>, 91 106 <xref linkend="docbook-xsl"/>, 92 <xref linkend="gtk-doc"/>, 93 <xref linkend="libxslt"/> and 94 <xref linkend="linux-pam"/> 107 <xref linkend="gtk-doc"/>, <phrase revision="systemd">and </phrase> 108 <xref linkend="libxslt"/><phrase revision="sysv">, and 109 <xref linkend="linux-pam"/></phrase> 110 </para> 111 112 <bridgehead renderas="sect4" revision="systemd">Required Runtime Dependencies</bridgehead> 113 <para role="required" revision="systemd"> 114 <xref linkend="systemd"/> 95 115 </para> 96 116 97 117 <note> 98 118 <para> 99 If <xref linkend="libxslt"/> is installed, then <xref linkend="DocBook"/> 100 and <xref linkend="docbook-xsl"/> are required. If you have installed 101 <xref linkend="libxslt"/>, but you do not want to install any of the 102 DocBook packages mentioned, you will need to use 103 <option>--disable-man-pages</option> in the instructions below. 119 If <xref linkend="libxslt"/> is installed, 120 then <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/> are 121 required. If you have installed <xref linkend="libxslt"/>, but you do 122 not want to install any of the DocBook packages mentioned, you will 123 need to use <option>--disable-man-pages</option> in the instructions 124 below. 104 125 </para> 105 126 </note> … … 124 145 -g polkitd -s /bin/false polkitd</userinput></screen> 125 146 147 <note revision="systemd"> 148 <para> 149 When building <application>Polkit</application> with 150 <application>systemd</application> logind support, the 151 <command>configure</command> script explicitly checks if 152 system is booted using <application>systemd</application>. 153 This can cause problems if building the package in chroot, 154 where the <command>configure</command> would fail to 155 detect <application>systemd</application>. To workaround 156 the problem, simply run the following command: 157 </para> 158 159 <screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen> 160 </note> 161 126 162 <para> 127 163 Install <application>Polkit</application> by running the following … … 129 165 </para> 130 166 131 <screen ><userinput>./configure --prefix=/usr \167 <screen revision="sysv"><userinput>./configure --prefix=/usr \ 132 168 --sysconfdir=/etc \ 133 169 --localstatedir=/var \ … … 137 173 make</userinput></screen> 138 174 175 <screen revision="systemd"><userinput>./configure --prefix=/usr \ 176 --sysconfdir=/etc \ 177 --localstatedir=/var \ 178 --disable-static && 179 make</userinput></screen> 180 139 181 <para> 140 182 To test the results, issue: <command>make check</command>. … … 156 198 <title>Command Explanations</title> 157 199 158 <para >200 <para revision="sysv"> 159 201 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes 160 202 building without <application>systemd</application>, which is not part … … 163 205 </para> 164 206 165 <para >207 <para revision="sysv"> 166 208 <parameter>--with-authfw=shadow</parameter>: This parameter configures the 167 209 package to use the <application>Shadow</application> rather than the 168 <application>Linux PAM</application> Authentication framework. Remove it 169 if you would like to use <application>Linux PAM</application>. 210 <application>Linux-PAM</application> Authentication framework. Remove it 211 if you would like to use <application>Linux-PAM</application>. 212 </para> 213 214 <para revision="systemd"> 215 <option>--with-authfw=shadow</option>: This switch enables the 216 package to use the <application>Shadow</application> rather than the 217 <application>Linux PAM</application> Authentication framework. Use it 218 if you have not installed <application>Linux PAM</application>. 170 219 </para> 171 220
Note:
See TracChangeset
for help on using the changeset viewer.