Changeset 1121404


Ignore:
Timestamp:
03/02/2023 03:00:29 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
0c72a8b
Parents:
8de6bb81
git-author:
Xi Ruoyao <xry111@…> (03/01/2023 06:24:00 PM)
git-committer:
Xi Ruoyao <xry111@…> (03/02/2023 03:00:29 AM)
Message:

polkit: Remove unnecessary configuration section

Now polkit installs a correct PAM location for LFS. The building system
checks if /etc/lfs-release exists to know if the system is LFS. If
/etc/lfs-release is not created, we can also specify it manually with
-Dos_type=lfs.

Link: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    r8de6bb81 r1121404  
    290290
    291291    <para>
     292      <option>-Dos_type=lfs</option>: Use this switch if you did not create
     293      the <filename>/etc/lfs-release</filename> file or distribution auto
     294      detection will fail and you will be unable to use
     295      <application>Polkit</application>.
     296    </para>
     297
     298    <para>
    292299      <option>-Dauthfw=shadow</option>: This switch enables the
    293300      package to use the <application>Shadow</application> rather than the
     
    321328      installing the API documentation.
    322329    </para>
    323 
    324   </sect2>
    325 
    326   <sect2 role="configuration">
    327     <title>Configuring Polkit</title>
    328 
    329     <sect3>
    330       <title>PAM Configuration</title>
    331 
    332       <note>
    333         <para>
    334           If you did not build <application>Polkit</application> with
    335           <application>Linux PAM</application> support, you can skip this
    336           section.
    337         </para>
    338       </note>
    339 
    340       <para>
    341         If you have built <application>Polkit</application> with
    342         <application>Linux PAM</application> support, you need to modify
    343         the default PAM configuration file which was installed by default to get
    344         <application>Polkit</application> to work correctly with BLFS. Issue the
    345         following commands as the <systemitem class="username">root</systemitem>
    346         user to create the configuration file for <application>Linux PAM</application>:
    347       </para>
    348 
    349 <screen role="root"><userinput>cat &gt; /etc/pam.d/polkit-1 &lt;&lt; "EOF"
    350 <literal># Begin /etc/pam.d/polkit-1
    351 
    352 auth     include        system-auth
    353 account  include        system-account
    354 password include        system-password
    355 session  include        system-session
    356 
    357 # End /etc/pam.d/polkit-1</literal>
    358 EOF</userinput></screen>
    359 
    360     </sect3>
    361330
    362331  </sect2>
Note: See TracChangeset for help on using the changeset viewer.