From owner-freebsd-doc@FreeBSD.ORG Sun Jan 28 19:50:55 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49EA016A401 for ; Sun, 28 Jan 2007 19:50:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 17F0B13C461 for ; Sun, 28 Jan 2007 19:50:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l0SJFQVo083197 for ; Sun, 28 Jan 2007 12:15:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l0SJFQTh083194 for ; Sun, 28 Jan 2007 12:15:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 28 Jan 2007 12:15:26 -0700 (MST) From: Warren Block To: doc@freebsd.org Message-ID: <20070128114458.D82994@wonkity.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sun, 28 Jan 2007 12:15:26 -0700 (MST) Cc: Subject: ntpd man page error X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 19:50:55 -0000 The FreeBSD 6.2 ntpd man page shows that -4 and -6 are valid command line options, but they are only valid inside a config file like ntp.conf, not on the command line: # ntpd -4 ntpd: unknown option -4 usage: ntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ] [ -f freq_file ] [ -k key_file ] [ -l log_file ] [ -p pid_file ] [ -r broad_delay ] [ -s statdir ] [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ] NAME ntpd -- Network Time Protocol (NTP) daemon SYNOPSIS ntpd [-46aAbDdgLmnPqx] [-c conffile] [-f driftfile] [-k keyfile] [-l logfile] [-p pidfile] [-r broadcastdelay] [-s statsdir] [-t key] [-v variable] [-V variable] The -4 and -6 were added with version 1.12 of the man page, 2006-05-17. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-doc@FreeBSD.ORG Mon Jan 29 11:06:18 2007 Return-Path: X-Original-To: doc@hub.freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DC4316A404 for ; Mon, 29 Jan 2007 11:06:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3CEA513C4A8 for ; Mon, 29 Jan 2007 11:06:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TB6IeA041074 for ; Mon, 29 Jan 2007 11:06:18 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TB6GZ2041070 for DOC; Mon, 29 Jan 2007 11:06:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Jan 2007 11:06:16 GMT Message-Id: <200701291106.l0TB6GZ2041070@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD doc list Cc: Subject: Current unassigned doc problem reports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 11:06:18 -0000 Current FreeBSD problem reports 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. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. r - repocopy The resolution of the problem report is dependent on a repocopy operation within the CVS repository which is awaiting completion. s - suspended The problem is not being worked on, due to lack of information or resources. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned. Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o docs/27605 doc [patch] Cross-document references () s docs/35678 doc docproj Makefiles for web are broken for paths with sp o docs/61605 doc [feature request] Improve documentation for i386 disk o docs/80843 doc [patch] psm(4): Suggested fix for psm0 / handle driver o docs/84932 doc new document: printing with an Epson ALC-3000N on Free o docs/98115 doc Missing parts after rendering handbook to RTF format o docs/106135 doc articles/vinum needs to be updated o docs/107378 doc [handbook] Handbook Installation chapter needs fixing 8 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s docs/20028 doc ASCII docs should reflect tags in the sourc o docs/24786 doc missing FILES descriptions in sa(4) o docs/26286 doc *printf(3) etc should gain format string warnings a docs/30008 doc [patch] French softupdates document should be translat s docs/33589 doc [patch] to doc.docbook.mk to post process .tex files. o docs/35222 doc [patch] getmsg.cgi: mailing list archive URL regexp su o docs/35608 doc mt(1) page uses "setmark" without explanation. o docs/35609 doc mt(1) page needs explanation of "long erase". o docs/35612 doc ps(1) page "state" description doesn't mention "spread o docs/35953 doc hosts.equiv(5) manual is confusing or wrong about host o docs/36432 doc Proposal for doc/share/mk: make folded books using psu o docs/36449 doc symlink(7) manual doesn't mention trailing slash, etc. o docs/38982 doc [patch] developers-handbook/Jail fix o docs/39348 doc diskless(8): note that kenv fetch of hostname requires o docs/39530 doc access(2) man page has unnecessarily broad warning o docs/40423 doc Keyboard(4)'s definition of parameters to GETFKEY/SETF o docs/41089 doc pax(1) -B option does not mention interaction with -z o docs/41807 doc [patch] natd(8): document natd -punch_fw "bug" o docs/43823 doc [PATCH] update to environ(7) manpage o docs/43941 doc document the Rationale for Upgrade Sequence (e.g. why o docs/44074 doc [patch] ln(1) manual clarifications o docs/46295 doc please add information to Nvi recovery email o docs/47594 doc [PATCH] passwd(5) incorrectly states allowed username o docs/47818 doc [patch] ln(1) manpage is confusing o docs/48101 doc [patch] add documentation on the fixit disk to the FAQ o docs/50211 doc [PATCH] doc.docbook.mk: fix textfile creation o docs/51891 doc DIAGNOSTICS in ed(4) driver manpage don't match realit o docs/52071 doc [PATCH] Add more information about soft updates into a o docs/53596 doc Updates to mt(1) manual page s docs/55482 doc document the fact that DUMP has access to block device o docs/57388 doc [patch] INSTALL.TXT enhancement: mention ok prompt o docs/57926 doc [patch] amd.conf(5) poorly format as it has both man(7 o docs/59044 doc [patch] doc.docbook.mk does not properly handle a sour o docs/59477 doc Outdated Info Documents at http://docs.freebsd.org/inf o docs/59835 doc ipfw(8) man page does not warn about accepted but mean o docs/61070 doc handbook: Installation docs misleading: PResizer isn' o docs/61301 doc [patch] Manpage patch for aue(4) to enable HomePNA fun o docs/61667 doc Obsolete documentation on FreeBSD PnP o docs/62412 doc one of the diskless boot methods described in the Hand o docs/63215 doc Wrong prototypes in mi_switch(9) (ref docs/24311) o docs/64807 doc Handbook section on NAT incomplete o docs/65477 doc release notes: installation instruction fail to mentio o docs/66265 doc [patch] Document what -f and LD_TRACE_LOADED_OBJECTS_F o docs/66296 doc [patch] contrib/amd/amq/amq.8 uses log_options instead o docs/66483 doc [patch] share/man/man4/csa.4 grammar nits o docs/69861 doc [patch] usr.bin/csplit/csplit.1 does not document POSI o docs/70217 doc [patch] Suggested rewrite of docproj/sgml.sgml for cla o docs/73679 doc FreeBSD 5.3 Release notes mention new natd(8) function o docs/74612 doc [patch] updates to the glossary o docs/75865 doc comments on "backup-basics" in handbook o docs/75995 doc hcreate(3) documentation(?) bug o docs/76333 doc [patch] ferror(3): EOF indicator can be cleared by not o docs/78041 doc [patch] docs for md(4) need further explanation of typ o docs/78138 doc [patch] Error in pre-installation section of installat o docs/78240 doc [patch] handbook: replace with aroun o docs/78480 doc Networked printer setup unnecessarily complex in handb o docs/78915 doc rfork(2)'s RFTHREAD is not documented o docs/82595 doc 25.5.3 Configuring a bridge section of the handbook ne o docs/83621 doc [patch]: Minor omissions in /usr/src/UPDATING p docs/84101 doc [patch] mt(1) manpage has erroneous synopsis, etc. o docs/84154 doc Handbook somewhat off in use of /boot/kernel.old o docs/84265 doc [patch] chmod(1) manpage omits implication of setting p docs/84266 doc [patch] security(8) manpage should have init(8)'s list o docs/84267 doc [patch] chflags(1) manual doesn't say it's affected by o docs/84268 doc chmod(1) manpage's BUGS entry is either wrong or too c o docs/84317 doc fdp-primer doesn't show class=USERNAME distinctively o docs/84670 doc [patch] tput(1) manpage missing ENVIRONMENT section wi o docs/84806 doc mdoc(7) manpage has section ordering problems o docs/84956 doc [patch] intro(5) manpage doesn't mention API coverage o docs/85118 doc [PATCH] opiekey(1) references non-existing opiegen(1) o docs/85128 doc loader.conf(5) autoboot_delay incompletly described o docs/85187 doc [patch] find(1) manpage missing block info for -ls o docs/85243 doc Missing icmp related abbreviations for pf.conf(5) in i o docs/86342 doc bikeshed entry of Handbook is wrong o docs/87857 doc ifconfig(8) wireless options order matters o docs/87936 doc Handbook chapter on NIS/YP lacks good information on a o docs/88477 doc Possible addition to xl(4) manpage, Diagnostics sectio o docs/88512 doc [patch] mount_ext2fs(8) man page has no details on lar o docs/89325 doc [PATCH] Clarification of kbdmap(5), atkbd(4) and kbdco o docs/89492 doc vfs doc: some VOP_*(9) manual pages are outdated with o docs/91149 doc read(2) can return EINVAL for unaligned access to bloc o docs/91506 doc ndis(4) man page should be more specific about support o docs/92626 doc jail manpage should mention disabling some periodic sc o docs/93249 doc rewrite of handbook chapter 23 (PPP & SLIP) o docs/94125 doc DGE-530T doesn't work on FreeBSD v6.0 o docs/94625 doc [patch] growfs man page -- document "panic: not enough o docs/95139 doc FAQ to move filesystem to new disk fails: incorrect pe o docs/96207 doc Comments of a sockaddr_un structure could confuse one o docs/97939 doc some mistake in man of amq(8) o docs/98974 doc Missing tunables in loader(8) manpage o docs/99007 doc [patch] misleading nat configuration info o docs/99506 doc FreeBSD Handbook addition: IPv6 Server Settings o docs/99845 doc [patch] First introduce porttools to Porter's Handbook o docs/100196 doc man login.conf does explain not "unlimited" o docs/100242 doc sysctl(3) description of KERN_PROC is not correct anym o docs/101464 doc sync u_RU.KOI8-R/articles/portbuild/article.html with o docs/102148 doc The description of which Intel chips have EM64T is out o docs/102719 doc [patch] ng_bpf(4) example leads to unneeded promiscuos f docs/103730 doc [mail-archive]: duplicated file in mail archive o docs/104403 doc man security should mention that the usage of the X Wi o docs/104493 doc [patch] Wrong description in ntp.conf(5) (CURRENT and o docs/104879 doc Howto: Listen to IMA ADPCM .wav files on FreeBSD box o docs/105494 doc [PATCH] PH: rewrite WxWidgets entry o docs/105608 doc fdc(4) debugging description staled o docs/105997 doc sys/kern/sys_pipe.c refer to tuning(7), but there is n o docs/106425 doc [PATCH] add a HARDWARE-section to ata(4) o docs/106617 doc Typo found in Spanish translation of FreeBSD handbook o docs/107432 doc Handbook's default partitioning schema is out-of-date o docs/107611 doc man syncookies should mention net.inet.tcp.syncookies_ o docs/108101 doc /boot/default/loader.conf contains an incorrect commen o docs/108142 doc [patch] extattr(2) man page incomplete for extattr_lis o docs/108346 doc [patch] tmpnam(3) should note that that TMPDIR env may 112 problems total. From owner-freebsd-doc@FreeBSD.ORG Mon Jan 29 16:20:21 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85BBF16A401 for ; Mon, 29 Jan 2007 16:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA5B13C4CB for ; Mon, 29 Jan 2007 16:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TGKLor069753 for ; Mon, 29 Jan 2007 16:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TGKLwP069752; Mon, 29 Jan 2007 16:20:21 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jan 2007 16:20:21 GMT Resent-Message-Id: <200701291620.l0TGKLwP069752@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dr. Markus Waldeck" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6480216A401 for ; Mon, 29 Jan 2007 16:13:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 54ADC13C478 for ; Mon, 29 Jan 2007 16:13:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0TGDje6021862 for ; Mon, 29 Jan 2007 16:13:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0TGDjGA021861; Mon, 29 Jan 2007 16:13:45 GMT (envelope-from nobody) Message-Id: <200701291613.l0TGDjGA021861@www.freebsd.org> Date: Mon, 29 Jan 2007 16:13:45 GMT From: "Dr. Markus Waldeck" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/108520: man auditreduce vs. FreeBSD Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 16:20:21 -0000 >Number: 108520 >Category: docs >Synopsis: man auditreduce vs. FreeBSD Handbook >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 16:20:20 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dr. Markus Waldeck >Release: 7.0-CURRENT-200701 >Organization: >Environment: FreeBSD fbh 7.0-CURRENT-200701 FreeBSD 7.0-CURRENT-200701 #0: Wed Jan 17 20:32:09 UTC 2007 root@fbh:/usr/src/sys/i386/conf/CUSTOM i386 >Description: The explanation of the auditreduce option "-u" differs between the man page and the handbook. FreeBSD Hanndbook: > Since audit logs may be very large, an administrator will likely want to > select a subset of records for using, such as > records associated with a specific user: > > # auditreduce -u trhodes /var/audit/AUDITFILE | praudit > > This will select all audit records produced for the user trhodes stored in > the AUDITFILE file. man auditreduce: -r ruid Select records with the given real user id or name. -u auid Select records with the given audit id. Which explanation is correct? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 04:35:13 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA01316A400 for ; Tue, 30 Jan 2007 04:35:13 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: from web52113.mail.yahoo.com (web52113.mail.yahoo.com [206.190.48.116]) by mx1.freebsd.org (Postfix) with SMTP id 741BE13C441 for ; Tue, 30 Jan 2007 04:35:13 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: (qmail 4282 invoked by uid 60001); 30 Jan 2007 04:35:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=GnUGdlR3DT39nakoyjd0aZAFT1/SHQ2CoY6tbU8SSvQhbxbVEvw5ulhJSQSu4hIdCOGLMtv6qsrarTLIqzg1qX6o329LXoPBTl/9WSvimJTiT8390lV71w+8E5ReD+BqHuHaNim0n7MM72ppXjr9mVHjuW6+I5LGJc68b0+i4I8=; X-YMail-OSG: oO6iHjAVM1mNmiZzwvF9UuNW5xTyxnlwsm3_179dpT2nS2ogXN177yBBXQFwAGcsON4aAmI7SjKKHkhgfFZqToTQzufdvhTXL7V3iJaVLeJcTcOpJdHiPQAXQ6xPB7gnZDJfd4YbpIWyOS8xjqDLN0Dd_QbjjRKN4sK9q3wbq7pJ.LyU3GOTjnAe Received: from [71.199.6.76] by web52113.mail.yahoo.com via HTTP; Mon, 29 Jan 2007 20:35:12 PST Date: Mon, 29 Jan 2007 20:35:12 -0800 (PST) From: Jared Barneck To: "mailinglists@bsdcertification.com" , Ceri Davies In-Reply-To: <45BB74CC.3050408@bsdcertification.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <332766.3608.qm@web52113.mail.yahoo.com> Cc: Tom Rhodes , freebsd-doc@FreeBSD.org, rhyous@yahoo.com, freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rhyous@yahoo.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 04:35:13 -0000 --- "mailinglists@bsdcertification.com" wrote: > Ceri Davies wrote: > > >On Thu, Jan 25, 2007 at 07:28:39PM -0500, Tom > Rhodes wrote: > > > > > >>On Thu, 25 Jan 2007 14:54:47 +0000 > >>Ceri Davies wrote: > >> > >> > >> > >>>On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD > Certification Team wrote: > >>> > >>> > >>>>Hello all, > >>>> > >>>>The man page for sysinstall is pretty out of > date. I > >>>>am trying to PXE boot to an unattended install. > >>>> > >>>>I figured out that I needed to add dists=base > kernels > >>>>GENERIC even though kernels and GENERIC are not > in the > >>>>list in the man page. > >>>> > >>>>Is there anyone in charge of updating this > >>>>information? I have never submitted an update. > >>>> > >>>> > >>>I guess that's me. Could you please raise a PR > and send me the number? > >>> I sent in a PR. Let me know if you don't get it. > >>> > >>I tried with almost every version of 5.X to get an > unattended > >>install working. Never worked. It seems as if > sysinstall > >>was looking only for a USB floppy drive. > Originally I started > >>looking over the code to send in a PR and perhaps > a patch, > >>but became busy with other things. > >> > >> > > > >I can't speak for 5.x because I didn't really run > it, but this worked > >for 6.x a year ago: > http://typo.submonkey.net/articles/2006/02/12/ > > > > > > > I am actually pxe booting to it now. However, I am > using pxe-1.4.2 > instead of having it all in the dhcp config. > > Also, I saw a not that the floppy drive is not > working. I couldn't get > it to work either. I am doing this all PXE style. > I was using FreeBSD, isc-dhcp-server, pxe-1.4.2, and tftp and ftp from inetd to pxe boot and didn't really try the floppy so I tried the floppy. I have tested two separate hardware machines and VMWare 5.d and I cannot get the floppy to detect and read the install.cfg. I have tried both MS-DOS floppy and a floppy formatted with UFS, so I am guessing this is broken too. So with the PXE solution, I have almost everything working: I cannot get the machine to automatically reboot. This is the one last thing I need for full automation. So it looks like there are three issues that some of us who "donate time" could address: 1. Update man sysinstall which I submitted a PR for. 2. Fix the floppy not being detected. 3. Figure out how to reboot once the unattended install completes. > > >The OP's note about adding the kernels line is > definitely needed and I'll > >fix that (though I would really love a PR for it), > but for anything > >else, you have to send hardware (a laptop or > Soekris, I'm not fussy!) :) > > > >Ceri > > > > I will settle for the updated man page for now. I wish I could just send everyone a laptop. :-) ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 04:24:24 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AEF616A400 for ; Tue, 30 Jan 2007 04:24:24 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: from web52110.mail.yahoo.com (web52110.mail.yahoo.com [206.190.48.113]) by mx1.freebsd.org (Postfix) with SMTP id 1F57E13C494 for ; Tue, 30 Jan 2007 04:24:24 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: (qmail 3195 invoked by uid 60001); 30 Jan 2007 04:24:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mysTC5HGJF1ol+EoTMT3yMBL59TwZLjlDULDPJDp++TTRbbVFKM5pbkRebjaq9swRhy4bAon33syEX6Rcms3wMFTwcJTQsvaSFJc856ZHuktJJVBjQb1BEF8SyYJ1yKdstEwlKNoFtQZZE5jYzunKEw0yLe1b6pAiToBuMpsC14=; X-YMail-OSG: uqjZ9kgVM1lVw0LLcgaFKQqZxQkBzedljM05pf3xkPZ2hL0_NMh7PnL.mitylZkV34jSMQVXevWZoqEq2Y7Br7ng4SlDvOjjOMkfcreOWk9Cp4hzgm0SewgQ3dvSWPMhnam7JjApTpYGAEObBiUj_b8aBHdli4y5RA-- Received: from [71.199.6.76] by web52110.mail.yahoo.com via HTTP; Mon, 29 Jan 2007 20:24:20 PST Date: Mon, 29 Jan 2007 20:24:20 -0800 (PST) From: Jared Barneck To: Ceri Davies , freebsd-doc@FreeBSD.org, FreeBSD-gnats-submit@freebsd.org In-Reply-To: <45BB74CC.3050408@bsdcertification.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <799088.98761.qm@web52110.mail.yahoo.com> X-Mailman-Approved-At: Tue, 30 Jan 2007 05:14:48 +0000 Cc: Tom Rhodes , freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rhyous@yahoo.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 04:24:24 -0000 To: FreeBSD-gnats-submit@freebsd.org From: Jared Barneck Reply-To: Jared Barneck Cc: X-send-pr-version: 3.113 X-GNATS-Notify: >Submitter-Id: current-users >Originator: Jared Barneck >Organization: www.bsdcertification.com >Confidential: no >Synopsis: sysinstall man page and example install.cfg need updated to include changes in 6.2 >Severity: non-critical >Priority: low >Category: docs >Class: doc-bug >Release: FreeBSD 6.2-RELEASE i386 >Environment: System: FreeBSD freebsd.bsdcertification.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/ usr/obj/usr/src/sys/GENERIC i386 >Description: The man page for sysinstall was last updated in June of 2005 and the sample file is tagged as 2001. There have been many changes since these were written. The man page for sysinstall needs updated to match the new install settings. The install has changed in a few ways. For example, the dists variable now need to remove outdated options and add the new options such as: kernels GENERIC SMP. The example file is in the src tree under /usr/src/usr.sbin/sysinstall/install.cfg but no longer works in 6.2. A new sample file would be much appreciated. >How-To-Repeat: 1. Place the /usr/src/usr.sbin/sysinstall/install.cfg file on a floppy disk. 2. Edit the file for a given environment (replacing sample IPs, names, etc.) 3. Start an install. 4. Pass the install.cfg file to the installation. 5. It does not install a working system >Fix: I added the following to the dists variable and the system installed: kernels GENERIC I assume that SMP might be an option as well but this would have to be verified. There may be other options that are outdated. I can't seem to get the INDEX file to read. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 06:40:52 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EA9516A402; Tue, 30 Jan 2007 06:40:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3598413C48D; Tue, 30 Jan 2007 06:40:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0U6eqfJ035670; Tue, 30 Jan 2007 06:40:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0U6eqG8035663; Tue, 30 Jan 2007 06:40:52 GMT (envelope-from linimon) Date: Tue, 30 Jan 2007 06:40:52 GMT From: Mark Linimon Message-Id: <200701300640.l0U6eqG8035663@freefall.freebsd.org> To: linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-doc@FreeBSD.org Cc: Subject: Re: docs/108536: sysinstall(8) man page and example needs to be updated X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 06:40:52 -0000 Old Synopsis: sysinstall man page and example New Synopsis: sysinstall(8) man page and example needs to be updated Responsible-Changed-From-To: gnats-admin->freebsd-doc Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jan 30 06:39:38 UTC 2007 Responsible-Changed-Why: Rescue this PR from the 'pending' category. http://www.freebsd.org/cgi/query-pr.cgi?pr=108536 From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 09:20:56 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94E7D16A400 for ; Tue, 30 Jan 2007 09:20:56 +0000 (UTC) (envelope-from sc19024-RTTG@servage-customer.net) Received: from c9.servage.net (c9.servage.net [62.214.98.109]) by mx1.freebsd.org (Postfix) with ESMTP id 57ACC13C49D for ; Tue, 30 Jan 2007 09:20:56 +0000 (UTC) (envelope-from sc19024-RTTG@servage-customer.net) Received: from node2.c9 (node2.c9 [192.168.90.2]) by c9.servage.net (Postfix) with ESMTP id E7FDA6880E1; Tue, 30 Jan 2007 10:01:54 +0100 (CET) Received: by node2.c9 (Postfix, from userid 99) id E36259224C; Tue, 30 Jan 2007 04:01:54 -0500 (EST) To: freebsd-doc@FreeBSD.org Content-type: text/plain; charset="iso-8859-1" From: Cognaxon Message-Id: <20070130090154.E36259224C@node2.c9> Date: Tue, 30 Jan 2007 04:01:54 -0500 (EST) Cc: Subject: how to donate free program for FreeBSD? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 09:20:56 -0000 Hello, we would like to donate our free small program called "WSQ viewer" (for Linux) to be distributed with FreeBSD CD/DVD. The short description of the program is here http://www.cognaxon.com/index.php?page=wsqview_forlinux The program is only 0.5 Megabyte in size. How can we donate our program for FreeBSD? Regards, Robert Walemann From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 10:07:14 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EC9D16A400 for ; Tue, 30 Jan 2007 10:07:14 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id ECECB13C49D for ; Tue, 30 Jan 2007 10:07:13 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1390509uge for ; Tue, 30 Jan 2007 02:07:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qX5p1OPPWksi2uyKoDj+Q9WGGYjvi7OLH+qzOF5QjXbUYe3fQtwQ7icgAvoiRkdebhuTH5UVMJCEeWkwKAnTftq1GuRZ1N0umdJVG55iYzPZbvt8uvPy9Qa1gjOvIDmX7wRC0XZ9I3ygX2xZlcZCZcWCKcWRhMtoV4KZN2iB0qc= Received: by 10.78.166.7 with SMTP id o7mr4691564hue.1170150034368; Tue, 30 Jan 2007 01:40:34 -0800 (PST) Received: by 10.78.170.11 with HTTP; Tue, 30 Jan 2007 01:40:34 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2007 12:40:34 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: Cognaxon In-Reply-To: <20070130090154.E36259224C@node2.c9> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070130090154.E36259224C@node2.c9> X-Google-Sender-Auth: 75aef348c6aa973c Cc: freebsd-doc@freebsd.org Subject: Re: how to donate free program for FreeBSD? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 10:07:14 -0000 On 1/30/07, Cognaxon wrote: > > Hello, > > we would like to donate our free small program called "WSQ > viewer" (for Linux) to be distributed with FreeBSD CD/DVD. > The short description of the program is here > http://www.cognaxon.com/index.php?page=wsqview_forlinux > The program is only 0.5 Megabyte in size. > > How can we donate our program for FreeBSD? Release it under a free/open-source license, ask someone to look at it and port it or read the Porter's Handbook yourself and make a port. The package will then be available from our official package repositories and on different unofficial CD/DVD distributions. Good luck! From owner-freebsd-doc@FreeBSD.ORG Tue Jan 30 19:14:20 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FD5916A404; Tue, 30 Jan 2007 19:14:20 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id EDC8613C48E; Tue, 30 Jan 2007 19:14:19 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0UJEJkJ089908; Tue, 30 Jan 2007 19:14:19 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0UJEJCx089904; Tue, 30 Jan 2007 19:14:19 GMT (envelope-from remko) Date: Tue, 30 Jan 2007 19:14:19 GMT From: Remko Lodder Message-Id: <200701301914.l0UJEJCx089904@freefall.freebsd.org> To: waldeck@gmx.de, remko@FreeBSD.org, freebsd-doc@FreeBSD.org Cc: Subject: Re: docs/108520: man auditreduce vs. FreeBSD Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 19:14:20 -0000 Synopsis: man auditreduce vs. FreeBSD Handbook State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Tue Jan 30 19:14:19 UTC 2007 State-Changed-Why: Please discuss this on doc@ first and please get back to me with concrete idea's so that we can work on that. This is something that is not worth of a PR (just yet). Thanks though for improving FreeBSD! http://www.freebsd.org/cgi/query-pr.cgi?pr=108520 From owner-freebsd-doc@FreeBSD.ORG Wed Jan 31 04:05:40 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA8BB16A406 for ; Wed, 31 Jan 2007 04:05:40 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: from web52105.mail.yahoo.com (web52105.mail.yahoo.com [206.190.48.108]) by mx1.freebsd.org (Postfix) with SMTP id 7B1ED13C467 for ; Wed, 31 Jan 2007 04:05:40 +0000 (UTC) (envelope-from rhyous@yahoo.com) Received: (qmail 51752 invoked by uid 60001); 31 Jan 2007 04:05:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=FeEY7LhJ2nRIJfWOqxeuc0VuDFF6T+dDLA2CAt0YlAcY0w2lu/4j45ROENT4TsOvad4yfm+Lf5LaIuTjDSxnr9CHUxPb7iiTrFh/pqGm5uqGsBHAFT/KsodJoccHkpiXQrn8ME61WrzjZtswttJyIMXfJYUg7IFn6wt5R2DFye0=; X-YMail-OSG: bpppWMUVM1l5ejMToofdeK._DVdNM3Egp9LtD3ZYUvLxYhAIotkBi0JTQeB6KrVEvGOwVbND2JIgkW79U9anK_htv981LOHwVKCYFYwIPPL1BnCD8wn6ZA-- Received: from [71.199.6.76] by web52105.mail.yahoo.com via HTTP; Tue, 30 Jan 2007 20:05:39 PST Date: Tue, 30 Jan 2007 20:05:39 -0800 (PST) From: Jared Barneck To: ceri@submonkey.net, freebsd-doc@FreeBSD.org In-Reply-To: <332766.3608.qm@web52113.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <401057.51722.qm@web52105.mail.yahoo.com> Cc: trhodes@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rhyous@yahoo.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 04:05:41 -0000 --- Jared Barneck wrote: > > --- "mailinglists@bsdcertification.com" > wrote: > > > Ceri Davies wrote: > > > > >On Thu, Jan 25, 2007 at 07:28:39PM -0500, Tom > > Rhodes wrote: > > > > > > > > >>On Thu, 25 Jan 2007 14:54:47 +0000 > > >>Ceri Davies wrote: > > >> > > >> > > >> > > >>>On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD > > Certification Team wrote: > > >>> > > >>> > > >>>>Hello all, > > >>>> > > >>>>The man page for sysinstall is pretty out of > > date. I > > >>>>am trying to PXE boot to an unattended > install. > > >>>> > > >>>>I figured out that I needed to add dists=base > > kernels > > >>>>GENERIC even though kernels and GENERIC are > not > > in the > > >>>>list in the man page. > > >>>> > > >>>>Is there anyone in charge of updating this > > >>>>information? I have never submitted an > update. > > >>>> > > >>>> > > >>>I guess that's me. Could you please raise a PR > > and send me the number? > > >>> > I sent in a PR. Let me know if you don't get it. > > >>> > > >>I tried with almost every version of 5.X to get > an > > unattended > > >>install working. Never worked. It seems as if > > sysinstall > > >>was looking only for a USB floppy drive. > > Originally I started > > >>looking over the code to send in a PR and > perhaps > > a patch, > > >>but became busy with other things. > > >> > > >> > > > > > >I can't speak for 5.x because I didn't really run > > it, but this worked > > >for 6.x a year ago: > > http://typo.submonkey.net/articles/2006/02/12/ > > > > > > > > > > > I am actually pxe booting to it now. However, I > am > > using pxe-1.4.2 > > instead of having it all in the dhcp config. > > > > Also, I saw a not that the floppy drive is not > > working. I couldn't get > > it to work either. I am doing this all PXE style. > > > I was using FreeBSD, isc-dhcp-server, pxe-1.4.2, and > tftp and ftp from inetd to pxe boot and didn't > really > try the floppy so I tried the floppy. > > I have tested two separate hardware machines and > VMWare 5.d and I cannot get the floppy to detect > and > read the install.cfg. I have tried both MS-DOS > floppy > and a floppy formatted with UFS, so I am guessing > this > is broken too. > > So with the PXE solution, I have almost everything > working: I cannot get the machine to automatically > reboot. This is the one last thing I need for full > automation. > > So it looks like there are three issues that some of > us who "donate time" could address: > > 1. Update man sysinstall which I submitted a PR for. > 2. Fix the floppy not being detected. > 3. Figure out how to reboot once the unattended > install completes. I found the answer for how to reboot in the code. To reboot add the following to the end of the install.cfg: shutdown I found it in this source file: /usr/src/usr.sbin/sysinstall/dispatch.c This source file has a list of a lot of the functions that can be called in the install.cfg. Even though the function is called "shutdown" it is a reboot not a shutdown, which is perfect because I wanted it to reboot. Also, I found that a lot of variables are in this file: /usr/src/usr.sbin/sysinstall/sysinstall.h I will try write a few changes to the man page, and send it to you with a diff file and get you my working install.cfg in my next email. > > > > > >The OP's note about adding the kernels line is > > definitely needed and I'll > > >fix that (though I would really love a PR for > it), > > but for anything > > >else, you have to send hardware (a laptop or > > Soekris, I'm not fussy!) :) > > > > > >Ceri > > > > > > > > I will settle for the updated man page for now. I > wish I could just send everyone a laptop. :-) > > > > > ____________________________________________________________________________________ > Don't get soaked. Take a quick peak at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php From owner-freebsd-doc@FreeBSD.ORG Wed Jan 31 05:22:17 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DF5916A401; Wed, 31 Jan 2007 05:22:17 +0000 (UTC) (envelope-from fbsd-questions@mawer.org) Received: from customer-domains.icp-qv1-irony14.iinet.net.au (customer-domains.icp-qv1-irony14.iinet.net.au [203.59.1.169]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF8113C471; Wed, 31 Jan 2007 05:22:16 +0000 (UTC) (envelope-from fbsd-questions@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [10.24.1.1]) ([203.206.173.235]) by iinet-mail.icp-qv1-irony14.iinet.net.au with ESMTP; 31 Jan 2007 13:52:05 +0900 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAD6vv0XLzq3r/2dsb2JhbAANnUMBAQE X-IronPort-AV: i="4.13,259,1167577200"; d="scan'208"; a="113795720:sNHT7418940" Message-ID: <45C01FE3.2080107@mawer.org> Date: Wed, 31 Jan 2007 15:49:39 +1100 From: Antony Mawer User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: rhyous@yahoo.com References: <401057.51722.qm@web52105.mail.yahoo.com> In-Reply-To: <401057.51722.qm@web52105.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: trhodes@FreeBSD.org, freebsd-doc@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 05:22:17 -0000 On 31/01/2007 3:05 PM, Jared Barneck wrote: ... > I found the answer for how to reboot in the code. To > reboot add the following to the end of the > install.cfg: > > shutdown > > I found it in this source file: > /usr/src/usr.sbin/sysinstall/dispatch.c > > This source file has a list of a lot of the functions > that can be called in the install.cfg. Even though the > function is called "shutdown" it is a reboot not a > shutdown, which is perfect because I wanted it to > reboot. I have a local patch that we use on our installation process that adds a couple of new commands: poweroff - shutdown and power off the machine (useful for doing installation, then shut down for shipping) poweroffNoRC - as above, but don't attempt to write rc.conf shutdownNoRC - like regular "shutdown" (reboot), but no rc.conf The latter two options are handy if you write your own scripts that generate rc.conf, as normally sysinstall tries to write rc.conf itself on shutdown, which clobbers any existing file your scripts may create. If anyone is interested and/or these are likely candidates for inclusion then I can submit a PR to have someone check these in. I also have a man page update that documents the above functions. Cheers Antony From owner-freebsd-doc@FreeBSD.ORG Wed Jan 31 09:53:26 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33A7016A407 for ; Wed, 31 Jan 2007 09:53:26 +0000 (UTC) (envelope-from debian-www-admin@debian.or.jp) Received: from osdn.debian.or.jp (osdn.debian.or.jp [202.221.179.41]) by mx1.freebsd.org (Postfix) with ESMTP id 08D0113C48E for ; Wed, 31 Jan 2007 09:53:25 +0000 (UTC) (envelope-from debian-www-admin@debian.or.jp) Received: from lists.debian.or.jp (localhost [127.0.0.1]) by osdn.debian.or.jp (Postfix) with ESMTP id E226EC306B for ; Wed, 31 Jan 2007 18:05:32 +0900 (JST) Date: Wed, 31 Jan 2007 18:05:32 +0900 From: debian-www-admin@debian.or.jp To: doc@freebsd.org Message-Id: <200701311805.FMLAAA5191.debian-www@debian.or.jp> References: <20070131090527.1090CC30E9@osdn.debian.or.jp> X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)] X-ML-Info: If you have a question, please contact debian-www-admin@debian.or.jp; Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Cc: Subject: Subscribe request result (debian-www ML) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: debian-www-ctl@debian.or.jp List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 09:53:26 -0000 Hi, I am the fml ML manager for the ML . --debian-www@debian.or.jp, Be Seeing You! ************************************************************ If you have any questions or problems, please contact debian-www-admin@debian.or.jp ************************************************************ From owner-freebsd-doc@FreeBSD.ORG Wed Jan 31 21:16:59 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 533E016A405 for ; Wed, 31 Jan 2007 21:16:59 +0000 (UTC) (envelope-from info@evolve-news.co.uk) Received: from eddie.fcpl.com (eddie.fcpl.com [217.158.168.25]) by mx1.freebsd.org (Postfix) with ESMTP id E17AE13C442 for ; Wed, 31 Jan 2007 21:16:54 +0000 (UTC) (envelope-from info@evolve-news.co.uk) Received: from 57-66.dsl.data.net.uk ([80.68.57.66] helo=chrisp-workstat) by eddie.fcpl.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.62) (envelope-from ) id 1HCMp3-0001A2-7h for freebsd-doc@freebsd.org; Wed, 31 Jan 2007 21:16:53 +0000 Organization: FCP Internet Ltd Message-ID: <9f260c92aaf4c6810b993957001a0f0b@evolve-news.co.uk> From: "News from Evolve" To: Date: Wed, 31 Jan 2007 21:01:03 -0000 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=SPLITOR00A_001_1072774281D" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Integrated Recruitment Software, Evolve X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 21:16:59 -0000 This is a multi-part message in MIME format. ------=SPLITOR00A_001_1072774281D Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" [1]3D"" Think outside the=20 bowl evolve is=20 a complete online recruitment workflow solution that provides = 360=BA=20 integration between your front office, back office and web = presence,=20 allowing you to work seamlessly with your clients, candidates = and=20 the rest of the online world. evolve from FCP, the Managed Service=20 Provider = = ; &n= bsp; = ; =20 To find = out more or=20 to book a demonstration, contact us on 01252 333344, = e-mail=20 [2]sales@evolvedb.co.uk or visit www.evolvedb.co.uk 3D"" Copyright FCP Internet Ltd. 2006. All rights reserved. = [3]FCP Internet Ltd We are committed to respecting your privacy. = We do=20 not share your information with any third party. If you feel you = have=20 received this e-mail in error or wish to be removed from this list = then=20 simply e-mail [4]unsubscribe@evolvedb.co.uk Any views or opinions presented are solely those of = the=20 author and do not necessarily represent those of FCP Internet or = its=20 subsidiaries. References Visible links 1. 3D"http://www.evolvedb.co.uk/htdocs/index.php" 2. 3D"mailto:sales@evolvedb.co.uk?subject=3DEnquiry 3. 3D"http://www.evolvedb.co.uk/htdocs/index.php" 4. 3D"mailto:unsubscribe@evolvedb.co.uk?subject=3DUnsubscribe%20me" Hidden links: 5. 3D"http://www.evolvedb.co.uk"/ ------=SPLITOR00A_001_1072774281D-- From owner-freebsd-doc@FreeBSD.ORG Thu Feb 1 22:47:24 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75BDD16A405; Thu, 1 Feb 2007 22:47:24 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE0013C4AA; Thu, 1 Feb 2007 22:47:24 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HCki8-0007DL-RX; Thu, 01 Feb 2007 22:47:20 +0000 Date: Thu, 1 Feb 2007 22:47:20 +0000 From: Ceri Davies To: Jared Barneck Message-ID: <20070201224720.GF42746@submonkey.net> References: <332766.3608.qm@web52113.mail.yahoo.com> <401057.51722.qm@web52105.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tn/+KOyBVBGpvvUM" Content-Disposition: inline In-Reply-To: <401057.51722.qm@web52105.mail.yahoo.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: trhodes@FreeBSD.org, freebsd-doc@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 22:47:24 -0000 --tn/+KOyBVBGpvvUM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2007 at 08:05:39PM -0800, Jared Barneck wrote: > I found the answer for how to reboot in the code. To > reboot add the following to the end of the > install.cfg: >=20 > shutdown >=20 > I found it in this source file: > /usr/src/usr.sbin/sysinstall/dispatch.c >=20 > This source file has a list of a lot of the functions > that can be called in the install.cfg. Even though the > function is called "shutdown" it is a reboot not a > shutdown, which is perfect because I wanted it to > reboot. >=20 > Also, I found that a lot of variables are in this > file: > /usr/src/usr.sbin/sysinstall/sysinstall.h >=20 > I will try write a few changes to the man page, and > send it to you with a diff file and get you my working > install.cfg in my next email. Thank you Jared, I'll look forward to integrating it. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --tn/+KOyBVBGpvvUM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwm34ocfcwTS3JF8RAqyaAJ9k48Q1Bfx2UXP5carthsINDomTRgCfRFCf ZtTJkaXJLeH9qa8ikDlDJsg= =EhA+ -----END PGP SIGNATURE----- --tn/+KOyBVBGpvvUM-- From owner-freebsd-doc@FreeBSD.ORG Thu Feb 1 22:47:46 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB97116A410; Thu, 1 Feb 2007 22:47:46 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9B63313C441; Thu, 1 Feb 2007 22:47:46 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HCkiV-0009Fz-2a; Thu, 01 Feb 2007 22:47:43 +0000 Date: Thu, 1 Feb 2007 22:47:43 +0000 From: Ceri Davies To: Antony Mawer Message-ID: <20070201224742.GG42746@submonkey.net> References: <401057.51722.qm@web52105.mail.yahoo.com> <45C01FE3.2080107@mawer.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6qFdnjy6dKaiDX/E" Content-Disposition: inline In-Reply-To: <45C01FE3.2080107@mawer.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: trhodes@FreeBSD.org, freebsd-doc@FreeBSD.org, rhyous@yahoo.com, freebsd-questions@FreeBSD.org Subject: Re: man sysinstall X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 22:47:47 -0000 --6qFdnjy6dKaiDX/E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2007 at 03:49:39PM +1100, Antony Mawer wrote: > On 31/01/2007 3:05 PM, Jared Barneck wrote: > ... > >I found the answer for how to reboot in the code. To > >reboot add the following to the end of the > >install.cfg: > > > >shutdown > > > >I found it in this source file: > >/usr/src/usr.sbin/sysinstall/dispatch.c > > > >This source file has a list of a lot of the functions > >that can be called in the install.cfg. Even though the > >function is called "shutdown" it is a reboot not a > >shutdown, which is perfect because I wanted it to > >reboot. >=20 > I have a local patch that we use on our installation process that adds a= =20 > couple of new commands: >=20 > poweroff - shutdown and power off the machine (useful for doing > installation, then shut down for shipping) > poweroffNoRC - as above, but don't attempt to write rc.conf > shutdownNoRC - like regular "shutdown" (reboot), but no rc.conf >=20 > The latter two options are handy if you write your own scripts that=20 > generate rc.conf, as normally sysinstall tries to write rc.conf itself=20 > on shutdown, which clobbers any existing file your scripts may create. >=20 > If anyone is interested and/or these are likely candidates for inclusion= =20 > then I can submit a PR to have someone check these in. I also have a man= =20 > page update that documents the above functions. Antony, please do. Thanks, Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --6qFdnjy6dKaiDX/E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwm4OocfcwTS3JF8RArGUAKCVK9PMi7RGVAHVr10TdWQbF4TttQCgmCSv AWntmNS3WZlMtkzoLXU1qDw= =ozAY -----END PGP SIGNATURE----- --6qFdnjy6dKaiDX/E-- From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 06:10:10 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E32116A400 for ; Fri, 2 Feb 2007 06:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 34D7113C442 for ; Fri, 2 Feb 2007 06:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l126AAMQ086794 for ; Fri, 2 Feb 2007 06:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l126A9Yj086793; Fri, 2 Feb 2007 06:10:10 GMT (envelope-from gnats) Resent-Date: Fri, 2 Feb 2007 06:10:10 GMT Resent-Message-Id: <200702020610.l126A9Yj086793@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, MQ Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7637F16A401 for ; Fri, 2 Feb 2007 06:03:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5E19313C428 for ; Fri, 2 Feb 2007 06:03:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l12638QP051225 for ; Fri, 2 Feb 2007 06:03:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l12638QK051223; Fri, 2 Feb 2007 06:03:08 GMT (envelope-from nobody) Message-Id: <200702020603.l12638QK051223@www.freebsd.org> Date: Fri, 2 Feb 2007 06:03:08 GMT From: MQ To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/108676: [docs][patch]the jail chapter in the arch-handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 06:10:10 -0000 >Number: 108676 >Category: docs >Synopsis: [docs][patch]the jail chapter in the arch-handbook >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 06:10:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: MQ >Release: 6.1-RELEASE 6.2-RELEASE >Organization: >Environment: >Description: There are several problems in the jail chapter of the arch-handbook. Some of them are typos, and others may be serious errors. 1. Typos. Many occurrences of '_' should be '.' and several occurrences of '.' should be '_'. 2. ntohl() translates IP address from network byte order to host byte order, but in arch-handbook, it is described as the reverse direction. 3. userland jail.c doesn't do a fork before the execv(3), but the arch-handbook says so. 4. I think the facility of the function prison_ip is misdescribed. This function returns 1 when the IP address doesn't belong to the calling jail, returns 0 otherwise. But the arch-handbook describes in contrast with my opinion again. At last I modified the whole chapter to keep everything consistent with 6.1-RELEASE at least(most of the codes remains the same in 6.2-RELEASE). >How-To-Repeat: >Fix: Here is the diff output against the original file. Original version is $FreeBSD: /repoman/r/dcvs/doc/en_US.ISO8859-1/books/arch-handbook/jail/chapter.sgml,v 1.19 2007/01/31 14:22:22 delphij Exp $ --- chapter.sgml.orig Wed Jan 31 14:22:22 2007 +++ chapter.sgml Fri Feb 2 11:01:12 2007 @@ -1,7 +1,7 @@ @@ -55,7 +55,7 @@ Jail consists of two realms: the user-space program, jail, and the code implemented within the - kernel: the jail() system call and associated + kernel: the jail system call and associated restrictions. I will be discussing the user-space program and then how jail is implemented within the kernel. @@ -94,10 +94,17 @@ arguments passed to the jail program, and indeed, they are set during its execution. - /usr/src/usr.sbin/jail.c -j.version = 0; -j.path = argv[1]; -j.hostname = argv[2]; + /usr/src/usr.sbin/jail/jail.c +char path[PATH_MAX]; +... +if (realpath(argv[0], path) == NULL) + err(1, "realpath: %s", argv[0]); +if (chdir(path) != 0) + err(1, "chdir: %s", path); +memset(&j, 0, sizeof(j)); +j.version = 0; +j.path = path; +j.hostname = argv[1]; @@ -106,23 +113,24 @@ One of the arguments passed to the Jail program is an IP address with which the jail can be accessed over the - network. Jail translates the ip address given into network + network. Jail translates the ip address given into host byte order and then stores it in j (the jail structure). /usr/src/usr.sbin/jail/jail.c: -struct in.addr in; -... -i = inet_aton(argv[3], ); +struct in_addr in; ... -j.ip_number = ntohl(in.s.addr); +if (inet_aton(argv[2], &in) == 0) + errx(1, "Could not make sense of ip-number: %s", argv[2]); +j.ip_number = ntohl(in.s_addr); The - inet_aton3 + inet_aton + 3 function "interprets the specified character string as an Internet address, placing the address into the structure provided." The ip number node in the jail structure is set only when the ip address placed onto the in structure by - inet aton is translated into network byte order by + inet_aton is translated into host byte order by ntohl(). @@ -132,13 +140,14 @@ Finally, the userland program jails the process, and executes the command specified. Jail now becomes an - imprisoned process itself and forks a child process which - then executes the command given using &man.execv.3; + imprisoned process itself and then executes the command + given using &man.execv.3; /usr/src/sys/usr.sbin/jail/jail.c -i = jail(); +i = jail(&j); ... -i = execv(argv[4], argv + 4); +if (execv(argv[3], argv + 3) != 0) + err(1, "execv: %s", argv[3]); As you can see, the jail function is being called, and its argument is the jail structure which has been filled @@ -171,33 +180,32 @@ int jail_set_hostname_allowed = 1; SYSCTL_INT(_security_jail, OID_AUTO, set_hostname_allowed, CTLFLAG_RW, - _set_hostname_allowed, 0, + &jail_set_hostname_allowed, 0, "Processes in jail can set their hostnames"); int jail_socket_unixiproute_only = 1; SYSCTL_INT(_security_jail, OID_AUTO, socket_unixiproute_only, CTLFLAG_RW, - _socket_unixiproute_only, 0, - "Processes in jail are limited to creating &unix;/IPv4/route sockets only -"); + &jail_socket_unixiproute_only, 0, + "Processes in jail are limited to creating &unix;/IPv4/route sockets only"); int jail_sysvipc_allowed = 0; SYSCTL_INT(_security_jail, OID_AUTO, sysvipc_allowed, CTLFLAG_RW, - _sysvipc_allowed, 0, + &jail_sysvipc_allowed, 0, "Processes in jail can use System V IPC primitives"); static int jail_enforce_statfs = 2; SYSCTL_INT(_security_jail, OID_AUTO, enforce_statfs, CTLFLAG_RW, - _enforce_statfs, 0, + &jail_enforce_statfs, 0, "Processes in jail cannot see all mounted file systems"); int jail_allow_raw_sockets = 0; SYSCTL_INT(_security_jail, OID_AUTO, allow_raw_sockets, CTLFLAG_RW, - _allow_raw_sockets, 0, + &jail_allow_raw_sockets, 0, "Prison root can create raw sockets"); int jail_chflags_allowed = 0; SYSCTL_INT(_security_jail, OID_AUTO, chflags_allowed, CTLFLAG_RW, - _chflags_allowed, 0, + &jail_chflags_allowed, 0, "Processes in jail can alter system file flags"); Each of these sysctls can be accessed by the user @@ -211,23 +219,26 @@ &man.jail.2; system call Like all system calls, the &man.jail.2; system call takes - two arguments, struct proc *p and - struct jail_args - *uap. p is a pointer to a proc - structure which describes the calling process. In this - context, uap is a pointer to a structure which specifies the + two arguments, struct thread *td and + struct jail_args *uap. + td is a pointer to the thread + structure which describes the calling thread. In this + context, uap is a pointer to the structure which specifies the arguments given to &man.jail.2; from the userland program jail.c. When I described the userland program before, you saw that the &man.jail.2; system call was given a jail structure as its own argument. /usr/src/sys/kern/kern_jail.c: -int -jail(p, uap) - struct proc *p; - struct jail_args /* { - syscallarg(struct jail *) jail; - } */ *uap; +/* + * MPSAFE + * + * struct jail_args { + * struct jail *jail; + * }; + */ +int +jail(struct thread *td, struct jail_args *uap) Therefore, uap->jail would access the jail structure which was passed to the system call. Next, @@ -242,7 +253,7 @@ j. /usr/src/sys/kern/kern_jail.c: -error = copyin(uap->jail, , sizeof j); +error = copyin(uap->jail, &j, sizeof(j)); There is another important structure defined in jail.h. It is the prison structure @@ -253,10 +264,17 @@ /usr/include/sys/jail.h: struct prison { - int pr_ref; - char pr_host[MAXHOSTNAMELEN]; - u_int32_t pr_ip; - void *pr_linux; + LIST_ENTRY(prison) pr_list; /* (a) all prisons */ + int pr_id; /* (c) prison id */ + int pr_ref; /* (p) refcount */ + char pr_path[MAXPATHLEN]; /* (c) chroot path */ + struct vnode *pr_root; /* (c) vnode to rdir */ + char pr_host[MAXHOSTNAMELEN]; /* (p) jail hostname */ + u_int32_t pr_ip; /* (c) ip addr host */ + void *pr_linux; /* (p) linux abi */ + int pr_securelevel; /* (p) securelevel */ + struct task pr_task; /* (d) destroy task */ + struct mtx pr_mtx; }; The jail() system call then allocates memory for a @@ -264,83 +282,96 @@ structures. /usr/src/sys/kern/kern_jail.c: - MALLOC(pr, struct prison *, sizeof *pr , M_PRISON, M_WAITOK); - bzero((caddr_t)pr, sizeof *pr); - error = copyinstr(j.hostname, , sizeof pr->pr_host, 0); - if (error) - goto bail; - - chroot - - Finally, the jail system call chroots the path - specified. The chroot function is given two arguments. The - first is p, which represents the calling process, the second - is a pointer to the structure chroot args. The structure - chroot args contains the path which is to be chrooted. As - you can see, the path specified in the jail structure is - copied to the chroot args structure and used. - - /usr/src/sys/kern/kern_jail.c: -ca.path = j.path; -error = chroot(p, ); - +MALLOC(pr, struct prison *, sizeof(*pr), M_PRISON, M_WAITOK | M_ZERO); +... +error = copyinstr(j.path, &pr->pr_path, sizeof(pr->pr_path), 0); +if (error) + goto e_killmtx; +... +error = copyinstr(j.hostname, &pr->pr_host, sizeof(pr->pr_host), 0); + if (error) + goto e_dropvnref; These next three lines in the source are very important, as they specify how the kernel recognizes a process as jailed. Each process on a &unix; system is described by its own proc structure. You can see the whole proc structure in /usr/include/sys/proc.h. For example, - the p argument in any system call is actually a pointer to - that process' proc structure, as stated before. The proc - structure contains nodes which can describe the owner's - identity (p_cred), the process resource - limits (p_limit), and so on. In the - definition of the process structure, there is a pointer to a - prison structure. (p_prison). + the td argument in any system call is actually a pointer to + that calling thread's thread structure, as stated before. The + td->td_proc is a pointer to the calling process' process + structure. The proc structure contains nodes which can describe + the owner's identity (p_ucred), the process + resource limits (p_limit), and so on. In the + definition of the ucred structure, there is a pointer to a + prison structure. (cr_prison). /usr/include/sys/proc.h: struct proc { ... -struct prison *p_prison; +struct ucred *p_ucred; +... +}; +/usr/include/sys/ucred.h +struct ucred { +... +struct prison *cr_prison; ... }; In kern_jail.c, the function then - copies the pr structure, which is filled with all the - information from the original jail structure, over to the - p->p_prison structure. It then does a - bitwise OR of p->p_flag with the constant - P_JAILED, meaning that the calling - process is now recognized as jailed. The parent process of - each process, forked within the jail, is the program jail - itself, as it calls the &man.jail.2; system call. When the - program is executed through execve, it inherits the - properties of its parents proc structure, therefore it has - the p->p_flag set, and the - p->p_prison structure is filled. + calls function jail_attach with a given jid. And the jail_attach + calls function change_root to change the root directory of the + calling process. The jail_attach function then creates a new ucred + structure, and attaches the newly created ucred structure to the + calling process after it has successfully attaches the prison on the + cred structure. From then on, the calling process is recognized as + jailed. When calls function jailed with the newly created ucred + structure as the argument, it returns 1 to tell that the credential + is in a jail. The parent process of each process, forked within + the jail, is the program jail itself, as it calls the &man.jail.2; + system call. When the program is executed through execve, it + inherits the properties of its parent's ucred structure, therefore it + has the jailed ucred structure. /usr/src/sys/kern/kern_jail.c -p->p.prison = pr; -p->p.flag |= P.JAILED; +int +jail(struct thread *td, struct jail_args *uap) +{ +... + struct jail_attach_args jaa; +... + error = jail_attach(td, &jaa); + if (error) + goto e_dropprref; +... +} +int +jail_attach(struct thread *td, struct jail_attach_args *uap) +{ + struct proc *p; + struct ucred *newcred, *oldcred; + struct prison *pr; +... + p = td->td_proc; +... + pr = prison_find(uap->jid); +... + change_root(pr->pr_root, td); +... + newcred->cr_prison = pr; + p->p_ucred = newcred; +... +} When a process is forked from a parent process, the - &man.fork.2; system call deals differently with imprisoned - processes. In the fork system call, there are two pointers - to a proc structure p1 - and p2. p1 points to - the parent's proc structure and p2 points - to the child's unfilled proc - structure. After copying all relevant data between the - structures, &man.fork.2; checks if the structure - p->p_prison is filled on - p2. If it is, it increments the - pr.ref by one, and sets the - p_flag to one on the child process. + &man.fork.2; system call uses crhold to maintain the credential + for the newly forked process. It inherently keep the newly forked + child's credential consistent with its parent, so the child process + is also jailed. /usr/src/sys/kern/kern_fork.c: -if (p2->p_prison) { - p2->p_prison->pr_ref++; - p2->p_flag |= P_JAILED; -} +p2->p_ucred = crhold(td->td_ucred); +td2->td_ucred = crhold(p2->p_ucred); @@ -354,8 +385,8 @@ the process is jailed, and if so, returns an error. For example: - if (p->p_prison) - return EPERM; + if (jailed(td->td_ucred)) + return (EPERM); SysV IPC @@ -369,9 +400,9 @@ msgsend and msgrcv. Earlier, I mentioned that there were certain sysctls you could turn on or off in order to affect the behavior of Jail. One of - these sysctls was jail_sysvipc_allowed. On - most systems, this sysctl is set to 0. If it were set to 1, it - would defeat the whole purpose of having a jail; privileged + these sysctls was security.jail.sysvipc_allowed. + On most systems, this sysctl is set to 0. If it were set to 1, + it would defeat the whole purpose of having a jail; privileged users from within the jail would be able to affect processes outside of the environment. The difference between a message and a signal is that the message only consists of the signal @@ -399,9 +430,9 @@ In each of these system calls, there is this conditional: - /usr/src/sys/kern/sysv msg.c: -if (!jail.sysvipc.allowed && p->p_prison != NULL) - return (ENOSYS); + /usr/src/sys/kern/sysv_msg.c: +if (!jail_sysvipc_allowed && jailed(td->td_ucred) + return (ENOSYS); semaphores Semaphore system calls allow processes to synchronize @@ -430,7 +461,7 @@ Key and flag take on the same meaning as they do in msgget. - &man.semop.2;(id, ops, num): + &man.semop.2;(semid, sops, nsops): Semop does the set of semaphore operations in the array of structures ops, to the set of semaphores identified by id. @@ -445,22 +476,22 @@ shmat, oshmctl, shmctl, shmget, and shmsys. - /usr/src/sys/kern/sysv shm.c: + /usr/src/sys/kern/sysv_shm.c: - &man.shmctl.2;(id, cmd, buf): + &man.shmctl.2;(shmid, cmd, buf): shmctl does various control operations on the shared memory region identified by id. &man.shmget.2;(key, size, - flag): shmget accesses or creates a shared memory + shmflg): shmget accesses or creates a shared memory region of size bytes. - &man.shmat.2;(id, addr, flag): + &man.shmat.2;(shmid, shmaddr, shmflg): shmat attaches a shared memory region identified by id to the address space of a process. - &man.shmdt.2;(addr): shmdt + &man.shmdt.2;(shmaddr): shmdt detaches the shared memory region previously attached at addr. @@ -475,7 +506,7 @@ lower-level socket functions in a special manner. In order to determine whether a certain socket is allowed to be created, it first checks to see if the sysctl - jail.socket.unixiproute.only is set. If + security.jail.socket_unixiproute_only is set. If set, sockets are only allowed to be created if the family specified is either PF_LOCAL, PF_INET or @@ -483,15 +514,18 @@ error. /usr/src/sys/kern/uipc_socket.c: -int socreate(dom, aso, type, proto, p) -... -register struct protosw *prp; -... +int +socreate(dom, aso, type, proto, cred, td) +... { - if (p->p_prison && jail_socket_unixiproute_only && - prp->pr_domain->dom_family != PR_LOCAL && prp->pr_domain->dom_family != PF_INET - && prp->pr_domain->dom_family != PF_ROUTE) - return (EPROTONOSUPPORT); + struct protosw *prp; +... + if (jailed(cred) && jail_socket_unixiproute_only && + prp->pr_domain->dom_family != PF_LOCAL && + prp->pr_domain->dom_family != PF_INET && + prp->pr_domain->dom_family != PF_ROUTE) { + return (EPROTONOSUPPORT); + } ... } @@ -506,17 +540,8 @@ The Berkeley Packet Filter provides a raw interface to data link layers in a protocol independent fashion. The function bpfopen() opens an Ethernet - device. There is a conditional which disallows any jailed - processes from accessing this function. - - /usr/src/sys/net/bpf.c: -static int bpfopen(dev, flags, fmt, p) -... -{ - if (p->p_prison) - return (EPERM); -... -} + device. It's now controlled by the devfs whether can be used + in the jail. @@ -534,78 +559,95 @@ which describes the address on which to bind the service. A more exact definition is that sockaddr "may be used as a template for referring to the identifying tag and length of - each address"[2]. In the function in - pcbbind, sin is a - pointer to a sockaddr.in structure, which contains the port, + each address"[2]. In the function + in_pcbbind_setup, sin is a + pointer to a sockaddr_in structure, which contains the port, address, length and domain family of the socket which is to be bound. Basically, this disallows any processes from jail to be able to specify the domain family. - /usr/src/sys/kern/netinet/in_pcb.c: -int in.pcbbind(int, nam, p) -... - struct sockaddr *nam; - struct proc *p; + /usr/src/sys/netinet/in_pcb.c: +int +in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, + u_short *lportp, struct ucred *cred) { - ... - struct sockaddr.in *sin; - ... - if (nam) { - sin = (struct sockaddr.in *)nam; - ... - if (sin->sin_addr.s_addr != INADDR_ANY) - if (prison.ip(p, 0, ->sin.addr.s_addr)) - return (EINVAL); - .... - } + ... + struct sockaddr_in *sin; + ... + if (nam) { + sin = (struct sockaddr_in *)nam; + ... +#ifdef notdef + /* + * We should check the family, but old programs + * incorrectly fail to initialize it. + */ + if (sin->sin_family != AF_INET) + return (EAFNOSUPPORT); +#endif + if (sin->sin_addr.s_addr != INADDR_ANY) + if (prison_ip(cred, 0, &sin->sin_addr.s_addr)) + return(EINVAL); + ... + } ... } You might be wondering what function - prison_ip() does. prison.ip is given three - arguments, the current process (represented by - p), any flags, and an ip address. It - returns 1 if the ip address belongs to a jail or 0 if it does - not. As you can see from the code, if it is indeed an ip - address belonging to a jail, the protcol is not allowed to - bind to a certain port. + prison_ip() does. prison_ip is given three + arguments, a pointer to the credential(represented by + cred), any flags, and an ip address. It + returns 1 if the ip address does NOT belong to the jail or + 0 otherwise. As you can see from the code, if it is indeed + an ip address not belonging to the jail, the protcol is + not allowed to bind to a certain port. /usr/src/sys/kern/kern_jail.c: -int prison_ip(struct proc *p, int flag, u_int32_t *ip) { - u_int32_t tmp; - - if (!p->p_prison) - return (0); - if (flag) - tmp = *ip; - else tmp = ntohl (*ip); - - if (tmp == INADDR_ANY) { - if (flag) - *ip = p->p_prison->pr_ip; - else *ip = htonl(p->p_prison->pr_ip); - return (0); - } +int +prison_ip(struct ucred *cred, int flag, u_int32_t *ip) +{ + u_int32_t tmp; - if (p->p_prison->pr_ip != tmp) - return (1); - return (0); + if (!jailed(cred)) + return (0); + if (flag) + tmp = *ip; + else + tmp = ntohl(*ip); + if (tmp == INADDR_ANY) { + if (flag) + *ip = cred->cr_prison->pr_ip; + else + *ip = htonl(cred->cr_prison->pr_ip); + return (0); + } + if (tmp == INADDR_LOOPBACK) { + if (flag) + *ip = cred->cr_prison->pr_ip; + else + *ip = htonl(cred->cr_prison->pr_ip); + return (0); + } + if (cred->cr_prison->pr_ip != tmp) + return (1); + return (0); } Jailed users are not allowed to bind services to an ip which does not belong to the jail. The restriction is also - written within the function in_pcbbind: + written within the function in_pcbbind_setup: - /usr/src/sys/net inet/in_pcb.c + /usr/src/sys/netinet/in_pcb.c if (nam) { ... lport = sin->sin.port; ... if (lport) { - ... - if (p && p->p_prison) + ... + if (jailed(cred)) prison = 1; + ... if (prison && - prison_ip(p, 0, ->sin_addr.s_addr)) + prison_ip(cred, 0, &sin->sin_addr.s_addr)) return (EADDRNOTAVAIL); @@ -619,14 +661,20 @@ the securelevel is greater than 0. /usr/src/sys/ufs/ufs/ufs_vnops.c: -int ufs.setattr(ap) - ... +static int +ufs_setattr(ap) + ... { - if ((cred->cr.uid == 0) && (p->prison == NULL)) { - if ((ip->i_flags - & (SF_NOUNLINK | SF_IMMUTABLE | SF_APPEND)) && - securelevel > 0) - return (EPERM); + ... + if (!suser_cred(cred, + jail_chflags_allowed ? SUSER_ALLOWJAIL : 0)) { + if (ip->i_flags + & (SF_NOUNLINK | SF_IMMUTABLE | SF_APPEND)) { + error = securelevel_gt(cred, 0); + if (error) + return (error); + } + ... } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 12:10:55 2007 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A278B16A401 for ; Fri, 2 Feb 2007 12:10:55 +0000 (UTC) (envelope-from peanky@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA4313C4A3 for ; Fri, 2 Feb 2007 12:10:54 +0000 (UTC) (envelope-from peanky@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1204266nfc for ; Fri, 02 Feb 2007 04:10:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=sHqZSnQWS8EPrZ4o7qpDhL8NY+RJPBD/12LkFvWWtM44keoKNlc2zZGtNU0yg5JYkvTz2h/BlgENK+cswy2O232Sxf2n3cVhxIWG6uG7L4f8Upcdq6I3aeE5CPLGW7otM1fsW5wbJmP8JwjB/1McsXs9eSyJq8UJ53OLT/GP4l4= Received: by 10.48.242.19 with SMTP id p19mr6246511nfh.1170416751731; Fri, 02 Feb 2007 03:45:51 -0800 (PST) Received: by 10.49.23.3 with HTTP; Fri, 2 Feb 2007 03:45:51 -0800 (PST) Message-ID: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> Date: Fri, 2 Feb 2007 14:45:51 +0300 From: "=?KOI8-R?B?6czY0SDp18HOz9c=?=" To: freebsd-doc@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 02 Feb 2007 12:40:32 +0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: using rss on my site X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 12:10:55 -0000 Hallo! I am using FreeBSD for a long time and I support a web site about computer security. I would like to use your RSS security advisories on my site to invite more users to FreeBSD. Can I use it on my site? With a best regards, Ilya I. Ivanov From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 13:01:51 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C754C16A408 for ; Fri, 2 Feb 2007 13:01:47 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1F913C4E9 for ; Fri, 2 Feb 2007 13:01:46 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so733487uge for ; Fri, 02 Feb 2007 05:01:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rPSqjBS84Ypatn2ZdXbgOQE2pAEQF1/WltFf6DQ/4nPqVD8Yc9SxTNx+aRqieu9rPyLMXcx7/ytmSPMMLkdhSLmCrk1DnoGmk9NlgwFIYl8a37a2SC8WpkbvW8YkuK99RB8jI/qW4zJUZwD7wq1293aOOWU5w55QpKEfj6DTxRg= Received: by 10.78.81.20 with SMTP id e20mr775878hub.1170421302045; Fri, 02 Feb 2007 05:01:42 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 05:01:42 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 16:01:42 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "=?UTF-8?B?0JjQu9GM0Y8g0JjQstCw0L3QvtCy?=" In-Reply-To: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> X-Google-Sender-Auth: 93f94eb4657c60af Cc: doc@freebsd.org, secteam@freebsd.org Subject: Re: using rss on my site X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 13:01:52 -0000 T24gMi8yLzA3LCDQmNC70YzRjyDQmNCy0LDQvdC+0LIgPHBlYW5reUBnbWFpbC5jb20+IHdyb3Rl Ogo+IEkgYW0gdXNpbmcgRnJlZUJTRCBmb3IgYSBsb25nIHRpbWUgYW5kIEkgc3VwcG9ydCBhIHdl YiBzaXRlIGFib3V0IGNvbXB1dGVyCj4gc2VjdXJpdHkuIEkgd291bGQgbGlrZSB0byB1c2UgeW91 ciBSU1Mgc2VjdXJpdHkgYWR2aXNvcmllcyBvbiBteSBzaXRlIHRvCj4gaW52aXRlIG1vcmUgdXNl cnMgdG8gRnJlZUJTRC4gQ2FuIEkgdXNlIGl0IG9uIG15IHNpdGU/CgpUaGUgUlNTIHN0cmVhbSBp dHNlbGYgaXMgbW9yZSBvciBsZXNzIHB1YmxpYyBkb21haW4uIEknbQpub3Qgc3VyZSBhYm91dCB0 aGUgYWR2aXNvcmllcyAodGhlaXIgdGV4dCksIHRob3VnaC4gSG9wZQp0aGV5IGFyZSBpbiBwdWJs aWMgZG9tYWluLCB0b28uIFNlY3RlYW0gQ0MnZWQuCg== From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 19:19:44 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FBB916A400; Fri, 2 Feb 2007 19:19:44 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from caelis.elvandar.org (caelis.elvandar.org [217.148.169.59]) by mx1.freebsd.org (Postfix) with ESMTP id CC76613C49D; Fri, 2 Feb 2007 19:19:43 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from localhost (caelis.elvandar.org [217.148.169.59]) by caelis.elvandar.org (Postfix) with ESMTP id 9BD9492FD29; Fri, 2 Feb 2007 20:19:36 +0100 (CET) Received: from caelis.elvandar.org ([217.148.169.59]) by localhost (caelis.elvandar.org [217.148.169.59]) (amavisd-new, port 10024) with ESMTP id 76007-08; Fri, 2 Feb 2007 20:19:36 +0100 (CET) Received: from [192.168.1.102] (ip545116d2.direct-adsl.nl [84.81.22.210]) (Authenticated sender: remko@evilcoder.org) by caelis.elvandar.org (Postfix) with ESMTP id 05FE392FD22; Fri, 2 Feb 2007 20:19:35 +0100 (CET) Message-ID: <45C38F38.6050002@FreeBSD.org> Date: Fri, 02 Feb 2007 20:21:28 +0100 From: Remko Lodder User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Andrew Pantyukhin References: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 at elvandar.org Cc: =?UTF-8?B?0JjQu9GM0Y8g0JjQstCw0L3QvtCy?= , doc@freebsd.org, secteam@freebsd.org Subject: Re: using rss on my site X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@FreeBSD.org List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 19:19:44 -0000 Andrew Pantyukhin wrote: > On 2/2/07, Илья Иванов wrote: >> I am using FreeBSD for a long time and I support a web site about >> computer >> security. I would like to use your RSS security advisories on my site to >> invite more users to FreeBSD. Can I use it on my site? > > The RSS stream itself is more or less public domain. I'm > not sure about the advisories (their text), though. Hope > they are in public domain, too. Secteam CC'ed. > > Hello I do not see a real reason why secteam@ is included in the mailings, but the published RSS feeds can be used by anyone. Personally I'd use the RSS feeds on my own webpage to let our entries get more attention etc. So by all means, please use it in the public domain to make more people aware of the issue. Cheerio, remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 20:22:18 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CB3216A405 for ; Fri, 2 Feb 2007 20:22:18 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id C6AC113C428 for ; Fri, 2 Feb 2007 20:22:16 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so837975uge for ; Fri, 02 Feb 2007 12:22:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=eYRLZ/PRi5+IDkrCwUsA5urUddzYtG0xW62dHhbxzWb+sCP/U8j0nxnaLq6D645PtLItNceEB+v72sBSRBchzoA5ZJ9pq/1+p5cTasfw37F0kTgfDO0bAxyqzbHKMJI010zcBOzBQGshfpTPvww3etzmeGFq3HIYOKhvSzvW7bc= Received: by 10.78.193.19 with SMTP id q19mr867619huf.1170447734799; Fri, 02 Feb 2007 12:22:14 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 12:22:14 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 23:22:14 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: remko@freebsd.org In-Reply-To: <45C38F38.6050002@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> <45C38F38.6050002@FreeBSD.org> X-Google-Sender-Auth: 6ab33f51a8b62439 Cc: =?UTF-8?B?0JjQu9GM0Y8g0JjQstCw0L3QvtCy?= , doc@freebsd.org, secteam@freebsd.org Subject: Re: using rss on my site X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 20:22:18 -0000 T24gMi8yLzA3LCBSZW1rbyBMb2RkZXIgPHJlbWtvQGZyZWVic2Qub3JnPiB3cm90ZToKPiBBbmRy ZXcgUGFudHl1a2hpbiB3cm90ZToKPiA+IE9uIDIvMi8wNywg0JjQu9GM0Y8g0JjQstCw0L3QvtCy IDxwZWFua3lAZ21haWwuY29tPiB3cm90ZToKPiA+PiBJIGFtIHVzaW5nIEZyZWVCU0QgZm9yIGEg bG9uZyB0aW1lIGFuZCBJIHN1cHBvcnQgYSB3ZWIgc2l0ZSBhYm91dAo+ID4+IGNvbXB1dGVyCj4g Pj4gc2VjdXJpdHkuIEkgd291bGQgbGlrZSB0byB1c2UgeW91ciBSU1Mgc2VjdXJpdHkgYWR2aXNv cmllcyBvbiBteSBzaXRlIHRvCj4gPj4gaW52aXRlIG1vcmUgdXNlcnMgdG8gRnJlZUJTRC4gQ2Fu IEkgdXNlIGl0IG9uIG15IHNpdGU/Cj4gPgo+ID4gVGhlIFJTUyBzdHJlYW0gaXRzZWxmIGlzIG1v cmUgb3IgbGVzcyBwdWJsaWMgZG9tYWluLiBJJ20KPiA+IG5vdCBzdXJlIGFib3V0IHRoZSBhZHZp c29yaWVzICh0aGVpciB0ZXh0KSwgdGhvdWdoLiBIb3BlCj4gPiB0aGV5IGFyZSBpbiBwdWJsaWMg ZG9tYWluLCB0b28uIFNlY3RlYW0gQ0MnZWQuCj4KPiBIZWxsbyBJIGRvIG5vdCBzZWUgYSByZWFs IHJlYXNvbiB3aHkgc2VjdGVhbUAgaXMgaW5jbHVkZWQKPiBpbiB0aGUgbWFpbGluZ3MsIGJ1dCB0 aGUgcHVibGlzaGVkIFJTUyBmZWVkcyBjYW4gYmUgdXNlZAo+IGJ5IGFueW9uZS4gUGVyc29uYWxs eSBJJ2QgdXNlIHRoZSBSU1MgZmVlZHMgb24gbXkgb3duCj4gd2VicGFnZSB0byBsZXQgb3VyIGVu dHJpZXMgZ2V0IG1vcmUgYXR0ZW50aW9uIGV0Yy4KPgo+IFNvIGJ5IGFsbCBtZWFucywgcGxlYXNl IHVzZSBpdCBpbiB0aGUgcHVibGljIGRvbWFpbiB0byBtYWtlCj4gbW9yZSBwZW9wbGUgYXdhcmUg b2YgdGhlIGlzc3VlLgoKU29ycnkgZm9yIG5vdCBtYWtpbmcgbXlzZWxmIGNsZWFyLCBJIHdhbnRl ZCB0bwprbm93IGlmIHRleHRzIG9mIHNlY3VyaXR5IGFkdmlzb3JpZXMgd2FzIGluCnB1YmxpYyBk b21haW4sIGFuZCBpdCdzIGNvcHlyaWdodCBzdGF0dXMgaWYgbm90LgoKVGhhbmtzIQo= From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 21:16:19 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E25916A406; Fri, 2 Feb 2007 21:16:19 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from caelis.elvandar.org (caelis.elvandar.org [217.148.169.59]) by mx1.freebsd.org (Postfix) with ESMTP id 008E413C491; Fri, 2 Feb 2007 21:16:18 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from localhost (caelis.elvandar.org [217.148.169.59]) by caelis.elvandar.org (Postfix) with ESMTP id 50A0C92FD22; Fri, 2 Feb 2007 22:16:18 +0100 (CET) Received: from caelis.elvandar.org ([217.148.169.59]) by localhost (caelis.elvandar.org [217.148.169.59]) (amavisd-new, port 10024) with ESMTP id 94165-04; Fri, 2 Feb 2007 22:16:17 +0100 (CET) Received: from [192.168.1.102] (ip545116d2.direct-adsl.nl [84.81.22.210]) (Authenticated sender: remko@evilcoder.org) by caelis.elvandar.org (Postfix) with ESMTP id C895492FC5D; Fri, 2 Feb 2007 22:16:17 +0100 (CET) Message-ID: <45C3AA92.5020602@FreeBSD.org> Date: Fri, 02 Feb 2007 22:18:10 +0100 From: Remko Lodder User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Andrew Pantyukhin References: <854777c10702020345p59c49ea2u4d18af0f5d43f970@mail.gmail.com> <45C38F38.6050002@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 at elvandar.org Cc: =?UTF-8?B?0JjQu9GM0Y8g0JjQstCw0L3QvtCy?= , doc@freebsd.org, secteam@freebsd.org Subject: Re: using rss on my site X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@FreeBSD.org List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 21:16:19 -0000 Andrew Pantyukhin wrote: > On 2/2/07, Remko Lodder wrote: >> Andrew Pantyukhin wrote: >> > On 2/2/07, Илья Иванов wrote: >> >> I am using FreeBSD for a long time and I support a web site about >> >> computer >> >> security. I would like to use your RSS security advisories on my >> site to >> >> invite more users to FreeBSD. Can I use it on my site? >> > >> > The RSS stream itself is more or less public domain. I'm >> > not sure about the advisories (their text), though. Hope >> > they are in public domain, too. Secteam CC'ed. >> >> Hello I do not see a real reason why secteam@ is included >> in the mailings, but the published RSS feeds can be used >> by anyone. Personally I'd use the RSS feeds on my own >> webpage to let our entries get more attention etc. >> >> So by all means, please use it in the public domain to make >> more people aware of the issue. > > Sorry for not making myself clear, I wanted to > know if texts of security advisories was in > public domain, and it's copyright status if not. > > Thanks! Hey, no problemo! There is no copyright imo, otherwise it would have been stated in the RSS feed itself (somewhere [tm]), but that isn't the case. Feel free to use it. Thanks and enjoy the weekend! remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 23:17:11 2007 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EA2516A406; Fri, 2 Feb 2007 23:17:11 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.freebsd.org (Postfix) with ESMTP id 8E18D13C4AA; Fri, 2 Feb 2007 23:17:09 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id D21409C3DC1; Fri, 2 Feb 2007 23:55:06 +0100 (CET) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x26kO-GKJ6+2; Fri, 2 Feb 2007 23:54:57 +0100 (CET) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 947F39C3CB3; Fri, 2 Feb 2007 23:54:57 +0100 (CET) Message-ID: <45C3C140.7000601@FreeBSD.org> Date: Fri, 02 Feb 2007 23:54:56 +0100 From: Gabor Kovesdan User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: doc@FreeBSD.org, www@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [RFC] Proposed changes for the website X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 23:17:11 -0000 Hello list, I'm starting this thread to discuss these changes before I commit them. 1, Adding site map to the footer Check the bottom of the page here: http://gabor.t-hosting.hu/data/ Currently, the site map is well hidden, I consider it useful to make it more visible. This was suggested by novel in www/104488 and I wrote a patch for this. 2, Changing the format of the news entries Currently, the news entried are indented pretty weirdly imho. The patch in www/105527 makes it more consistent with the press entries and I think they are also easier to read in this form. Check here: http://gabor.t-hosting.hu/data/news/newsflash.html I'd be happy if you cold comment. I plan to commit it after a week if there's no objection. Regards, Gabor From owner-freebsd-doc@FreeBSD.ORG Fri Feb 2 23:43:23 2007 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8808A16A400; Fri, 2 Feb 2007 23:43:23 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.freebsd.org (Postfix) with ESMTP id 299B513C4A3; Fri, 2 Feb 2007 23:43:23 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 69481133A0C; Sat, 3 Feb 2007 09:53:50 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 569001AA20F; Sat, 3 Feb 2007 09:53:50 +1030 (CST) Date: Sat, 3 Feb 2007 09:53:50 +1030 From: Greg 'groggy' Lehey To: Gabor Kovesdan Message-ID: <20070202232350.GA96920@wantadilla.lemis.com> References: <45C3C140.7000601@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <45C3C140.7000601@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: doc@FreeBSD.org, www@FreeBSD.org Subject: Re: [RFC] Proposed changes for the website X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 23:43:23 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 2 February 2007 at 23:54:56 +0100, Gabor Kovesdan wrote: > Hello list, > > I'm starting this thread to discuss these changes before I commit them. > > > 2, Changing the format of the news entries Not just the news entries! The whole site is broken at 2048x1536. It's really a very poor advertisement for us. Fixed size fonts live a life of their own (can often be double the size of proportional, or more), headings overlap, and as you say the indentation is crazy. I'd be really happy if you would fix it. Greg -- See complete headers for address and phone numbers. --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFw8gGIubykFB6QiMRAnViAKCZChWUOzdzReB3b9xhN7IHfF42rACgiPYH I0dToXVPsKY4nU93AWfHZMU= =D/a7 -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-doc@FreeBSD.ORG Sat Feb 3 07:14:26 2007 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25C1316A407 for ; Sat, 3 Feb 2007 07:14:26 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av10-1-sn2.hy.skanova.net (av10-1-sn2.hy.skanova.net [81.228.8.181]) by mx1.freebsd.org (Postfix) with ESMTP id DC11113C491 for ; Sat, 3 Feb 2007 07:14:25 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id AA27A3887F; Sat, 3 Feb 2007 08:14:24 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id 95C29385FA; Sat, 3 Feb 2007 08:14:24 +0100 (CET) Received: from [192.168.1.194] (81-234-214-163-no68.tbcn.telia.com [81.234.214.163]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 6BEFA37E44; Sat, 3 Feb 2007 08:14:24 +0100 (CET) From: Joel Dahl To: Gabor Kovesdan In-Reply-To: <45C3C140.7000601@FreeBSD.org> References: <45C3C140.7000601@FreeBSD.org> Content-Type: text/plain Date: Sat, 03 Feb 2007 08:14:37 +0100 Message-Id: <1170486877.1143.3.camel@dude.automatvapen.se> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: doc@FreeBSD.org, www@FreeBSD.org Subject: Re: [RFC] Proposed changes for the website X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 07:14:26 -0000 Fre 2007-02-02 klockan 23:54 +0100 skrev Gabor Kovesdan: > Hello list, > > I'm starting this thread to discuss these changes before I commit them. > > 1, Adding site map to the footer > Check the bottom of the page here: http://gabor.t-hosting.hu/data/ > Currently, the site map is well hidden, I consider it useful to make it > more visible. This was suggested by novel in www/104488 and I wrote a > patch for this. I think it makes sense to put "Site map" first, and "Legal notices" second, since the rest of content in the footer is related to the legal stuff... > 2, Changing the format of the news entries > Currently, the news entried are indented pretty weirdly imho. The patch > in www/105527 makes it more consistent with the press entries and I > think they are also easier to read in this form. Check here: > http://gabor.t-hosting.hu/data/news/newsflash.html Yes, I really like this change. Go for it. -- Joel From owner-freebsd-doc@FreeBSD.ORG Sat Feb 3 12:49:45 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 905BB16A405 for ; Sat, 3 Feb 2007 12:49:45 +0000 (UTC) (envelope-from Antigen_MAIL@Futurepipe.com) Received: from fpimail.ayamcreative.com (fpimail.ayamcreative.com [213.42.27.119]) by mx1.freebsd.org (Postfix) with ESMTP id F2EE813C48E for ; Sat, 3 Feb 2007 12:49:44 +0000 (UTC) (envelope-from Antigen_MAIL@Futurepipe.com) Received: from mail pickup service by fpimail.ayamcreative.com with Microsoft SMTPSVC; Sat, 3 Feb 2007 16:35:49 +0400 From: Antigen_MAIL To: doc@freebsd.org MIME-Version: 1.0 Message-ID: X-OriginalArrivalTime: 03 Feb 2007 12:35:49.0934 (UTC) FILETIME=[D5FC84E0:01C7478F] Date: 3 Feb 2007 16:35:49 +0400 Cc: Subject: Antigen found a file matching a filter X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 12:49:45 -0000 Microsoft Antigen for Exchange found a file matching a filter. The file is currently Purged. File name: "abuse_list0.pif" Filter name: "FILE FILTER= Renamed Extensions: *.*" Message subject: "Re_ Important" Sent from: "doc@freebsd.org" Folder: "SMTP Messages\Inbound And Outbound" Location: "GULF ETERNIT/GULFETERNIT/MAIL"