[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Application Setup on Trisquel
From: |
Caleb Herbert |
Subject: |
Re: Application Setup on Trisquel |
Date: |
Tue, 24 Oct 2017 16:33:00 -0700 (PDT) |
Ludovic Courtès <address@hidden> wrote ..
> You should get nscd from Trisquel, in its ‘nscd’ package. You’ll have
> more success asking Trisquel questions on Trisquel fora though. :-)
Done.
> > * How do I make sure ncsd is "listening on the /var/run/nscd/socket
> > socket"?
>
> You could run “lsof | grep nscd”, but it’s likely to be the case once
> nscd running.
It seems to be running. :-)
address@hidden:~# lsof | grep nscd | grep '\/var\/run\/'
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system
/run/user/1000/gvfs
Output information may be incomplete.
nscd 2691 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2692 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2693 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2694 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2695 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2697 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2698 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2699 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2700 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
nscd 2691 2701 root 12u unix 0xffff8800361d4000
0t0 404213 /var/run/nscd/socket
> > The manual instructs users on foreign distros to export environment
> > variables. Doing this in the shell makes the changes temporary.
> > Where should these changes be made permanent? (It is bad practice to
> > put environment variables in .bashrc.)
>
> /etc/profile would be the right place.
Is this correct?
# echo 'export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale' >>/etc/p
rofile
# echo 'export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"' >>/
etc/profile
# echo 'export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-c
ertificates.crt"' >>/etc/profile
# echo 'export GIT_SSL_CAINFO="$SSL_CERT_FILE"' >>/etc/profile
# echo 'export CURL_CA_BUNDLE="$HOME/.guix-profile/etc/ssl/certs/ca-
certificates.crt"' >>/etc/profile
# echo 'source $HOME/.guix-profile/etc/profile' >>/etc/profile