On 2/26/19 10:10 PM, Xi Ruoyao via blfs-dev wrote:
On 2019-02-27 11:34 +0800, hykwok1--- via blfs-dev wrote:
1. AccountsService

It is better to create a file such as "40-adm.rules" in "/etc/polkit-
1/rules.d" with the following contents:

polkit.addAdminRule(function(action, subject) {
     return ["unix-group:adm"];
});

Then PolicyKit can recognize all users in the "adm" group as administrator.

I think this could be added into "Configuring Polkit" in Polkit-0.115.

Interesting.  We can add that.

Reference:
https://www.linux.org/docs/man8/polkit.html
https://www.freeipa.org/page/Howto/FreeIPA_PolicyKit

2. Notes on Building Software

In the section "Stripping One More Time", it is better to change the command
to:

find /{,usr/}{bin,lib,sbin} -type f -not -name "*.dbg" -exec strip --strip-
unneeded {} \;

That's because we want to keep the debug information that is saved in the LFS
chapter 6.78 " Stripping Again".

I confirm strip --strip-unneeded will damage .dbg file (since they are ELF) and
make them unusable.

I think we already have that in LFS.


/tools/bin/find /lib /usr/lib -type f \( -name \*.so* -a ! -name \*dbg \) \
   -exec /tools/bin/strip --strip-unneeded {} ';'

but we do need it in BLFS.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to