Re: install erroring out durning mergemaster...

From: Jeremie Le Hen (jeremie_at_le-hen.org)
Date: 07/06/05

  • Next message: Peter Losher: "Re: install erroring out durning mergemaster..."
    Date: Wed, 6 Jul 2005 01:47:58 +0200
    To: Peter Losher <Peter_Losher@isc.org>
    
    

    Hi Peter, Hi Doug,

    > -=-
    > cd /usr/src/etc/root; install -o root -g wheel -m 644
    > dot.cshrc /var/tmp/temproot/root/.cshrc; install -o root -g wheel -m 644
    > dot.login /var/tmp/temproot/root/.login; install -o root -g wheel -m 644
    > dot.profile /var/tmp/temproot/root/.profile; rm
    > -f /var/tmp/temproot/.cshrc /var/tmp/temproot/.profile;
    > ln /var/tmp/temproot/root/.cshrc /var/tmp/temproot/.cshrc;
    > ln /var/tmp/temproot/root/.profile /var/tmp/temproot/.profile
    > cd /usr/src/etc/mtree; install -o root -g wheel -m 444 BSD.include.dist
    > BSD.local.dist BSD.root.dist BSD.usr.dist BSD.var.dist BSD.x11.dist
    > BSD.x11-4.dist BIND.chroot.dist /var/tmp/temproot/etc/mtree
    > cd /usr/src/etc/namedb; install -o root -g wheel -m 644 PROTO.localhost.rev
    > PROTO.localhost-v6.rev named.conf named.root
    > make-localhost /var/tmp/temproot/var/named/etc/namedb
    > install: wrong number or types of arguments
    > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    > [-o owner] file1 file2
    > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    > [-o owner] file1 ... fileN directory
    > install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    > *** Error code 64
    >
    > Stop in /usr/src/etc.
    >
    > *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
    > the temproot environment
    > -=-

    > That sounds about right (I have NO_BIND_ETC=true defined in make.conf); any
    > workaround, since we really have no need to run the BIND9 release that comes
    > w/ 5.x ;), and a error like this makes NO_BIND or NO_BIND_ETC rather
    > useless. :( (if there isn't, I'll open a PR on it)

    Given the error you showed us, I would say you have NO_BIND_MTREE
    instead of NO_BIND_ETC in make.conf(5). This leads to not create
    /var/tmp/temproot/var/named/etc/namedb and then, it appears you do not
    have NO_BIND_ETC, because it tries to install files from src/etc/namedb
    (see src/etc/Makefile, distribution target).

    I don't know why this separation have been made. I would say that if
    someone don't want Bind configuration files installed, he doesn't want
    to run mtree for its chroot either. Conversely, if he doesn't want to
    run mtree for chroot'd Bind, he certainly doesn't want to install its
    configuration files.

    I dare to Cc Doug Barton to have an answer to this, since he is the
    author of these bits, IIRC.

    Regards,

    -- 
    Jeremie Le Hen
    < jeremie at le-hen dot org >< ttz at chchile dot org >
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Peter Losher: "Re: install erroring out durning mergemaster..."

    Relevant Pages

    • Re: dpkg / apt equivalent to rpm -qf?
      ... >some configuration files are created upon installation and not owned ... >by any package. ... >figure out which package created the file than, as on a SuSE or Red ... Typically I want to install at the office, ...
      (Debian-User)
    • Re: Apache: The requested URL / was not found on this server.
      ... Hash: SHA1 ... Thursday afternoon I reinstalled my i386 Debian installation as amd64 ... If you need any of my configuration files just ask, ... i386 install to my amd64 install (Not that the architecture makes any ...
      (Debian-User)
    • Re: cupsys : forbidden [SOLVED]
      ... When I did the whole upgrade thing, cupsys disappeared from view and uninstalled. ... I couldn't install it because it wasn't found using ... Starting to look like a purge and reinstall is my only option because the configuration files don't look anything alike in format or form. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: problem in rexec command
      ... These are configuration files for xinetd. ... You will also then need to restart a few services: ... do that since initilaly it was asking for rc-inetd file. ... install inetdaemon then it was again asking for rc-inetd. ...
      (uk.comp.os.linux)
    • Re: Moving from 9.1 to 9.2
      ... I have two questions about backing up 9.1 and doing a fresh install ... > configuration files. ... Make a not of your previous printer settings. ... > ID's have changed numerically as a result of the upgrade. ...
      (alt.os.linux.suse)