On 11/2/19 11:06 AM, Bruce Dubbs wrote:
On 11/2/19 1:47 AM, hykwok1--- via blfs-dev wrote:
When I tried to build sudo (1.8.29) for a new system, "make install" reported fail because the file "/etc/sudoers" was missing.
So I had to create this file before I executed "make install".

I am not sure this problem is related this change or not:

https://www.sudo.ws/stable.html#1.8.29:

For make install, the sudoers file is no longer checked for syntax errors when DESTDIR is set. The default sudoers file includes the contents of /etc/sudoers.d which may not be readable as non-root. Bug #902.


I just did a test build in a pristine LFS build in chroot.  It installed fine for me.  Are you using DESTDIR?  If so, it may be that you need /etc to be created in the target directory.

My mistake. It does fail as you describe. I'll investigate the best way to fix. The easy way is to 'touch /etc/sudoers' before the install and then 'cp /etc/sudoers.dist /etc/sudoers', but I'd like to jsut skip the validity check in the install.

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