Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-10 Thread Michael Olbrich
On Sun, Mar 09, 2014 at 08:49:58PM +0100, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default to /usr/sbin/setcap as it's defined in

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-10 Thread Samuli Suominen
On 10/03/14 13:23, Michael Olbrich wrote: On Sun, Mar 09, 2014 at 08:49:58PM +0100, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-10 Thread Michael Olbrich
On Mon, Mar 10, 2014 at 02:13:38PM +0200, Samuli Suominen wrote: On 10/03/14 13:23, Michael Olbrich wrote: On Sun, Mar 09, 2014 at 08:49:58PM +0100, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-10 Thread Lennart Poettering
On Sat, 08.03.14 10:17, Samuli Suominen (ssuomi...@gentoo.org) wrote: This version of the patch is likely more agreeable. No reason to add /usr/bin:/bin again to $PATH as it should be safe to expect at least they are there, or otherwise the system is really *broken*. :-) Thanks. Applied.

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-09 Thread Michael Biebl
2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default to /usr/sbin/setcap as it's defined in AC_PATH_PROG and fail during the build with 'setcap: command not

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-09 Thread Samuli Suominen
On 09/03/14 21:49, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default to /usr/sbin/setcap as it's defined in AC_PATH_PROG and fail

[systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-07 Thread Samuli Suominen
If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default to /usr/sbin/setcap as it's defined in AC_PATH_PROG and fail during the build with 'setcap: command not found' For example, my $PATH as normal user: $ echo $PATH