Description of Problem: The --sysconfdir=/etc parameter is missed in "sudo.spec" ... %build %configure ... However sysconfig=/usr/etc/ by defaul, so "sudoers" will be in wrong place. Version-Release number of selected component (if applicable): sudo-1.6.3p7-2.src.rpm How Reproducible: try to rebuild Steps to Reproduce: 1. rpm -ba sudo.spec 2. 3. Actual Results: ... + make gcc -c -I. -I. -O2 -m486 -fno-strength-reduce -D_PATH_SUDOERS= \"/usr/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/usr/etc/sudoers.tmp\" - DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 check.c ... Processing files: sudo-1.6.3p7-2 File not found: /var/tmp/sudo-root/etc/sudoers ... Expected Results: "sudoers" file should be in /etc/sudoers Additional Information: Change sudo.spec : %build %configure \ --sysconfdir=/etc \ mkdir $RPM_BUILD_ROOT %{makeinstall} install_uid=`id -u` install_gid=`id -g` sudoers_uid=`id -u` sudoers_gid=`id -g` sysconfdir=$RPM_BUILD_ROOT/etc
Your rpm configuration is broken. %configure is supposed to set sysconfdir properly (and most definitely does here).