On Mon, Oct 3, 2016 at 4:47 PM, <sf...@users.sourceforge.net> wrote: > > Hello Guan, > > The reason is that those commands are invoked from another command via > execve(). > As you might know, specifying the full path is one approach to make it > secure. If you want to install them other than /usr/lib, you need to > change these lines too. > > ./fhsm/Makefile:38:override CPPFLAGS += > -DAUFHSM_LIST_CMD=\"/usr/lib/aufhsm-list\" > ./fhsm/Makefile:39:override CPPFLAGS += -DAUFHSMD_CMD=\"/usr/lib/aufhsmd\" > > > J. R. Okajima
Thanks for the clarification! Looking closer at FHS, I see /usr/lib gives better compatibility than /usr/libexec, and quite a few software (such as rpm, udisks2, etc.) do use /usr/lib to store internal programs. So it's fine to have the path hard coded into the Makefile. Best regards, Guan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot