In the master branch of GnuPG, selection preference by available card/token is implemented.
Because of this, some gpg operation causes invocation of scdaemon.
After gpg-agent shutdown, scdaemon remains with no parent on NetBSD.
$ gpg-agent --homedir=/some/where --daemon /bin/bash $ gpg ... $ exit $ ps aux | grep scdaemon