From owner-freebsd-rc@FreeBSD.ORG Mon Jan 20 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83723AC0 for ; Mon, 20 Jan 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 63E611D7C for ; Mon, 20 Jan 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KB6qfZ088464 for ; Mon, 20 Jan 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0KB6pel088462 for freebsd-rc@FreeBSD.org; Mon, 20 Jan 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Jan 2014 11:06:51 GMT Message-Id: <201401201106.s0KB6pel088462@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172787 rc [rc.conf] FreeBSD 9.x broken alias syntax on vlan inte o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe o conf/153666 rc [rc.d][patch] mount filesystems from fstab over zfs da o conf/153200 rc post-boot /etc/rc.d/network_ipv6 start can miss neighb o conf/153123 rc [rc] [patch] add gsched rc file to automatically inser o conf/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [PATCH] rc.d script to manage multiple FIBS (kern opti o conf/149831 rc [PATCH] add support to /etc/rc.d/jail for delegating Z o conf/148656 rc rc.firewall(8): {oip} and {iip} variables in rc.firewa o conf/147685 rc [rc.d] [patch] new feature for /etc/rc.d/fsck o conf/147444 rc [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot o conf/146053 rc [patch] [request] shutdown of jails breaks inter-jail o conf/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con o conf/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a conf/142973 rc [jail] [patch] Strange counter init value in jail rc o conf/142434 rc [patch] Add cpuset(1) support to rc.subr(8) o conf/142304 rc rc.conf(5): mdconfig and mdconfig2 rc.d scripts lack e o conf/141909 rc rc.subr(8): [patch] add rc.conf.d support to /usr/loca o conf/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/122968 rc [rc.d] /etc/rc.d/addswap: md swapfile multiplication a o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/122170 rc [patch] [request] New feature: notify admin via page o o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug a conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/118325 rc [patch] [request] new periodic script to test statuses f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate o conf/108589 rc rtsol(8) fails due to default ipfw rules o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle a conf/88913 rc [patch] wrapper support for rc.subr o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/73677 rc [patch] add support for powernow states to power_profi a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 92 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Jan 20 17:39:45 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AD80E20 for ; Mon, 20 Jan 2014 17:39:45 +0000 (UTC) Received: from mail-pb0-x241.google.com (mail-pb0-x241.google.com [IPv6:2607:f8b0:400e:c01::241]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 44011178E for ; Mon, 20 Jan 2014 17:39:45 +0000 (UTC) Received: by mail-pb0-f65.google.com with SMTP id rq2so2525748pbb.4 for ; Mon, 20 Jan 2014 09:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:reply-to:subject:date; bh=Iyk2K6fvYNLbDPkOF2p5SQgAED667GVP56ua58RI4bE=; b=QDAnxeKr3c49DgzTvmFt//1sYPD2+MwTMfb2tUAmkhr4MeIKiolfqPmsCLIOlRJL1C d06E5PPXZ+LkPYSD0YwABz7+vxhLFNe7H3xk5VwUb+57akJ6luxgFhEXXwLFeOrEZQB+ P8stAd/gjIcn63kDoRDD6MMwkd2Sbod2C6qKJwSywGkKI275OH7vf2pj16TKUGzW9mCU rwdZlG62V4e4hM6DN23h+u0GoYBgaiZz/0l1fWxOEJc7M4kZ0EwsnzSSOtTT/9wpvdiS n4KvVfugTpRxhBKRTgsIyQzfuobWzOzD3Ej0XvdB/e7amfqklSTHgbq2um7MzEJB1P5j QK2g== X-Received: by 10.68.232.132 with SMTP id to4mr4404405pbc.141.1390239584991; Mon, 20 Jan 2014 09:39:44 -0800 (PST) Received: from localhost.localdomain ([124.253.33.120]) by mx.google.com with ESMTPSA id nl7sm4520355pbc.6.2014.01.20.09.39.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 20 Jan 2014 09:39:43 -0800 (PST) Message-ID: <52dd5f5f.a7d4440a.173a.ffffd26c@mx.google.com> From: auroras31616@gmail.com To: freebsd-rc@freebsd.org Subject: RE: LOCAL MAP OPTIMIZATION FOR : mail-archive.com (Less Than $99/Month) Date: Mon, 20 Jan 2014 23:09:44 +0530 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: LORI76557@gmail.com List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 17:39:45 -0000 Good Morning Sir / Mam Is your business ranking in local maps shown on PAGE 1 of google ? With new google policies they have specifically asked local business owners to optimize their website for local maps rather than JUST organics. Do you know the reason why you are not ranked well on google MAPs or why there is drop in your website rankings? Prime reason for bad rankings for a busniess is lack of local presence and local citations ie getting your business listed on directories like YELP, MANTA & Many more. These websites not just give your business a push but also help you Maintain a good Online Reputation. Why you need to optimize your website for local MAP Listings ? - MAP listings get 10 times more clicks than organic listings - Increased conversions because of real reviews posted on your Google Plus Page - Every year there is 30% increase in searches for local keywords - Increases legitimacy of a Business We will help you get your website ranked well on google for the related keywords in your niche. We specialize in LOCAL SEARCH ENGINE OPTIMIZATION increasing visibility for small businesses by ranking them for geographically-related keywords. Say for eg-: you want to search a plumber in your city, You will be typing in keywords like Plumbers + City Or Plumbers + IN + City. We make sure your website comes in google MAP listings shown on page 1 for each such keyword. Now Google believes in - BE ORIGINAL, HAVE ORIGINAL AND GIVE ORIGINAL which means that google wants to end up that frustrating experience of users who are searching for Service Or Product and seeing the results that are not even close to what they are looking for. Google only wants to give their user original and relevant results. This makes it even more important that we showcase our business in the best possible way and make sure our website in valued high by google. We at TheLOCALIST will make google feel the importance of your business by following their guidelines thus ranking your website higher in serach results. We are presently offering LOCAL OPTIMIZATION to more than 400 websites and they all rank page 1 for all possible keywords !!! Each month your website is submitted to more than 50 citations and social presence is controlled by posting videos and blogs all over the web. Email us back with your website & phone number so we can discuss this further with you. Our Packages start from as low as 99$/month. Thanks For Taking Time To Read Our Email Polly Martin Local SEO Manager ( THE Localist ) Address : 24 ST Suite 32 Downtown Provo Utah ------------------- NOT INTERESTED ? REPLY WITH NOT INTERESTED IN THE SUBJECT LINE From owner-freebsd-rc@FreeBSD.ORG Tue Jan 21 08:50:07 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 659F659E for ; Tue, 21 Jan 2014 08:50:07 +0000 (UTC) Received: from mail-yh0-x247.google.com (mail-yh0-x247.google.com [IPv6:2607:f8b0:4002:c01::247]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C5F412E3 for ; Tue, 21 Jan 2014 08:50:07 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id b12so1263397yha.2 for ; Tue, 21 Jan 2014 00:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=vKeovf2n3FJIztXRnjo+OGeqCBLaqZ4mSJZT6Lp7DJA=; b=0q7gKbDSu10HvQp+zmAlr4lhryn+GLsLDwcrOfFeYYjupguWcVYJCLvPkIhpjzq+pB VLCbs2V5xfKrdNTzKENA6TwhNk/oF1qKIegyYeEBcYbmpcNgFs+eszLZaIPP+nrCse8E zSw0EZZqnbGNWFZFGR2lM5g+jhLpCZu0dUx6q+bMGDH0RdkjlbNwbzL6oLAyADPiO35r W8cO/YZ4g/prGKzvTkeADhzU+iWS75JMVK6tk1wVpeJJvZreTG2ecA4NfUvduthYEj1F d5N9eUPoRZfKupl9dSEo9B3WaSmpmVGwrT+NeQYIaG7tL2aQBxGgdACDlPQk8GOL/ZOt MSag== MIME-Version: 1.0 X-Received: by 10.236.165.133 with SMTP id e5mr7733242yhl.31.1390294206373; Tue, 21 Jan 2014 00:50:06 -0800 (PST) Message-ID: <20cf3040e6244de68404f0771870@google.com> Date: Tue, 21 Jan 2014 08:50:06 +0000 Subject: www.freebsd.org From: Anna Garcia To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 08:50:07 -0000 SGksDQoNCkkganVzdCB3YW50ZWQgdG8gc2VuZCB5b3UgYSBxdWljayBub3RlLiBXaXRoIGEgZmV3 IHNpbXBsZSBjaGFuZ2VzIHRvIG1ha2UNCnlvdXIgc2l0ZSBtb3JlIFNFTy1mcmllbmRseSBJkm0g c3VyZSB5b3UgY2FuIGNvbnZlcnQgbW9yZSB2aXNpdG9ycyBpbnRvDQpsZWFkcyBhbmQgZ2V0IGl0 IHBsYWNlZCBoaWdoZXIgaW4gdGhlIG9yZ2FuaWMgc2VhcmNoIHJlc3VsdHMsIGZvciBrZXl3b3Jk cw0KdGhhdCBtYXR0ZXIgdG8geW91IHRoZSBtb3N0Lg0KDQpXZSBhcmUgYW4gQXVzdHJhbGlhbiBi YXNlZCBjb21wYW55IHdpdGggYSBncmVhdCBpbi1ob3VzZSB0ZWNobmljYWwgdGVhbSB3aG8NCnJl YWxseSBrbm93IHRoZWlyIHN0dWZmIGFib3V0IHNlYXJjaCBlbmdpbmUgb3B0aW1pemF0aW9uLg0K DQpXb3VsZCB5b3UgbGlrZSBhIGJpdCBtb3JlIGluZm9ybWF0aW9uIGFib3V0IGhvdyB0byBnaXZl IHlvdXIgd2Vic2l0ZSBhDQpib29zdCB3aXRoIGJldHRlciBTRU8/DQoNCkJlc3QgcmVnYXJkcywN Cg0KQW5uYSBHYXJjaWENClNFTy9XRUIgU3BlY2lhbGlzdA0KDQpbaW1hZ2U6IExpbmtlZEluXSBb aW1hZ2U6IEZhY2Vib29rXSBbaW1hZ2U6IFR3aXR0ZXJdIFtpbWFnZTogU2t5cGVdDQogICAgICAg ICAgICAgUyAgIEUgIE8gICAgICAgICAgICAqU2VhcmNoIEVuZ2luZSBPcHRpbWl6YXRpb24qDQoN CldlIHJlc3BlY3QgeW91ciBwcml2YWN5IGFuZCB3YW50IHRvIG1ha2Ugc3VyZSB5b3UgYXJlIGF3 YXJlIG9mIGEgZmV3DQp0aGluZ3MuIEJ5IHJlcGx5aW5nIHRvIHRoaXMgZW1haWwsIHlvdSBhdXRo b3JpemUgb3VyIEF1c3RyYWxpYW4gYWZmaWxpYXRlcw0KdGhhdCBjYW4gaGVscCB3aXRoIHlvdXIg cHJvamVjdCB0byBjYWxsIHlvdSBhdCB0aGUgbnVtYmVyIHlvdSBwcm92aWRlZCwgYW5kDQp5b3Ug dW5kZXJzdGFuZCB0aGF0IHRoZXkgbWF5IHVzZSBhdXRvbWF0ZWQgcGhvbmUgdGVjaG5vbG9neSB0 byBjYWxsIHlvdS4gQXQNCm5vIHRpbWUgYXJlIHlvdSByZXF1aXJlZCB0byBtYWtlIGEgcHVyY2hh c2UuDQo= From owner-freebsd-rc@FreeBSD.ORG Fri Jan 24 03:44:25 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0D87E1A; Fri, 24 Jan 2014 03:44:25 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 26B411E80; Fri, 24 Jan 2014 03:44:24 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id l4so2162325lbv.10 for ; Thu, 23 Jan 2014 19:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=baz+ODQiro/KRUCgMRlm1/uk4nzl+jO2yPyFJ2GZ184=; b=hKknHjFFdits4kKW8Qj+qe9Byphm4n/lrAnj144o4YHEI9mLQ6/xzD3BRgiXD2KZ/6 tzDhz9sfWiyDLxZwYedUJE0t1PQoe/zrNamZoOmTv//uxc0Wsb1nHd4Rlft3lAlVn4PK jLq9dxGHTL/QIQ6n5rl4GPhPNq8MBB6vrQl6dSPCsk7k8Uc2an5A0CUCNPHwUOaTGT3Z oYqbDHeux/2zrE1t6ky58v2smLglfa6Vld1HEmzFoosTvvvTZbpfidujpJybGICqg+Ai ylKQY4gzd0SBRLRu9WuAAvGdMieej1xKjWDFfxbkdaLjJQWEB9T+BObPngeETZLTGbqO 4KJA== MIME-Version: 1.0 X-Received: by 10.112.135.9 with SMTP id po9mr7033289lbb.8.1390535062969; Thu, 23 Jan 2014 19:44:22 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.148.4 with HTTP; Thu, 23 Jan 2014 19:44:22 -0800 (PST) Date: Thu, 23 Jan 2014 19:44:22 -0800 X-Google-Sender-Auth: KzVcRkipI6rzL7k1Up7AnM8tERI Message-ID: Subject: rc.d scripts for starting BHyve from rc.d From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" , freebsd-rc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 03:44:26 -0000 Hi, I put together some scripts for starting a BHyve VM when a system boots. When the system boots, the console of the VM uses /dev/nmdm. It is possible to connect to the console of the VM with: cu -l /dev/nmdm0B It is a bit rough, but works nicely. Does someone out there have better scripts for doing this? Can some of the existing rc.d scripts for jails be reused for BHyve? I did the following: == put following entries in /etc/sysctl.conf == # BHyve needs this for tap interfaces net.link.tap.user_open=1 net.link.tap.up_on_open=1 ================================================================= == put following in /etc/rc.conf == ##################################################### # Create tap devices, one tap interface per BHyve VM. # Add the tap interfaces to bridge0 #################################################### cloned_interfaces="bridge0 tap0" autobridge_interfaces="bridge0" # change igb0 to whatever NIC you are using autobridge_bridge0="tap* igb0" == put following file in /usr/local/etc/rc.d/bhyvevm == #!/bin/sh # # $FreeBSD$ # # PROVIDE: bhyvevm # REQUIRE: netif bgfsck sshd LOGIN localpkg # KEYWORD: shutdown # . /etc/rc.subr name="bhyvevm" rcvar="bhyvevm_enable" start_cmd="bhyvevm_start" stop_cmd="bhyvevm_stop" # read configuration and set defaults load_rc_config "$name" : ${bhyvevm_enable="YES"} bhyvevm_start() { /vm/10.0/start_vm.sh } bhyvevm_stop() { /vm/10.0/stop_vm.sh vm1 } run_rc_command "$1" == put following script in /vm/10.0/start_vm.sh == #!/bin/sh VM=vm1 CONS_A=/dev/nmdm0A CONS_B=${CONS_A%%A}B IMG=/vm/10.0/disk.img TAP=tap0 BRIDGE=bridge0 touch ${CONS_A} if [ -e /dev/vmm/${VM} ]; then /usr/sbin/bhyvectl --vm=${VM} --destroy fi echo "Starting BHyve virtual machine named '${VM}'. Use 'cu -l ${CONS_B}' to access console" cmd="/usr/sbin/bhyveload -m 8G -d ${IMG} -c ${CONS_A} ${VM}" $cmd ret=$? if [ $ret -ne 0 ]; then echo "[FAILED]: $cmd" exit $ret fi ifconfig bridge0 up cmd="/usr/sbin/bhyve -c 16 -m 8G -A -H -P -g 0 -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,${TAP} -s 3:0,virtio-blk,${IMG} -l com1,${CONS_A} ${VM}" $cmd & ifconfig bridge0 up sleep 5 echo "~." | cu -l ${CONS_B} ================================================================= ==== put following script in /vm/10.0/stop_vm.sh === #!/bin/sh usage() { echo $0 "[vm name]" } if [ $# -lt 1 ]; then usage exit 1 fi VM=$1 echo "Stopping BHyve virtual machine named '$VM'" PID=`pgrep bhyve` if [ -n "$PID" ]; then kill $PID fi COUNT=0 while [ $COUNT -lt 20 -a -n "$PID" ] ; do PID2=`pgrep bhyve` if [ "$PID" != "$PID2" ]; then break fi sleep 5 done if [ -e /dev/vmm/${VM} ]; then /usr/sbin/bhyvectl --vm=${VM} --destroy fi exit 0 ================================================================= -- Craig From owner-freebsd-rc@FreeBSD.ORG Fri Jan 24 04:01:16 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5EF8258; Fri, 24 Jan 2014 04:01:16 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 707E31F9B; Fri, 24 Jan 2014 04:01:16 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id w10so2615918pde.34 for ; Thu, 23 Jan 2014 20:01:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+rufZd1bq3fyunkepR3cDCV68zr6J+JnUbUltzTDv4M=; b=oXCucE53sXe07bcWcUPfJaiutmrnUlriGSWWjgDOHLtnfgEK4ZNXDy2kYqrYAiGspc rEszKMb5bt5OCxJNxCnlUlTZI5ruMhZxXhbreUB9orQ8ia38HlLV2go/AhuM6RYW/nGJ Tj1GvRH+zePRF45Ym3ziGU6itGCoqrsd3S9jw2CcO7ombR7tXmH1aHZAgBYzCdc8Kha1 8wOdX0G7WRBQWPLNdH1AWoQ/5m5JdFVFWmljPTSgq2SewNsfn1XBJ49XRM0mJMb8cv7u t3+lLabxeBLf4rqMPD9pqoX26lbU/9el+fsUM3MLu3pDjOtUR7Kc/7ibq9ka83ff3aU2 tfWQ== MIME-Version: 1.0 X-Received: by 10.66.192.74 with SMTP id he10mr12055866pac.126.1390536075908; Thu, 23 Jan 2014 20:01:15 -0800 (PST) Received: by 10.68.155.38 with HTTP; Thu, 23 Jan 2014 20:01:15 -0800 (PST) In-Reply-To: References: Date: Thu, 23 Jan 2014 23:01:15 -0500 Message-ID: Subject: Re: rc.d scripts for starting BHyve from rc.d From: Aryeh Friedman To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-rc@freebsd.org, "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 04:01:16 -0000 Except for the consoles petitecloud does it much more smoothly (see thread on getting linux to run on bhyve on -RELEASE for the script).... namely it should not need conditional logic (instead of being autogenerated on demand) On Thu, Jan 23, 2014 at 10:44 PM, Craig Rodrigues wrote: > Hi, > > I put together some scripts for starting a BHyve VM > when a system boots. When the system boots, the console > of the VM uses /dev/nmdm. It is possible to connect > to the console of the VM with: cu -l /dev/nmdm0B > > It is a bit rough, but works nicely. > Does someone out there have better scripts for doing this? > > Can some of the existing rc.d scripts for jails be reused for BHyve? > > > > > I did the following: > > == put following entries in /etc/sysctl.conf == > # BHyve needs this for tap interfaces > net.link.tap.user_open=1 > net.link.tap.up_on_open=1 > ================================================================= > > == put following in /etc/rc.conf == > ##################################################### > # Create tap devices, one tap interface per BHyve VM. > # Add the tap interfaces to bridge0 > #################################################### > cloned_interfaces="bridge0 tap0" > > autobridge_interfaces="bridge0" > # change igb0 to whatever NIC you are using > autobridge_bridge0="tap* igb0" > > > > == put following file in /usr/local/etc/rc.d/bhyvevm == > #!/bin/sh > # > # $FreeBSD$ > # > > # PROVIDE: bhyvevm > # REQUIRE: netif bgfsck sshd LOGIN localpkg > # KEYWORD: shutdown > # > > . /etc/rc.subr > > name="bhyvevm" > rcvar="bhyvevm_enable" > > start_cmd="bhyvevm_start" > stop_cmd="bhyvevm_stop" > > # read configuration and set defaults > load_rc_config "$name" > : ${bhyvevm_enable="YES"} > > > bhyvevm_start() > { > /vm/10.0/start_vm.sh > } > > bhyvevm_stop() > { > /vm/10.0/stop_vm.sh vm1 > } > run_rc_command "$1" > > == put following script in /vm/10.0/start_vm.sh == > #!/bin/sh > VM=vm1 > CONS_A=/dev/nmdm0A > CONS_B=${CONS_A%%A}B > IMG=/vm/10.0/disk.img > TAP=tap0 > BRIDGE=bridge0 > > touch ${CONS_A} > if [ -e /dev/vmm/${VM} ]; then > /usr/sbin/bhyvectl --vm=${VM} --destroy > fi > > echo "Starting BHyve virtual machine named '${VM}'. Use 'cu -l ${CONS_B}' > to access console" > cmd="/usr/sbin/bhyveload -m 8G -d ${IMG} -c ${CONS_A} ${VM}" > $cmd > ret=$? > if [ $ret -ne 0 ]; then > echo "[FAILED]: $cmd" > exit $ret > fi > ifconfig bridge0 up > cmd="/usr/sbin/bhyve -c 16 -m 8G -A -H -P -g 0 -s 0:0,hostbridge -s 1:0,lpc > -s 2:0,virtio-net,${TAP} -s 3:0,virtio-blk,${IMG} -l com1,${CONS_A} ${VM}" > $cmd & > ifconfig bridge0 up > sleep 5 > echo "~." | cu -l ${CONS_B} > ================================================================= > > ==== put following script in /vm/10.0/stop_vm.sh === > #!/bin/sh > > usage() > { > echo $0 "[vm name]" > } > > if [ $# -lt 1 ]; then > usage > exit 1 > fi > VM=$1 > > echo "Stopping BHyve virtual machine named '$VM'" > > PID=`pgrep bhyve` > if [ -n "$PID" ]; then > kill $PID > fi > > COUNT=0 > while [ $COUNT -lt 20 -a -n "$PID" ] ; do > PID2=`pgrep bhyve` > if [ "$PID" != "$PID2" ]; then > break > fi > sleep 5 > done > > if [ -e /dev/vmm/${VM} ]; then > /usr/sbin/bhyvectl --vm=${VM} --destroy > fi > > exit 0 > ================================================================= > > > > -- > Craig > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-rc@FreeBSD.ORG Fri Jan 24 09:36:04 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A965F0 for ; Fri, 24 Jan 2014 09:36:04 +0000 (UTC) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE4F1183F for ; Fri, 24 Jan 2014 09:36:03 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id l6so3497089oag.35 for ; Fri, 24 Jan 2014 01:35:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8ViQum2CyskpN7GBfEKTYQ6kGLtgOQLcr0CWgEz7OLo=; b=Fn/sOC9ikghCNhKussotawHrXE8Z7T997NdnsbrOdkEley1KSC+dgSOB60aqOK/Y6k 0U9pazC/0J9WZiBwkNTo0vFGl+Zxa1ckMe/cGaS2GxgtIjZKod2r8K/o+NxxTejaoGNg slMQN/lqWOmGYlcNnQ3FY4k5MHOXcfb03cUYbg5RiEgj0/qPhLtUd3it7MYxwFlJXgvB a4BiQcbRJsVKak5FkeLAu9FD3trR+VGFhgdB4qCT+Y3IOj+hPMXIg0EEZUxGuwX7Rriy 5OQRnnaPgCu+LRzsulrJHR0iiCkDOAZWxloLqdPQmxhyIyhPHDbxrHO/xiPDTHDuY6RX eHXg== X-Gm-Message-State: ALoCoQlMuJB7V2um8omS/s95NLr7lN45yX5j7dF8uw/Fy2ZlkpiHMXKvRZqxN/BggCKFYfD9Jf3m X-Received: by 10.182.22.33 with SMTP id a1mr363195obf.60.1390556157013; Fri, 24 Jan 2014 01:35:57 -0800 (PST) Received: from Michaels-MacBook-Pro.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPSA id oo13sm2136109oeb.0.2014.01.24.01.35.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Jan 2014 01:35:56 -0800 (PST) Message-ID: <52E233FA.5010602@callfortesting.org> Date: Fri, 24 Jan 2014 01:35:54 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Aryeh Friedman , Craig Rodrigues Subject: Re: rc.d scripts for starting BHyve from rc.d References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org, "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 09:36:04 -0000 On 1/23/14 8:01 PM, Aryeh Friedman wrote: > Except for the consoles petitecloud does it much more smoothly... May I kindly suggest that you not use this list for PR or to slam the work of others? Michael From owner-freebsd-rc@FreeBSD.ORG Fri Jan 24 15:33:52 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D846569; Fri, 24 Jan 2014 15:33:52 +0000 (UTC) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3675C18D6; Fri, 24 Jan 2014 15:33:52 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id kp14so3381033pab.23 for ; Fri, 24 Jan 2014 07:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I3AVCP6PFdvG82h9HjShiLZn+SgoxbsiDrVEqvhui9g=; b=ZgJi7lHdS5ac4e81HX/RngcV0w3C6ZLcH3LWpBVMdHKREhXhtB6NK4NORNA3ctTSIc X1dXI2B4DURnRb55MWuZkzUcoDh8SamU3Ggcn6G2oQswz0bqN0JVZzScCqiWEiMkjBu4 +0137egrYw1tY7fsQOXWSZ8T/ETdAj09GKmlg/mMcab1OcyB4nAw+QU4WFZ6FZT8kx4G +RWqocXVplXGALeqMWzElwj4xeheqsCbar+aQ3P3LAUuFOwpF3Z4EpWnPxwnrUIdw/tV psGESGVy94qBdnxe4+JljXbPhwXaezZTBSqQhmWGr3cm9QIu5tAYmyezVssES0nExTiT UkPg== MIME-Version: 1.0 X-Received: by 10.68.230.137 with SMTP id sy9mr14996281pbc.126.1390577631294; Fri, 24 Jan 2014 07:33:51 -0800 (PST) Received: by 10.68.155.38 with HTTP; Fri, 24 Jan 2014 07:33:51 -0800 (PST) In-Reply-To: <52E233FA.5010602@callfortesting.org> References: <52E233FA.5010602@callfortesting.org> Date: Fri, 24 Jan 2014 10:33:51 -0500 Message-ID: Subject: Re: rc.d scripts for starting BHyve from rc.d From: Aryeh Friedman To: Michael Dexter Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-rc@freebsd.org, "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 15:33:52 -0000 On Fri, Jan 24, 2014 at 4:35 AM, Michael Dexter wrote: > On 1/23/14 8:01 PM, Aryeh Friedman wrote: > > Except for the consoles petitecloud does it much more smoothly... > > May I kindly suggest that you not use this list for PR or to slam the > work of others? > > Michael > 1. My comment was a complement not a criticism (the consoles likely make it a better script functionality wise then petitecloud's [see below]). I was only offering an alternative approach which is to generate it as needed thus avoiding the need for conditionals (since this is the method petitecloud uses it is highly unlikely our scripts are at all portable except as starter scripts for someone to hand modify). 2. I was responding to his request for if anyone had anything better and stating that from a control flow (and control flow only) POV ours are slightly (and only slightly) better. But the need to have console far out ways that (our scripts do not attempt to give console access except during OS install). I suspect that our goals are also quiet different in that Craig is likely looking for something that is meant to be used locally such as a NAS and the owner will thus always have console access. PetiteCloud makes the assumption that the most typical use of virtualization is cloud computing and in this case local access is often impossible. This means any console access has to allow for remote operation. Like I said in an other thread I think the only long term solution to this problem is to add VNC to bhyve. -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org