Search results

  1. B

    env blocks signals?

    So I wrote a daemon, and I wrote an rc script to start it, and it works fine if I start it from the command line as: /usr/local/etc/rc.d/myd start but if I start it with env foo=bar /usr/local/etc/rc.d/myd start then many signals are blocked from reaching the daemon. SIGHUP in particular. Can...
  2. B

    perl 5.8.9 >> perl 5.10 misadventure/ fix/ etc

    This thread has only been idle for four years, time to update it. jb_fvwm2 is correct that perl-after-upgrade is useless if the perl minor version is changing. In my case, I'm trying to do something very odd (go from perl5.10.1 to perl5.14.2 on FreeBSD 8.0) which caused me to have to inspect...
  3. B

    moving a port into the local source tree

    Wiedmann: Unfortunately that approach won't work, as I'm not modifying the port, I'm modifying FreeBSD header files on which the port depends... wblock: That is not the answer I wanted to hear. Please try again. Something like "Just download port-2-src from this website." :e
  4. B

    moving a port into the local source tree

    I'd like to be able to move a port into my local FreeBSD source tree (because I am constantly modifying some of the header files on which the port depends). My naive approach is to (and I'll use net-snmp as an example): cd /usr/ports/net-mgmt/net-snmp make configure mkdir...
  5. B

    Response to gratuitous arp

    This question is invalid. FreeBSD 8.0 does by default properly update arp cache in response to Gratuitous arp. Real problem was switch eating packets. I would delete the post myself, but I do not know how
  6. B

    Response to gratuitous arp

    How can I get a box (in this case freebsd FreeBSD 8.0) to update its arp table in response to a gratuitous arp? I'm sure there must be a sysctl for it, but for the life of me I can't find it. And yes, I am well aware of the security risks vis-a-vis man in the middle attacks.
  7. B

    automated install incorrect partition type

    Bug http://www.freebsd.org/cgi/query-pr.cgi?pr=148253 filed. Don't know if that constitutes grounds to mark thread solved or not. I choose not.
  8. B

    automated install incorrect partition type

    So I've figured out that what I've got is a bug. Furthermore, you can reproduce it from the command line as follows: [brj1-sut]atkstat# sysinstall debug=YES nonInteractive=YES noWarn=Yes disk=ad8 partition=262143441 bootManager=booteasy diskPartitionEditor diskPartitionWrite...
  9. B

    automated install incorrect partition type

    I'm not doing any ports at the moment. No point in installing ports if the thing won't boot.
  10. B

    automated install incorrect partition type

    Yeah, I just put the following in install.cfg and then put install.cfg at the base of my mfsroot debug=yes hostname=netbuild domainname=XXX.com nfs=192.168.2.51:/sa/jumpstart/src netDev=em3 tryDHCP=YES mediaSetNFS disk=ad4 partition=262143441 bootManager=booteasy diskPartitionEditor...
  11. B

    automated install incorrect partition type

    I'm doing an automated install, and it all works, except that the partition type is incorrect (so, of course it won't boot). If I pull the drive out and look at it on another machine, I get: [brj1-sut]tmp# fdisk -p /dev/ad10 # /dev/ad10 g c969021 h16 s63 p 1 0x03 63 262142433 Instead of...
  12. B

    Installing ports to alternate root

    As expected? Not the terminology I would have chosen, but yeah, it now does what I want, if not quite the way I expected. Unfortunately I'm on the clock, so I don't really have the time to delve into it further to see if it's my error or something in some of the ports.
  13. B

    Installing ports to alternate root

    Re: why? Well, to be honest, my understanding may be incorrect. But... I don't think I should have to do the loopback mount of /usr/ports to $DESTDIR/usr/ports. $DESTDIR/usr/ports already exists, and my work dir - at least as evidenced by the log file - ends up under some temp directory...
  14. B

    Installing ports to alternate root

    Well, it mostly works. Trouble is it looks like many of the ports themselves are broken. they have a bug in the path for install.sh for instance, bison, ipmitool, gsed, ... make install-recursive test no != no || /bin/sh /usr/ports/devel/bison/work/bison-2.4.1/build-aux/install-sh -d...
  15. B

    Installing ports to alternate root

    Muchas Gracias Carpetsmoker. I will try DESTDIR and see how that works. Certainly both PREFIX and LOCALBASE do not do what I what I want.
  16. B

    Installing ports to alternate root

    I'm trying to figure out the best way to install ports to an alternate root as part of creating a custom FreeBSD distribution that includes certain ports. I can use make install PREFIX=/altroot/usr/local but I am worried that some ports may be internally using PREFIX, or setting LOCALBASE to...
  17. B

    sysctl kern.geom.debugflags=16 no longer works?

    was root, also tried 17. neither worked.
  18. B

    sysctl kern.geom.debugflags=16 no longer works?

    Or am I confused? using freebsd 8.0 RELEASE amd64 on a clean install, I cannot do the following: > sysctl kern.geom.debugflags=16 > bsdlabel -e /dev/ad4s1 /tmp/EdDk.Si4z856c0L: 7 lines, 332 characters. bsdlabel: Class not found re-edit the label? [y]: or > sysctl kern.geom.debugflags=16...
  19. B

    FreeBSD accessed via grub2

    Grub2 (1.97~beta4) works fine with BSD. You can do two things: 1) do the traditional BSD 2nd stage loader: menuentry "FreeBSD ad4, via /boot/loader" { insmod ufs2 set root=(hd0,1,a) freebsd /boot/loader } or you can boot the FreeBSD kernel directly. In order to...
  20. B

    gmirror testing/recovery

    Doh! -1 me
Back
Top