-------- Forwarded Message --------
Subject: BLSF-10.1: polkit / shadow; nspr
Date: Thu, 22 Apr 2021 12:23:51 +0200
From: Rainer Fiebig <j...@mailbox.org>
To: Bruce Dubbs <bruce.du...@gmail.com>

Hi!

polkit / shadow
***************
The following command doesn't work, the directory  /etc/polkit-1  is
*not* being created:

useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
        -g polkitd -s /bin/false polkitd

That's obviously due to a change in shadow, as its manpage (-4.8.1) now
states that  - if missing - the homedir will *not* be created. For
version 4.6 it says the opposite.


Apart from that I suggest that

        --enable-libelogind=no

be mentioned in the config-options for polkit because otherwise it won't
build if elogind is not installed (as in my case).


nspr
****
The following line doesn't work, bash-5.1 complains about a missing ']':

        $([ $(uname -m) = x86_64 ] && echo --enable-64bit)
        
This does work, however:

        $( if [[ $(uname -m) == x86_64 ]]; then  echo "--enable-64bit"; fi )
        

The first line does work in bash-4.4.18, though.


Rainer
--
The truth always turns out to be simpler than you thought.
Richard Feynman


Attachment: signature.asc
Description: PGP signature

-- 
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