- Timestamp:
- 10/26/2014 02:00:55 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- 0e389d13
- Parents:
- b71b5c8
- Location:
- postlfs/security
- Files:
-
- 1 deleted
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/polkit-systemd.xml
rb71b5c8 rcb9c6940 81 81 </para> 82 82 83 <bridgehead renderas="sect4">Recommended</bridgehead> 84 <para role="recommended"> 85 <xref linkend="linux-pam"/> 86 </para> 87 88 <note> 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 83 97 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead> 84 98 <para role="optional"> … … 90 104 <xref linkend="DocBook"/>, 91 105 <xref linkend="docbook-xsl"/>, 92 <xref linkend="gtk-doc"/>, 93 <xref linkend="libxslt"/> and 94 <xref linkend="linux-pam"/> 106 <xref linkend="gtk-doc"/>, and 107 <xref linkend="libxslt"/> 108 </para> 109 110 <bridgehead renderas="sect4">Required Runtime Dependencies</bridgehead> 111 <para role="required"> 112 <xref linkend="systemd"/> (for Logind) 95 113 </para> 96 114 … … 124 142 -g polkitd -s /bin/false polkitd</userinput></screen> 125 143 144 <note> 145 <para> 146 When building <application>Polkit</application> with 147 <application>systemd</application> logind support, the 148 <command>configure</command> script explicitly checks if 149 system is booted using <application>systemd</application>. 150 This can cause problems if building the package in chroot, 151 where the <command>configure</command> would fail to 152 detect <application>systemd</application>. To workaround 153 the problem, simply run the following command: 154 </para> 155 156 <screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen> 157 </note> 158 126 159 <para> 127 160 Install <application>Polkit</application> by running the following … … 129 162 </para> 130 163 131 <screen><userinput>./configure --prefix=/usr \ 132 --sysconfdir=/etc \ 133 --localstatedir=/var \ 134 --disable-static \ 135 --enable-libsystemd-login=no \ 136 --with-authfw=shadow && 164 <screen><userinput>./configure --prefix=/usr \ 165 --sysconfdir=/etc \ 166 --localstatedir=/var \ 167 --disable-static && 137 168 make</userinput></screen> 138 169 … … 156 187 <title>Command Explanations</title> 157 188 158 <para>159 <parameter>--enable-libsystemd-login=no</parameter>: This parameter fixes160 building without <application>systemd</application>, which is not part161 of LFS/BLFS. If you use <application>systemd</application>,162 replace "no" by "yes".163 </para>164 165 <para>166 <parameter>--with-authfw=shadow</parameter>: This parameter configures the167 package to use the <application>Shadow</application> rather than the168 <application>Linux PAM</application> Authentication framework. Remove it169 if you would like to use <application>Linux PAM</application>.170 </para>171 172 189 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 173 190 href="../../xincludes/static-libraries.xml"/> 191 192 <para> 193 <option>--with-authfw=shadow</option>: This switch enables the 194 package to use the <application>Shadow</application> rather than the 195 <application>Linux PAM</application> Authentication framework. Use it 196 if you have not installed <application>Linux PAM</application>. 197 </para> 174 198 175 199 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
postlfs/security/security.xml
rb71b5c8 rcb9c6940 43 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulnerabilities.xml"/> 44 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cacerts.xml"/> 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consolekit.xml"/>46 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cracklib.xml"/> 47 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cyrus-sasl.xml"/> … … 60 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/> 61 60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p11-kit.xml"/> 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit .xml"/>61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-systemd.xml"/> 63 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> 64 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ssh-askpass.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.