Hi,
I'm having trouble setting up an FC2 root with the current mach/yum build system. First, it seems to configuration regarding "/sbin/runuser" being overwritten for FC3 and FC Dev roots it redundant, as runuser is the default in the main mach file. But the problem is that it's in there with "@SBINDIR@/runuser" whereas it's always installed as "/sbin/runuser". I think hardcoding it as "/sbin/runuser" in mach.in would be an acceptable solution, otherwise a new configure check and replace should probably be done.
Now, I've added this to my "fedora-2-i386" file :
config['fedora-2-i386-core'] = {'runuser': '/bin/su'}
But it seems that it's not taken into account, and I really don't understand why. If I change the main runuser definition in /usr/bin/mach to /bin/su, then all works fine. I'm really puzzled on that one, and am wondering what I could be doing wrong. Any ideas?
Matthias
On Tue, 2005-04-19 at 16:08 +0200, Matthias Saou wrote:
Hi,
I'm having trouble setting up an FC2 root with the current mach/yum build system. First, it seems to configuration regarding "/sbin/runuser" being overwritten for FC3 and FC Dev roots it redundant, as runuser is the default in the main mach file. But the problem is that it's in there with "@SBINDIR@/runuser" whereas it's always installed as "/sbin/runuser". I think hardcoding it as "/sbin/runuser" in mach.in would be an acceptable solution, otherwise a new configure check and replace should probably be done.
Now, I've added this to my "fedora-2-i386" file :
config['fedora-2-i386-core'] = {'runuser': '/bin/su'}
But it seems that it's not taken into account, and I really don't understand why. If I change the main runuser definition in /usr/bin/mach to /bin/su, then all works fine. I'm really puzzled on that one, and am wondering what I could be doing wrong. Any ideas?
Thomas might disagree but I think all the autoconf stuff in mach is overkill. It doesn't serve much purpose b/c the default use case is what should be the default.
try setting that config in your /etc/mach/conf file.
just for fun. -sv
seth vidal wrote :
Now, I've added this to my "fedora-2-i386" file :
config['fedora-2-i386-core'] = {'runuser': '/bin/su'}
But it seems that it's not taken into account, and I really don't understand why. If I change the main runuser definition in /usr/bin/mach to /bin/su, then all works fine. I'm really puzzled on that one, and am wondering what I could be doing wrong. Any ideas?
Thomas might disagree but I think all the autoconf stuff in mach is overkill. It doesn't serve much purpose b/c the default use case is what should be the default.
try setting that config in your /etc/mach/conf file.
When I set any of these two in /etc/mach/conf it works as expected :
config['runuser'] = '/bin/su' config['runuser'] = '/sbin/runuser'
Next test, this line :
config['fedora-2-i386-core'] = { 'runuser': '/sbin/runuser' }
When it's in my ~/.machrc the build fails as expected (since /bin/su is my value in /usr/bin/mach and the expected value for FC2 to work), but when it's in /etc/mach/dist.d/fedora-2-i386 instead, the build works.
Matthias
buildsys@lists.fedoraproject.org