From owner-freebsd-questions@freebsd.org Sun Dec 6 02:15:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE095A3B3C3 for ; Sun, 6 Dec 2015 02:15:40 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C3101C61 for ; Sun, 6 Dec 2015 02:15:40 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykba77 with SMTP id a77so161767065ykb.2 for ; Sat, 05 Dec 2015 18:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=BQv7VnbU11AcpLgPueUal0/VP/cW7IIdIAPsA3Cv0B8=; b=tjsHJfpFUhRRNRtAHxZFLIRY4vufqLUFpKTrcRkRrL9OXz3Vp8TBf8hnyA1zw0mI6u Fqmr5FQR8fBD9eXjNyQEQkeR0vWhG7EBT+4BqfC+6z+5gEu+M2ucViRmQO5cB5H/yb9K GsxbCBmCHwB79blhxrbZVd8gLOZBBoP/n4Bwi4+clpBd2dpCtqqNB2y6F7m92C+EnBVD HciIp6XNlNcanguPaaoRbkSJ+V3oBpGYkuc2VP4Ytz9isbHHlLEVSb2gMQ6D1qqLOHZ4 B03gVfdFnhbY2ZCja/MKEeHKfkWX1zRp4zuKluQxhwZAbm4dQOyq+mZZnL14dxlPDkEU J3ww== X-Received: by 10.13.219.2 with SMTP id d2mr17165194ywe.344.1449368139552; Sat, 05 Dec 2015 18:15:39 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id s83sm14256704ywg.21.2015.12.05.18.15.38 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Dec 2015 18:15:38 -0800 (PST) From: John Aten Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Mouse & Keyboard not working in Virtual Box VM Date: Sat, 5 Dec 2015 20:15:31 -0600 Message-Id: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 02:15:41 -0000 Hello all, I am completely new to FreeBSD. I recently downloaded the FreeBSD = 10.2-RELEASE virtual machine image for Virtual Box. I am running Virtual = Box 4.3.30 on Mac OSX 10.6.8. (There are newer versions of Virtual Box, = which require a newer version of OSX than I am running, thus I haven't = been able to upgrade) Everything seemed to go well, until I tried to get = a window manager working. I installed the Enlightenment desktop in my = regular user account, but when it starts the mouse and keyboard do not = work. The same happens in whatever basic window manager comes up in the = root account. The X log says that since 'hotplugging' is on, these devices will be = disabled: [ 429.942] (**) |-->Input Device "Mouse0" [ 429.943] (WW) Hotplugging is on, devices using drivers 'kbd', = 'mouse' or 'vmmouse' will be disabled. [ 429.943] (WW) Disabling Mouse0 [ 432.737] (II) config/devd: adding input device (null) = (/dev/sysmouse) [ 432.737] (II) LoadModule: "mouse" [ 432.738] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 432.742] (II) Module mouse: vendor=3D"X.Org Foundation" [ 432.742] (II) UnloadModule: "mouse" [ 432.742] (II) Unloading mouse [ 432.742] (EE) Failed to load module "mouse" (module requirement = mismatch, 0) [ 432.743] (EE) No input driver matching `mouse' [ 432.777] (II) config/devd: adding input device Mouse (/dev/psm0) [ 432.777] (II) LoadModule: "mouse" [ 432.778] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 432.779] (II) Module mouse: vendor=3D"X.Org Foundation" [ 432.779] (II) UnloadModule: "mouse" [ 432.779] (II) Unloading mouse [ 432.779] (EE) Failed to load module "mouse" (module requirement = mismatch, 0) [ 432.779] (EE) No input driver matching `mouse' [ 429.942] (**) |-->Input Device "Keyboard0" [ 429.943] (WW) Disabling Keyboard0 I have found several articles and forum threads that deal with this, and = similar issues, but none of the fixes seem to work, and many involve = other issues that I am not having.=20 I installed the virtualbox guest additions from ports, and from looking = at various sources around the internet, I placed the following in = rc.conf: ifconfig_em0=3D"DHCP" vboxguest_enable=3D"YES" vboxservice_enable=3D"YES" mouse_enable=3D"YES" hald_enable=3D"YES" dbus_enable=3D"YES" It appears I do not have hald installed; when I run `service hald = start`, I get an error that says hald does not exist. I read somewhere = that hald is deprecated, anyway, so I'm not sure that getting it running = is the answer. Before I read that, though, I did add the suggested = /usr/local/etc/hal/fdi/policy called 90-vboxguest.fdi file recommended = from here: = http://technologytales.com/2014/03/02/installing-freebsd-in-a-virtualbox-v= irtual-machine/ .=20 I don't know if maybe I have a problem with the guest additions install; = I don't see how this would produce the problem, but I do get the = following warnings in /var/log/messages: Dec 4 22:31:06 kernel: ACPI APIC Table: Dec 4 22:31:06 kernel: acpi0: on motherboard Dec 4 22:31:06 kernel: cd0: Removable CD-ROM SCSI = device Dec 4 22:31:06 kernel: ada0: ATA-6 device Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 4 22:31:07 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 06:49:29 kernel: ACPI APIC Table: Dec 5 06:49:29 kernel: acpi0: on motherboard Dec 5 06:49:29 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 06:49:29 kernel: ada0: ATA-6 device Dec 5 06:49:29 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 06:49:31 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 07:27:14 kernel: ACPI APIC Table: Dec 5 07:27:14 kernel: acpi0: on motherboard Dec 5 07:27:14 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 07:27:14 kernel: ada0: ATA-6 device Dec 5 07:27:14 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 07:27:16 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 07:33:31 kernel: ACPI APIC Table: Dec 5 07:33:31 kernel: acpi0: on motherboard Dec 5 07:33:31 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 07:33:31 kernel: ada0: ATA-6 device Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 18:04:52 kernel: ACPI APIC Table: Dec 5 18:04:52 kernel: acpi0: on motherboard Dec 5 18:04:52 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 18:04:52 kernel: ada0: ATA-6 device Dec 5 18:04:52 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 18:04:55 root: /etc/rc: WARNING: failed to start vboxservice After installing Enlightenment, I ran X -configure, and also added some = lines to xorg.conf in accordance with suggestions from the internet. My = current xorg.conf (I added both "AutoAddDevices" lines, and the entire = ServerFlags section): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "False" EndSection Section "ServerFlags" Option "AutoAddDevices" "False" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional Identifier "Card0" Driver "vboxvideo" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection I am pretty sure that this is all that I have altered in the course of = working on this problem, but it is easy to lose track. It seems that I = have to somehow turn 'hotplugging' off, but I have not been able to find = out how to successfully do this, and I have no idea what to do next. I = would very much appreciate any insight on this problem.=20= From owner-freebsd-questions@freebsd.org Sun Dec 6 05:18:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76310A41572 for ; Sun, 6 Dec 2015 05:18:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 44781175E for ; Sun, 6 Dec 2015 05:18:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tB65IkC4050273 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 5 Dec 2015 22:18:46 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tB65IkbK050270; Sat, 5 Dec 2015 22:18:46 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Dec 2015 22:18:46 -0700 (MST) From: Warren Block To: John Aten cc: freebsd-questions@freebsd.org Subject: Re: Mouse & Keyboard not working in Virtual Box VM In-Reply-To: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> Message-ID: References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 05 Dec 2015 22:18:46 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 05:18:55 -0000 On Sat, 5 Dec 2015, John Aten wrote: > After installing Enlightenment, I ran X -configure, Why? The very first thing to try is letting X detect hardware and autoconfig. That means running it without any xorg.conf at all. If that is not enough, entries for only the video driver or mouse are all that is needed. The VM only needs emulators/virtualbox-ose-additions. Other VirtualBox stuff is for being a VirtualBox host and not needed in a guest. > Section "InputDevice" > Identifier "Mouse0" > Driver "vboxmouse" > EndSection > > Section "Device" > Identifier "Card0" > Driver "vboxvideo" > EndSection So again, rename or delete any existing xorg.conf. Then run X. At most, the two entries above being the entire contents of that file should work. From owner-freebsd-questions@freebsd.org Sun Dec 6 06:14:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FE64A3B444 for ; Sun, 6 Dec 2015 06:14:41 +0000 (UTC) (envelope-from colin@restecp.com) Received: from max.restecp.com (max.restecp.com [IPv6:2a01:4f8:d13:e00::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD12712A1 for ; Sun, 6 Dec 2015 06:14:40 +0000 (UTC) (envelope-from colin@restecp.com) Received: from max.restecp.com (localhost [127.0.0.1]) by max.restecp.com (Postfix) with ESMTP id 425772C909E; Sun, 6 Dec 2015 06:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=restecp.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=dkim; bh= 3owLsFKs2ppA+A/6/TEPI9Y9JqeEpC6usoHm45CnhQ0=; b=wTubn+zknHvDLQr4 xmUSW44hq6p23ajpQcL4RRppJLGjej2iyhYsKQc10liNXf1qEOvf21rk9OUJGhzC uI/71jdEYnnPE5d1A7buHIXwcDddabeV/uxFMnhsGOgQ0tlltKqX5yHpyuIh1sxB Yj/iicHy54pC0bXqZP6V2bqJb3q+7AM9YhUnYwu2us1JZsb4s56qgDs1V87uLbg+ 5WTfRMu8nCxRAAaWXdQyYGuAEs4QNOKKngASonUsP5U2xn0cqtV/f9k0SRiNSWRp FBEAjJBXZIqoXCt/NhlKBoeRKj2/X9TqMxspHnAjW8NIx2Tj8j857N4ZMqVP0BrG GUIHhg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=restecp.com; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=dkim; b=gfk1TI ogNbQIy09Hn0EUdoWvYLwo5JBq1TjBGMVJhjZCrQ3e55tsoH5EchZlZnOoYRkAuc i7dDiQY17waEoRtjXfSzoM3EGnglXtGrpt5cUfTjmCNEKjC+MFelv4cNS3NpQ34v 9+ZtSrLbBk6AY2InRHvXdKWAax2TBu4CuPrqCaaEBX/wx3vtJBl2e+lpaWol5K6l Nj3bxrNPn8NH0hNZoIvPfEnpcXOxQxxm/FCLqQAg5SwKQRablvyoW2LhoXzulKmb GQWOtav7pNPz3AN3WG/auRwhN9zQsekX76Se0/dUMH1fT8/eYA1cbPKAM5KT9ukG hmLfFQn8fRu6mztA== Received: from [172.30.42.22] (c58-107-18-62.fitzg4.qld.optusnet.com.au [58.107.18.62]) by max.restecp.com (Postfix) with ESMTPSA id 05BD92C908E; Sun, 6 Dec 2015 06:14:27 +0000 (UTC) Message-ID: <5663D233.3030300@restecp.com> Date: Sun, 06 Dec 2015 16:14:11 +1000 From: Colin House User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: John Aten , freebsd-questions@freebsd.org Subject: Re: Mouse & Keyboard not working in Virtual Box VM References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> In-Reply-To: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 06:14:41 -0000 On 6/12/2015 12:15 PM, John Aten wrote: > Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not available or version mismatch > Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice I had the same problem while rebuilding a few test machines today. In my case I'd installed 10.2-RELEASE but then grabbed the 10-STABLE source to build emulators/virtualbox-ose-additions via svn. From there a buildworld & buildkernel (and install, obviously) to bring the system up to 10-STABLE did the trick. -Col From owner-freebsd-questions@freebsd.org Sun Dec 6 17:55:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB9DA9A0B0C for ; Sun, 6 Dec 2015 17:55:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CD971B12 for ; Sun, 6 Dec 2015 17:55:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a5dWb-0008KI-Vp for freebsd-questions@freebsd.org; Sun, 06 Dec 2015 18:55:09 +0100 Received: from 203.184.10.44 ([203.184.10.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 18:55:05 +0100 Received: from erwin.pacua by 203.184.10.44 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 18:55:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Erwin Pacua Subject: Re: Doesn't switch back to text mode Date: Mon, 07 Dec 2015 06:51:57 +1300 Lines: 44 Message-ID: References: <20151130220933.GA17228@becker.bs.l> Reply-To: erwin.pacua@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.184.10.44 User-Agent: KNode/4.14.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 17:55:30 -0000 Bertram Scharpf wrote: > Hi, > > on my new notebook I am doing a dual boot installation with > FreeBSD and Linux. I set up Grub2. > > By default, Grub2 starts in graphical mode. But when my > FreeBSD once is in graphical mode, it refuses to switch back > to text mode. Thus, when I should see the startup menu, the > boot messages, and finally the console command line, the > screen stays black with some colored spots on the upper > border, and I am not able to even install X and a login > manager. I still can ssh into the running system and shut it > down. > > As far as I remember, this problem first occured on my old > notebook when I upgraded to either FreeBSD 9 or 10. I was no > longer able to enter the console when once running X (by > Ctrl-Alt-F1). That did not hurt as the Grub I had there used > to stay in text mode and X started properly. > > I solved the problem so far by leaving Grub2 in text mode. > Do I have to swallow this restriction or is there a trick I > am not aware of? > > Thanks in advance. > > Bertram > Hi Bertram, FreeBSD probably a) sets to starts a display manager (KDE, GDM, slim) via rc.conf. X seems not correctly setup yet; b) no xf86- input-{mouse,keyboard,evdev} installed. What you can do is: - boot to single mode - check if there is any xf86-input-* drivers installed - comment out any display manager on rc.conf. - enable ssh, then hook-up a second machine - reboot - reboot to multi-user From owner-freebsd-questions@freebsd.org Sun Dec 6 17:57:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B029F9A0C33 for ; Sun, 6 Dec 2015 17:57:10 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F5CE1CE1 for ; Sun, 6 Dec 2015 17:57:10 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id tB6HqFqv039826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 6 Dec 2015 09:52:15 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id tB6HqF57039825; Sun, 6 Dec 2015 09:52:15 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA00299; Sat, 5 Dec 15 21:00:07 PST Date: Sat, 05 Dec 2015 21:00:06 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: vsasjason@gmail.com Cc: freebsd-questions@freebsd.org Subject: resizing a memstick image, on FreeBSD 8 Message-Id: <5663c0d6.8giker3InrIlK8n+%perryh@pluto.rain.com> References: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 17:57:10 -0000 Anton Sayetsky wrote: > 2015-12-05 10:01 GMT+02:00 Perry Hutchison : > > Having downloaded the 10.2 memstick image, I see that it is > > configured as a 657MB GPT: ... > > After I write this onto a 4GB flash drive, how would I go about > > resizing the GPT and/or protective MBR to reflect the actual size > > of the drive ... > > RTFM: https://www.freebsd.org/doc/handbook/disks-growing.html Is it possible to accomplish that on the FreeBSD 8 system that I'm using to set things up for the FreeBSD 10.2 install? While it is the FreeBSD 8 kernel that suggests "recovery": GEOM: da2: the secondary GPT table is corrupt or invalid. GEOM: da2: using the primary only -- recovery suggested. the FreeBSD 8 gpart apparently does not understand "recover": # gpart recover da2 gpart: Unknown command: recover. usage: gpart add [-b start] [-s size] -t type [-i index] [-l label] [-f flags] geom gpart bootcode [-b bootcode] [-p partcode] [-i index] [-f flags] geom gpart commit geom gpart create -s scheme [-n entries] [-f flags] provider gpart delete -i index [-f flags] geom gpart destroy [-f flags] geom gpart modify -i index [-l label] [-t type] [-f flags] geom gpart set -a attrib -i index [-f flags] geom gpart show [-lr] [geom ...] gpart undo geom gpart unset -a attrib -i index [-f flags] geom gpart help gpart list [name ...] gpart status [-s] [name ...] gpart load [-v] gpart unload [-v] I didn't find any mention of recovering from a missing or corrupted secondary GPT in either the FreeBSD 8 Handbook or the FreeBSD 8 gpart(8) manpage. From owner-freebsd-questions@freebsd.org Sun Dec 6 18:02:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5A5F9A0E71 for ; Sun, 6 Dec 2015 18:02:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6517B10F5 for ; Sun, 6 Dec 2015 18:02:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmww144 with SMTP id w144so123604881wmw.0 for ; Sun, 06 Dec 2015 10:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oxLM5I2+RYJXyVPKPjVdfD0D9xDn/XddcqgJ/3KdZr4=; b=jU7MPaP/c56Ixn5nUZepG6AuEdAUdck6PZQPFSnqBrcuIm73HB1kowfB02B0wwS75G IC274sHDIZDd/KSpVsNMxb8n5gmdnccz1LXa0Z2Tkcrrj5gy3CPaYjgIJNZ+pe157YWO nWLNiaM1mqlSibo9StOHmpr3rVd1t9tWaPoIxZx/Brbu37fbyEjYHxkS0RwEyXZsYrn+ DawQXicQpUgcH0rni83iGoBJN50MF/2kDUdXIRDQU9puiZ34AUmqjtA6qO7IexSAr13s 82FDLEz0so71toMusr6QBDPs5HxTXM5QM+W9xsX9jWwJk2n8D4I975MgzCDd2kFLEJz2 S50Q== X-Received: by 10.194.2.33 with SMTP id 1mr32922662wjr.150.1449424952064; Sun, 06 Dec 2015 10:02:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Sun, 6 Dec 2015 10:02:12 -0800 (PST) In-Reply-To: <5663c0d6.8giker3InrIlK8n+%perryh@pluto.rain.com> References: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> <5663c0d6.8giker3InrIlK8n+%perryh@pluto.rain.com> From: Anton Sayetsky Date: Sun, 6 Dec 2015 20:02:12 +0200 Message-ID: Subject: Re: resizing a memstick image, on FreeBSD 8 To: Perry Hutchison Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 18:02:34 -0000 2015-12-06 7:00 GMT+02:00 Perry Hutchison : > Is it possible to accomplish that on the FreeBSD 8 system that I'm > using to set things up for the FreeBSD 10.2 install? While it is > the FreeBSD 8 kernel that suggests "recovery": > GEOM: da2: the secondary GPT table is corrupt or invalid. > GEOM: da2: using the primary only -- recovery suggested. > > the FreeBSD 8 gpart apparently does not understand "recover": > # gpart recover da2 > gpart: Unknown command: recover. > usage: gpart add [-b start] [-s size] -t type [-i index] [-l label] [-f flags] geom > gpart bootcode [-b bootcode] [-p partcode] [-i index] [-f flags] geom > gpart commit geom > gpart create -s scheme [-n entries] [-f flags] provider > gpart delete -i index [-f flags] geom > gpart destroy [-f flags] geom > gpart modify -i index [-l label] [-t type] [-f flags] geom > gpart set -a attrib -i index [-f flags] geom > gpart show [-lr] [geom ...] > gpart undo geom > gpart unset -a attrib -i index [-f flags] geom > gpart help > gpart list [name ...] > gpart status [-s] [name ...] > gpart load [-v] > gpart unload [-v] > > I didn't find any mention of recovering from a missing or corrupted > secondary GPT in either the FreeBSD 8 Handbook or the FreeBSD 8 > gpart(8) manpage. You can recover GPT after updating to 10. Even if one of the GPT copies corrupted, disk is fully functional. From owner-freebsd-questions@freebsd.org Sun Dec 6 19:42:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8600D7394 for ; Sun, 6 Dec 2015 19:42:34 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 45AA51A31 for ; Sun, 6 Dec 2015 19:42:33 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id D9ED4290037E for ; Sun, 6 Dec 2015 17:42:21 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449430944; bh=wxGwxT8AA4fI9g3ZkaRGDmcheJQaJQ2Wdot/TqVgWfM=; h=Date:From:To:Subject:From; b=bhI6oWW9fgDq/SLxZ5W8nKle8wy8O/M3DyPq1r0YYSxJp6/7W3jsPE/k6NjUtA+Xx sGkTQRpkpPkJoKiSLqBFhTVf6S9nLUD2XUtko6A0h2MU+u02AiYLyhkpoZhyWkudPA Yr/w5x8I4kAdWDtXW3KGvHvDXfRdnTmSrtMH1+mg= Date: Sun, 6 Dec 2015 17:44:01 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: OSS in jail Message-ID: <20151206194401.GA3860@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:42:34 -0000 Hi, I would like one of my jails to have the ability to play back sound, but not to record it. As I understand, sound is played back by writing to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not a solution since the jail superuser can override permissions on these devices and even read from them when they lack read permission. Is there a way to give a device to a jail in read-only mode? If not, is it possible to create a virtual OSS stack and give that to the jail? How would you solve this problem? Also, is it possible to give the jail a mixer device that can only read mixer settings but not alter them? Thanks, Luís From owner-freebsd-questions@freebsd.org Sun Dec 6 19:45:33 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC7417437 for ; Sun, 6 Dec 2015 19:45:33 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EE8C1B46 for ; Sun, 6 Dec 2015 19:45:33 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmww144 with SMTP id w144so125443380wmw.0 for ; Sun, 06 Dec 2015 11:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=x5x+dzB61pKdJpIb043IdOvQ1qv7K5xkyTyHxyEgt60=; b=NMutBz9AXTlEtjCwzVun+wJm7mtEs0w2W29GhBm4n6N838EjlmYoSTDVF19Yi4GvTy 1sHYPUMh16Uo86vMNEz2Q7eCg70Rd4q9rBO2M1WtkXpWVkNYCyWOiieVz6Tfc3+jc8xm 7LJEov5jbBz4SlfVE10AKxTRF9lwRgY2+/orsHdgikgSJL323RDRWxYccHh3cQ5Ioi8Q fMOPYw1dEC1CW933MCXd0JUFs7JFH9TaHhk6gf7jQZXBuLGLCvw768oW1pwWqA/4cUym rjFj2FU2AgoDgL3t1BgpLA5SkAPAN8OHcuD6+Pr2BsfG1qWtYxgNozaiicZYJbzEM1LU u0zA== X-Received: by 10.194.236.228 with SMTP id ux4mr29743594wjc.56.1449431131750; Sun, 06 Dec 2015 11:45:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Sun, 6 Dec 2015 11:45:12 -0800 (PST) In-Reply-To: <20151206194401.GA3860@hpmini> References: <20151206194401.GA3860@hpmini> From: Anton Sayetsky Date: Sun, 6 Dec 2015 21:45:12 +0200 Message-ID: Subject: Re: OSS in jail To: =?UTF-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:45:33 -0000 2015-12-06 21:44 GMT+02:00 Lu=C3=ADs Fernando Schultz Xavier da Silveira : > Hi, > > I would like one of my jails to have the ability to play back sound, > but not to record it. As I understand, sound is played back by writing > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > a solution since the jail superuser can override permissions on these > devices and even read from them when they lack read permission. > > Is there a way to give a device to a jail in read-only mode? How do you want to write sound output to read-only device? From owner-freebsd-questions@freebsd.org Sun Dec 6 19:48:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7627374E6 for ; Sun, 6 Dec 2015 19:48:23 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 344431C3F for ; Sun, 6 Dec 2015 19:48:22 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id B0A8D290037E for ; Sun, 6 Dec 2015 17:48:18 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449431302; bh=6G3GYzf+5LI9NnTt5C1fWMYjJV++6YqPudfuZJkFu3k=; h=Date:From:To:Subject:References:In-Reply-To:From; b=SpU18IP5P1WfxZU2a6tKsiTnok6iLQ0Bk1VrNF52A79/7vFciaPVl22NJn5cA+WO9 1G98xVaKcEYdMu29giUkqLm39OJSr517Jwr6/ecGtFoj2h8DS4yD/qR4VQZZ94FfTs t47RXreHPXMDuIV8MrUTyeUeXpKWoVuGKL5JGm54= Date: Sun, 6 Dec 2015 17:49:58 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206194958.GB4044@hpmini> References: <20151206194401.GA3860@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:48:23 -0000 Sorry, I meant write-only mode. On Sun, Dec 06, 2015 at 09:45:12PM +0200, Anton Sayetsky wrote: > 2015-12-06 21:44 GMT+02:00 Luís Fernando Schultz Xavier da Silveira > : > > Hi, > > > > I would like one of my jails to have the ability to play back sound, > > but not to record it. As I understand, sound is played back by writing > > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > > a solution since the jail superuser can override permissions on these > > devices and even read from them when they lack read permission. > > > > Is there a way to give a device to a jail in read-only mode? > How do you want to write sound output to read-only device? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Dec 6 19:52:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED87476D6 for ; Sun, 6 Dec 2015 19:52:09 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FC131EB1 for ; Sun, 6 Dec 2015 19:52:09 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmww144 with SMTP id w144so117320043wmw.1 for ; Sun, 06 Dec 2015 11:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ux8+3oywcDO7adF92W5lL8mks9qLfagV30ZpxJ1oLHM=; b=q6efg3WHxQWAVvE+l7zRj+AQNZTJqGBH/dImNZo7Vn3GZ5G1ySPpaU+tI+REPtJdUd cRr/lJpAqarYM861u03BiS0ttqupDm256jwtXaloVuf5c6udEB2bgqsH6sNcF4Hu4lR4 2xz2jtMJtkwuRSO9Ioq4pv5c+wq4QUQKK91eG7RE6UNI9SBj8igKBLwhXXg1CTAHjyco M/+YyBmFWR5m2OgETAG32J1AhLDQVjxngEbVLyFItW1iGkMvauw/Zz76CT/Wug0kUBAi HIPU9+bmhAbvee/eipdx4evKr6qaFKhQbkQG1OZWCi940M3qerClkzDce/HipLCK8X49 dpOQ== X-Received: by 10.194.2.33 with SMTP id 1mr33330975wjr.150.1449431527675; Sun, 06 Dec 2015 11:52:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Sun, 6 Dec 2015 11:51:48 -0800 (PST) In-Reply-To: <20151206194958.GB4044@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194958.GB4044@hpmini> From: Anton Sayetsky Date: Sun, 6 Dec 2015 21:51:48 +0200 Message-ID: Subject: Re: OSS in jail To: =?UTF-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:52:10 -0000 2015-12-06 21:49 GMT+02:00 Lu=C3=ADs Fernando Schultz Xavier da Silveira : > Sorry, I meant write-only mode. If a user has write access, how do you want to prevent him to set permissio= ns? From owner-freebsd-questions@freebsd.org Sun Dec 6 19:55:33 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2FFA77C2 for ; Sun, 6 Dec 2015 19:55:33 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id A086C102A for ; Sun, 6 Dec 2015 19:55:33 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 40D60290037F; Sun, 6 Dec 2015 17:55:29 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449431732; bh=NoUBP9NG0qzs3yw9U+AdoYG+DJQx9jECViszPHlk7Ig=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jsS5RDWJdjXWy4bk/hxSL8KwRoKBdcuSpnD3f4Xw+fqeBAk1NAfbgQJFuDhvR9MNa pvYQhp2tqre07gXliuPDc9bR+It9sQXlGU6OcwNCN3tq8v9uswp67ogV7CqrugXytw 5lJTf54o4oL5ZEr32v3qKjwDWNJY4SzVGWtMCJdQ= Date: Sun, 6 Dec 2015 17:57:09 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: Anton Sayetsky Cc: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206195709.GA4100@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194851.GA4044@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 19:55:34 -0000 > Pleas, reply to list instead of users. Sorry. > If a user has write access, how do you want to prevent him to set permissions? This is the precise problem. I need either a stronger form of access control than unix permissions or two separate devices for playback and recording. Or maybe a separate OSS stack, in the spirit of VIMAGE. These options seem unrealistic, but the use case does not seem unreasonable, which is why I pose the question. From owner-freebsd-questions@freebsd.org Sun Dec 6 20:19:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 647F07BE8 for ; Sun, 6 Dec 2015 20:19:32 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4819E19A2 for ; Sun, 6 Dec 2015 20:19:31 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.4] (97-97-253-103.res.bhn.net [97.97.253.103]) by cargobay.net (Postfix) with ESMTPSA id 3127B622; Sun, 6 Dec 2015 20:07:16 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: OSS in jail From: Jake X-Mailer: iPhone Mail (13B143) In-Reply-To: Date: Sun, 6 Dec 2015 15:09:44 -0500 Cc: =?utf-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com> References: <20151206194401.GA3860@hpmini> <20151206194958.GB4044@hpmini> To: Anton Sayetsky X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 20:19:32 -0000 > On Dec 6, 2015, at 2:51 PM, Anton Sayetsky wrote: >=20 > 2015-12-06 21:49 GMT+02:00 Lu=C3=ADs Fernando Schultz Xavier da Silveira > : >> Sorry, I meant write-only mode. > If a user has write access, how do you want to prevent him to set permissi= ons? I think that's what he's asking us, the general community. Maybe not for a s= olution as simple as the standard device nodes and permissions, since he als= o described his use case as the actual goal. Without actually forming a spec= ific plan for u in detail, a setup involving network send/receive and on a s= olution such as what Jack2 (and others) provide comes to mind. That may work= for you Fernando or it may not be low-level enough to fit all your desires.= Perhaps a simpler solution using the append-only file flag would suffice an= d disallowing the jail to change flags is workable. See allow.chflags in man= 8 jail and/or man 5 jail.conf. I believe there's a global setting and a per= jail setting. I'm interested in hearing about what solutions you/we can come up with.= From owner-freebsd-questions@freebsd.org Sun Dec 6 20:19:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 628EE7BFF for ; Sun, 6 Dec 2015 20:19:36 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C8EE19AC for ; Sun, 6 Dec 2015 20:19:35 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.130.11.109] (cm-84.210.87.28.getinternet.no [84.210.87.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id ED5127FA; Sun, 6 Dec 2015 20:19:25 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: OSS in jail From: Terje Elde X-Mailer: iPhone Mail (13B143) In-Reply-To: <20151206195709.GA4100@hpmini> Date: Sun, 6 Dec 2015 21:19:24 +0100 Cc: Anton Sayetsky , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <87C55BB9-84B2-43B0-BD7D-2E045753C83C@elde.net> References: <20151206194401.GA3860@hpmini> <20151206194851.GA4044@hpmini> <20151206195709.GA4100@hpmini> To: =?utf-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 20:19:36 -0000 > On 06 Dec 2015, at 20:57, Lu=C3=ADs Fernando Schultz Xavier da Silveira wrote: >=20 > This is the precise problem. > I need either a stronger form of access control than unix permissions > or two separate devices for playback and recording. > Or maybe a separate OSS stack, in the spirit of VIMAGE. > These options seem unrealistic, but the use case does not seem > unreasonable, which is why I pose the question. Although I haven't tested it for devices, it's likely you can solve this by u= sing MAC, and the "file system firewall"; mac_bsdextended Effectively you can define "firewall rules" for the file system, and thus bl= ock reads from the dsp. Might be a learning curve to get things right though.=20 Terje From owner-freebsd-questions@freebsd.org Sun Dec 6 21:35:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07C249A0E79 for ; Sun, 6 Dec 2015 21:35:45 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id B7C821A84 for ; Sun, 6 Dec 2015 21:35:44 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 9BAF7290033B for ; Sun, 6 Dec 2015 19:35:38 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449437743; bh=DUHfFGOhxsG7/txeb7ceuIo2TV7gtTUXSeQ7gXuZfFw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=CLcUtcitDEGkWuW2UwcLlf5j1fXppgknH5qwetfHEyZcQ64vdNQyGuR97skr/m5dE JDyCodcqRJIxIXmseEWy3z2k0EwCY0L8mgImRaUL9q7sqJwaSzE2S3tR8CEf7nhyZd NduNc3P+94RSXYH5eJZjsGupO1+tfm2yb1pt+4fY= Date: Sun, 6 Dec 2015 19:37:19 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206213719.GB5294@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194958.GB4044@hpmini> <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 21:35:45 -0000 Thank you for your ideas. Indeed, unfortunately a network audio server is too high level a solution. But if it comes to that I guess it is an alternative, so I will look into that. According to my setup here, the devfs filesystem does not support file system flags. Also, in FreeBSD, device nodes only work if they reside on such a filesystem. If I find a solution I will post it here. On Sun, Dec 06, 2015 at 03:09:44PM -0500, Jake wrote: > > On Dec 6, 2015, at 2:51 PM, Anton Sayetsky wrote: > > > > 2015-12-06 21:49 GMT+02:00 Luís Fernando Schultz Xavier da Silveira > > : > >> Sorry, I meant write-only mode. > > If a user has write access, how do you want to prevent him to set permissions? > > I think that's what he's asking us, the general community. Maybe not for a solution as simple as the standard device nodes and permissions, since he also described his use case as the actual goal. Without actually forming a specific plan for u in detail, a setup involving network send/receive and on a solution such as what Jack2 (and others) provide comes to mind. That may work for you Fernando or it may not be low-level enough to fit all your desires. Perhaps a simpler solution using the append-only file flag would suffice and disallowing the jail to change flags is workable. See allow.chflags in man 8 jail and/or man 5 jail.conf. I believe there's a global setting and a per jail setting. > > I'm interested in hearing about what solutions you/we can come up with. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Dec 6 21:43:21 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A2B29A0021 for ; Sun, 6 Dec 2015 21:43:21 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB711D8A for ; Sun, 6 Dec 2015 21:43:20 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 388222900381; Sun, 6 Dec 2015 19:43:16 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449438199; bh=tt5UbWAxTAQWE3f6TGRDVGZzsf73psLjlno5IlEBu7Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SKk+VM6QAKB+cyfkIRRgKaNd0jsobGfF67Ct7DaDjiWUD/49eYdLBtfZdQHf3TP0D 7oob8eB+QGuCxjBN/gL+CrBmPSsDhiqLeAPzWCrbRU7C0fEKFISzSVMec/IlPMWDor 7AOjm7tYOgoX6JAuzE1GDU8uwRtz5teXM7enE588= Date: Sun, 6 Dec 2015 19:44:56 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: Terje Elde Cc: Anton Sayetsky , freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206214455.GA5435@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194851.GA4044@hpmini> <20151206195709.GA4100@hpmini> <87C55BB9-84B2-43B0-BD7D-2E045753C83C@elde.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87C55BB9-84B2-43B0-BD7D-2E045753C83C@elde.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 21:43:21 -0000 This is very promising. I will give it a shot. Thanks very much. On Sun, Dec 06, 2015 at 09:19:24PM +0100, Terje Elde wrote: > > > On 06 Dec 2015, at 20:57, Luís Fernando Schultz Xavier da Silveira wrote: > > > > This is the precise problem. > > I need either a stronger form of access control than unix permissions > > or two separate devices for playback and recording. > > Or maybe a separate OSS stack, in the spirit of VIMAGE. > > These options seem unrealistic, but the use case does not seem > > unreasonable, which is why I pose the question. > > Although I haven't tested it for devices, it's likely you can solve this by using MAC, and the "file system firewall"; mac_bsdextended > > Effectively you can define "firewall rules" for the file system, and thus block reads from the dsp. > > Might be a learning curve to get things right though. > > Terje > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Dec 6 23:10:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E53659A0319 for ; Sun, 6 Dec 2015 23:10:03 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEDF411A9 for ; Sun, 6 Dec 2015 23:10:03 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykba77 with SMTP id a77so176690847ykb.2 for ; Sun, 06 Dec 2015 15:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zFmIJlma+oQZiBwi2PpD8010pCwjaJmnYgIffkfIejo=; b=uCIZCmsRRs4OUIsaUbTIya2UH6S/nW9cD0sVr6kc/ukN4ptznRN+0ubZg7l5ScjiZ2 sYyg+HNnxylfWFBk68KE1+kZ1y4BDQmE05/UrtqzknLgdVS90dKovPYf7fSZ2kz3hBQ5 cRSY4sJfu88afO6DSgW5MHcZGatZcDwv4aO1Svx84JlLHvAKRC+MxP3hl7Srm9icvgGL rahGWGMhYATFvr2Unft7Z8nV2tO9NkitZT2duN2oSGSsbQS8b4BTc/XwJ3MDKaus8mvd TOzn5HzZmqoh0EJYs5pke1ZyQHTEys7Tg6Vf5kdBrnwu6ZuHqOkiJ2dgMEPhTDeJw86S ybOw== X-Received: by 10.129.27.12 with SMTP id b12mr19634154ywb.140.1449443402630; Sun, 06 Dec 2015 15:10:02 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id e64sm16980949ywb.25.2015.12.06.15.10.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Dec 2015 15:10:01 -0800 (PST) Subject: Re: Mouse & Keyboard not working in Virtual Box VM Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Aten In-Reply-To: <5663D233.3030300@restecp.com> Date: Sun, 6 Dec 2015 17:09:58 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0C16B8E2-D36E-4626-8156-BA716470E79D@gmail.com> References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> <5663D233.3030300@restecp.com> To: Colin House X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 23:10:04 -0000 On Dec 6, 2015, at 12:14 AM, Colin House wrote: > On 6/12/2015 12:15 PM, John Aten wrote: >> Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch >> Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice >=20 > I had the same problem while rebuilding a few test machines today. >=20 > In my case I'd installed 10.2-RELEASE but then grabbed the 10-STABLE = source to build emulators/virtualbox-ose-additions via svn. >=20 > =46rom there a buildworld & buildkernel (and install, obviously) to = bring the system up to 10-STABLE did the trick. I did that exact same thing. I attempted to follow the instructions at = https://www.freebsd.org/doc/en/books/handbook/makeworld.html , but ran = into errors when running `make buildkernel`. I didn't manage to get the = errors copied down, but in any case the VM won't boot at all now. I am = just going to download a new image and start over.=20 Thanks for your help! John= From owner-freebsd-questions@freebsd.org Sun Dec 6 23:34:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 188AE9A079A for ; Sun, 6 Dec 2015 23:34:34 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1A861D78 for ; Sun, 6 Dec 2015 23:34:33 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykdr82 with SMTP id r82so176945211ykd.3 for ; Sun, 06 Dec 2015 15:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=upNiNmLAbWjXBuoOXkUWeD11CFHoBhoTeB/bB+hPrcE=; b=oJoSz7hiLu5zo7HRVU+0pjokxX353cxke2EmvnzkuoNHnH8ilp7+aU3/FxyYvAWzrN YsuJORmznC9LuNGK7iSJr0v2qTTxdfkw3HlfdtbPAvCCFfDINoPmnhnmFp09z/+p52Fb YVa4TZ4LxuDGRAWyfE5DgfLbBdrjZV0WRdsV4mLtokJnEnCJ6QXB4HW6PNo2fZknwJwk Krfp1DylCQQE2xL+tRorR9IcuXnpce4LgeBtsfKBPf8Y4nJbs12qNVpSOZP1+FPogw0E tU8iMEma23DQYCqj6JSzPgLw/Y+eXLL64DUeTOpx/GzHp4CcBciRjSR3Cj886iMUJQdX CmFw== X-Received: by 10.13.218.68 with SMTP id c65mr20708781ywe.315.1449444873062; Sun, 06 Dec 2015 15:34:33 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id q141sm16997550ywg.22.2015.12.06.15.34.31 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Dec 2015 15:34:32 -0800 (PST) Subject: Re: Mouse & Keyboard not working in Virtual Box VM Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Aten In-Reply-To: Date: Sun, 6 Dec 2015 17:34:29 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <26A369F7-EB9E-4BC1-A002-990820F90DB1@gmail.com> References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 23:34:34 -0000 On Dec 5, 2015, at 11:18 PM, Warren Block wrote: > On Sat, 5 Dec 2015, John Aten wrote: >=20 >> After installing Enlightenment, I ran X -configure, >=20 > Why? The very first thing to try is letting X detect hardware and = autoconfig. That means running it without any xorg.conf at all I didn't know that. I was having the problem before I ran X -configure, = and when I was researching it I thought that this was a step I missed. = The keyboard and mouse do not work, though, whether with no xorg.conf, = with the one I previously posted, or with an xorg.conf containing only = the suggested lines: >> Section "InputDevice" >> Identifier "Mouse0" >> Driver "vboxmouse" >> EndSection >>=20 >> Section "Device" >> Identifier "Card0" >> Driver "vboxvideo" >> EndSection The VM won't boot at all now. I am not sure what happened, but I think = it must have something to do that I synced the wrong version of the = source. I am going to download another vm image and start over. Maybe = that will fix the problem. Thanks for the information. John From owner-freebsd-questions@freebsd.org Mon Dec 7 00:12:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83A637344 for ; Mon, 7 Dec 2015 00:12:32 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DFC41A2D for ; Mon, 7 Dec 2015 00:12:32 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykdr82 with SMTP id r82so177509842ykd.3 for ; Sun, 06 Dec 2015 16:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=RqV9ayMPUcxeXnjP86J/jdVd7pE9rxaZmLGNQ6Bllkk=; b=lXCeeNAdcEhWS72xiuq7ZMBdK5L5rZeF0DuH3ssvHcRRZQ4GuVbLr2XkSVuEPo6WC2 b27LExmrBy36Vj1K2IMJ2uAxtnBNd8B2eqMi3KPkU8xbMpHciqVUTmT3wJLwYyk6tdNF laZPu3JAAPpaEhS9eiSbk0BxgFdYorfhd3yIsUV1SXzhRv/F9avaBPkUgF/FXPgi6Cqr Ijf/7B2ccsTTOUDeTGQJ4T1KrQMmuHhgQsGzwa93Gbcd2Q96/lPsujAskzMGKhMnNaQx SN/4jvF+Soln7re7UTiIUR6LDuKVX6EH5u6yR5WWeSTtC1gBCrJckDLBCUAd5f4fc9ib jFdA== X-Received: by 10.13.196.197 with SMTP id g188mr20419316ywd.209.1449447151410; Sun, 06 Dec 2015 16:12:31 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id t123sm17062142ywg.51.2015.12.06.16.12.29 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Dec 2015 16:12:30 -0800 (PST) From: John Aten Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Virtual Box VM fails to boot FreeBSD installer Date: Sun, 6 Dec 2015 18:12:28 -0600 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 00:12:32 -0000 Hello everyone, Another virtualization problem: I tried installing FreeBSD 10.2 STABLE = for Amd64 into a Virtual Box (version 4.3.30 on Mac OSX 10.6.8), and ran = into trouble. I have had the same problem with both dvd and cd images. = The checksums matched, but neither image can boot the installer, giving = this message: /boot/kernel/kernel text=3D0xfc7f48 readin failed elf64_loadimage: read failed can't load file '/boot/kernel/kernel': input/output error Error while including /boot/menu.rc, in the line: menu-display / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/kernel/kernel text=3D0xfc7f48 readin failed elf64_loadimage: read failed can't load 'kernel' This is the message given by the CD image; I am pretty sure the DVD gave = the same errors, but I have since deleted the dvd image. I have looked = around online, and haven't been able to find anything on this. I have = tried different settings for the VM, and get the same thing.=20 Any help would be much appreciated. Thanks, John= From owner-freebsd-questions@freebsd.org Mon Dec 7 00:24:24 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD79D759B for ; Mon, 7 Dec 2015 00:24:24 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 89CD51DA8 for ; Mon, 7 Dec 2015 00:24:24 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id B940E290038E; Sun, 6 Dec 2015 22:24:18 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449447862; bh=HdRUB8oPO0uep6/+p8V7EoUb+hI3LyhqnZqXVqTP9yk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ig4s7mBbash/3NfyOk+QnmuWib16XqlcovSYVuJDD5M2alS1Cbcv7H2ScPs3/WncT OkAiwXNZ+yWvjztHrubv3kYWjnkCHGEbHnkbOWoeFloFMBC/YStbYjQfjVZdPPDjB3 E7PtFXAJDq4NYTDiql5oXjct/b2rvKkX1doH3KXI= Date: Sun, 6 Dec 2015 22:25:59 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: Terje Elde Cc: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151207002558.GA7494@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194851.GA4044@hpmini> <20151206195709.GA4100@hpmini> <87C55BB9-84B2-43B0-BD7D-2E045753C83C@elde.net> <20151206214455.GA5435@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151206214455.GA5435@hpmini> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 00:24:24 -0000 Hi, The mac_bsdextended man page directs the user to try the ugidfw utility to add mandatory access control rules. However, the manual page of this utility seems to indicate that the finest granularity of objects described by these rules is the filesystem level. Thus, it does not seem possible to change the access control policy of individual /dev nodes. On Sun, Dec 06, 2015 at 07:44:56PM -0200, Luís Fernando Schultz Xavier da Silveira wrote: > This is very promising. I will give it a shot. > Thanks very much. > > On Sun, Dec 06, 2015 at 09:19:24PM +0100, Terje Elde wrote: > > > > > On 06 Dec 2015, at 20:57, Luís Fernando Schultz Xavier da Silveira wrote: > > > > > > This is the precise problem. > > > I need either a stronger form of access control than unix permissions > > > or two separate devices for playback and recording. > > > Or maybe a separate OSS stack, in the spirit of VIMAGE. > > > These options seem unrealistic, but the use case does not seem > > > unreasonable, which is why I pose the question. > > > > Although I haven't tested it for devices, it's likely you can solve this by using MAC, and the "file system firewall"; mac_bsdextended > > > > Effectively you can define "firewall rules" for the file system, and thus block reads from the dsp. > > > > Might be a learning curve to get things right though. > > > > Terje > > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Mon Dec 7 02:49:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D7409B7CEA for ; Mon, 7 Dec 2015 02:49:40 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29A671C7F for ; Mon, 7 Dec 2015 02:49:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a5lro-0005vw-1X for freebsd-questions@freebsd.org; Mon, 07 Dec 2015 03:49:36 +0100 Received: from 203.184.10.44 ([203.184.10.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Dec 2015 03:49:32 +0100 Received: from erwin.pacua by 203.184.10.44 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Dec 2015 03:49:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Erwin Pacua Subject: Re: Mouse & Keyboard not working in Virtual Box VM Date: Mon, 07 Dec 2015 15:49:11 +1300 Lines: 227 Message-ID: References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> Reply-To: erwin.pacua@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.184.10.44 User-Agent: KNode/4.14.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 02:49:40 -0000 John Aten wrote: > Hello all, > > I am completely new to FreeBSD. I recently downloaded the FreeBSD > 10.2-RELEASE virtual machine image for Virtual Box. I am running Virtual > Box 4.3.30 on Mac OSX 10.6.8. (There are newer versions of Virtual Box, > which require a newer version of OSX than I am running, thus I haven't > been able to upgrade) Everything seemed to go well, until I tried to get a > window manager working. I installed the Enlightenment desktop in my > regular user account, but when it starts the mouse and keyboard do not > work. The same happens in whatever basic window manager comes up in the > root account. > > The X log says that since 'hotplugging' is on, these devices will be > disabled: > > [ 429.942] (**) |-->Input Device "Mouse0" > [ 429.943] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' > [ or 'vmmouse' will be disabled. 429.943] (WW) Disabling Mouse0 > [ 432.737] (II) config/devd: adding input device (null) (/dev/sysmouse) > [ 432.737] (II) LoadModule: "mouse" > [ 432.738] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so > [ 432.742] (II) Module mouse: vendor="X.Org Foundation" > [ 432.742] (II) UnloadModule: "mouse" > [ 432.742] (II) Unloading mouse > [ 432.742] (EE) Failed to load module "mouse" (module requirement > [ mismatch, 0) 432.743] (EE) No input driver matching `mouse' > [ 432.777] (II) config/devd: adding input device Mouse (/dev/psm0) > [ 432.777] (II) LoadModule: "mouse" > [ 432.778] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so > [ 432.779] (II) Module mouse: vendor="X.Org Foundation" > [ 432.779] (II) UnloadModule: "mouse" > [ 432.779] (II) Unloading mouse > [ 432.779] (EE) Failed to load module "mouse" (module requirement > [ mismatch, 0) 432.779] (EE) No input driver matching `mouse' > [ 429.942] (**) |-->Input Device "Keyboard0" > [ 429.943] (WW) Disabling Keyboard0 > > I have found several articles and forum threads that deal with this, and > similar issues, but none of the fixes seem to work, and many involve other > issues that I am not having. > > I installed the virtualbox guest additions from ports, and from looking at > various sources around the internet, I placed the following in rc.conf: > > ifconfig_em0="DHCP" > > vboxguest_enable="YES" > vboxservice_enable="YES" > > mouse_enable="YES" > > hald_enable="YES" > dbus_enable="YES" > > It appears I do not have hald installed; when I run `service hald start`, > I get an error that says hald does not exist. I read somewhere that hald > is deprecated, anyway, so I'm not sure that getting it running is the > answer. Before I read that, though, I did add the suggested > /usr/local/etc/hal/fdi/policy called 90-vboxguest.fdi file recommended > from here: > http://technologytales.com/2014/03/02/installing-freebsd-in-a-virtualbox-virtual-machine/ > . > > I don't know if maybe I have a problem with the guest additions install; I > don't see how this would produce the problem, but I do get the following > warnings in /var/log/messages: > > Dec 4 22:31:06 kernel: ACPI APIC Table: > Dec 4 22:31:06 kernel: acpi0: on motherboard > Dec 4 22:31:06 kernel: cd0: Removable CD-ROM SCSI > device > Dec 4 22:31:06 kernel: ada0: ATA-6 device > Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch > Dec 4 22:31:07 root: /etc/rc: WARNING: failed to start vboxservice > Dec 5 06:49:29 kernel: ACPI APIC Table: > Dec 5 06:49:29 kernel: acpi0: on motherboard > Dec 5 06:49:29 kernel: cd0: Removable CD-ROM SCSI > device > Dec 5 06:49:29 kernel: ada0: ATA-6 device > Dec 5 06:49:29 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch > Dec 5 06:49:31 root: /etc/rc: WARNING: failed to start vboxservice > Dec 5 07:27:14 kernel: ACPI APIC Table: > Dec 5 07:27:14 kernel: acpi0: on motherboard > Dec 5 07:27:14 kernel: cd0: Removable CD-ROM SCSI > device > Dec 5 07:27:14 kernel: ada0: ATA-6 device > Dec 5 07:27:14 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch > Dec 5 07:27:16 root: /etc/rc: WARNING: failed to start vboxservice > Dec 5 07:33:31 kernel: ACPI APIC Table: > Dec 5 07:33:31 kernel: acpi0: on motherboard > Dec 5 07:33:31 kernel: cd0: Removable CD-ROM SCSI > device > Dec 5 07:33:31 kernel: ada0: ATA-6 device > Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch > Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice > Dec 5 18:04:52 kernel: ACPI APIC Table: > Dec 5 18:04:52 kernel: acpi0: on motherboard > Dec 5 18:04:52 kernel: cd0: Removable CD-ROM SCSI > device > Dec 5 18:04:52 kernel: ada0: ATA-6 device > Dec 5 18:04:52 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch > Dec 5 18:04:55 root: /etc/rc: WARNING: failed to start vboxservice > > After installing Enlightenment, I ran X -configure, and also added some > lines to xorg.conf in accordance with suggestions from the internet. My > current xorg.conf (I added both "AutoAddDevices" lines, and the entire > ServerFlags section): > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "AutoAddDevices" "False" > EndSection > > Section "ServerFlags" > Option "AutoAddDevices" "False" > EndSection > > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/share/fonts/misc/" > FontPath "/usr/local/share/fonts/TTF/" > FontPath "/usr/local/share/fonts/OTF/" > FontPath "/usr/local/share/fonts/Type1/" > FontPath "/usr/local/share/fonts/100dpi/" > FontPath "/usr/local/share/fonts/75dpi/" > EndSection > > Section "Module" > Load "glx" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "vboxmouse" > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "Monitor Vendor" > ModelName "Monitor Model" > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz", > ### : "%" > ### [arg]: arg optional > Identifier "Card0" > Driver "vboxvideo" > BusID "PCI:0:2:0" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Viewport 0 0 > Depth 1 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 4 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 8 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 15 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > EndSubSection > EndSection > > I am pretty sure that this is all that I have altered in the course of > working on this problem, but it is easy to lose track. It seems that I > have to somehow turn 'hotplugging' off, but I have not been able to find > out how to successfully do this, and I have no idea what to do next. I > would very much appreciate any insight on this problem. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Option "AutoAddDevices" "False" PCBSD is working fine without this line > Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not > available or version mismatch how about reinstalling virtualbox-ose-additions which provides vboxguest. Then unload/reload the module back, or restart? > mouse_enable="YES" it's moused. I don't have that line and mouse under X is working fine, though. output of pkg info | grep 'xf86-input-' would be helpful. Hope it helps. From owner-freebsd-questions@freebsd.org Mon Dec 7 03:06:01 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A4227293 for ; Mon, 7 Dec 2015 03:06:01 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF641A02 for ; Mon, 7 Dec 2015 03:06:01 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykdr82 with SMTP id r82so180507064ykd.3 for ; Sun, 06 Dec 2015 19:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3BrsHPu6dnbcvgEpNdaZlOL2Dhsx2hUuwL6zWC9wRaI=; b=gABJYrFNDf/QrBkXPCr1YbzBArpogwBBok+vInv77EWZr8NYyZQXOaUgSGbKoqrCd5 K1rKS42EINZndzqGeadEhAdy6U2DdClmq9OdxirHtaG45AZ0f+iLgO5kBTkNrgouZXpu 8X3HEWRfUd9CeQg960yrRUHFufclKSqEfBZ6aNFDElHXWn6itx2lLO7ESYx1zFeZKKmW bjUQ6NZdWjx6TH8DQsWK0bM/Qdxi4az8GOmbbSipK9l7Z+Qhdf0LGix3r9B6P5en1mkX 8C8/8OS3GUHVnibMk3na1CB+sGqDr+WgSByXHk9QeHDb5WXMFFVsrvxABcRXauio6OP1 TGcQ== X-Received: by 10.13.213.72 with SMTP id x69mr20181698ywd.271.1449457560454; Sun, 06 Dec 2015 19:06:00 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id u190sm17556829ywd.17.2015.12.06.19.05.58 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Dec 2015 19:05:59 -0800 (PST) Subject: Re: Mouse & Keyboard not working in Virtual Box VM Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Aten In-Reply-To: Date: Sun, 6 Dec 2015 21:05:57 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2607C7BB-43F7-429F-B311-924A797CE185@gmail.com> References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> To: erwin.pacua@gmail.com X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 03:06:01 -0000 On Dec 6, 2015, at 8:49 PM, Erwin Pacua wrote: > John Aten wrote: >=20 >> Hello all, >>=20 >> I am completely new to FreeBSD. I recently downloaded the FreeBSD >> 10.2-RELEASE virtual machine image for Virtual Box. I am running = Virtual >> Box 4.3.30 on Mac OSX 10.6.8. (There are newer versions of Virtual = Box, >> which require a newer version of OSX than I am running, thus I = haven't >> been able to upgrade) Everything seemed to go well, until I tried to = get a >> window manager working. I installed the Enlightenment desktop in my >> regular user account, but when it starts the mouse and keyboard do = not >> work. The same happens in whatever basic window manager comes up in = the >> root account. >>=20 >> The X log says that since 'hotplugging' is on, these devices will be >> disabled: >>=20 >> [ 429.942] (**) |-->Input Device "Mouse0" >> [ 429.943] (WW) Hotplugging is on, devices using drivers 'kbd', = 'mouse' >> [ or 'vmmouse' will be disabled. 429.943] (WW) Disabling Mouse0 >> [ 432.737] (II) config/devd: adding input device (null) = (/dev/sysmouse) >> [ 432.737] (II) LoadModule: "mouse" >> [ 432.738] (II) Loading = /usr/local/lib/xorg/modules/input/mouse_drv.so >> [ 432.742] (II) Module mouse: vendor=3D"X.Org Foundation" >> [ 432.742] (II) UnloadModule: "mouse" >> [ 432.742] (II) Unloading mouse >> [ 432.742] (EE) Failed to load module "mouse" (module requirement >> [ mismatch, 0) 432.743] (EE) No input driver matching `mouse' >> [ 432.777] (II) config/devd: adding input device Mouse (/dev/psm0) >> [ 432.777] (II) LoadModule: "mouse" >> [ 432.778] (II) Loading = /usr/local/lib/xorg/modules/input/mouse_drv.so >> [ 432.779] (II) Module mouse: vendor=3D"X.Org Foundation" >> [ 432.779] (II) UnloadModule: "mouse" >> [ 432.779] (II) Unloading mouse >> [ 432.779] (EE) Failed to load module "mouse" (module requirement >> [ mismatch, 0) 432.779] (EE) No input driver matching `mouse' >> [ 429.942] (**) |-->Input Device "Keyboard0" >> [ 429.943] (WW) Disabling Keyboard0 >>=20 >> I have found several articles and forum threads that deal with this, = and >> similar issues, but none of the fixes seem to work, and many involve = other >> issues that I am not having. >>=20 >> I installed the virtualbox guest additions from ports, and from = looking at >> various sources around the internet, I placed the following in = rc.conf: >>=20 >> ifconfig_em0=3D"DHCP" >>=20 >> vboxguest_enable=3D"YES" >> vboxservice_enable=3D"YES" >>=20 >> mouse_enable=3D"YES" >>=20 >> hald_enable=3D"YES" >> dbus_enable=3D"YES" >>=20 >> It appears I do not have hald installed; when I run `service hald = start`, >> I get an error that says hald does not exist. I read somewhere that = hald >> is deprecated, anyway, so I'm not sure that getting it running is the >> answer. Before I read that, though, I did add the suggested >> /usr/local/etc/hal/fdi/policy called 90-vboxguest.fdi file = recommended >> from here: >> = http://technologytales.com/2014/03/02/installing-freebsd-in-a-virtualbox-v= irtual-machine/ >> . >>=20 >> I don't know if maybe I have a problem with the guest additions = install; I >> don't see how this would produce the problem, but I do get the = following >> warnings in /var/log/messages: >>=20 >> Dec 4 22:31:06 kernel: ACPI APIC Table: >> Dec 4 22:31:06 kernel: acpi0: on motherboard >> Dec 4 22:31:06 kernel: cd0: Removable CD-ROM SCSI >> device >> Dec 4 22:31:06 kernel: ada0: ATA-6 device >> Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch >> Dec 4 22:31:07 root: /etc/rc: WARNING: failed to start vboxservice >> Dec 5 06:49:29 kernel: ACPI APIC Table: >> Dec 5 06:49:29 kernel: acpi0: on motherboard >> Dec 5 06:49:29 kernel: cd0: Removable CD-ROM SCSI >> device >> Dec 5 06:49:29 kernel: ada0: ATA-6 device >> Dec 5 06:49:29 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch >> Dec 5 06:49:31 root: /etc/rc: WARNING: failed to start vboxservice >> Dec 5 07:27:14 kernel: ACPI APIC Table: >> Dec 5 07:27:14 kernel: acpi0: on motherboard >> Dec 5 07:27:14 kernel: cd0: Removable CD-ROM SCSI >> device >> Dec 5 07:27:14 kernel: ada0: ATA-6 device >> Dec 5 07:27:14 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch >> Dec 5 07:27:16 root: /etc/rc: WARNING: failed to start vboxservice >> Dec 5 07:33:31 kernel: ACPI APIC Table: >> Dec 5 07:33:31 kernel: acpi0: on motherboard >> Dec 5 07:33:31 kernel: cd0: Removable CD-ROM SCSI >> device >> Dec 5 07:33:31 kernel: ada0: ATA-6 device >> Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch >> Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice >> Dec 5 18:04:52 kernel: ACPI APIC Table: >> Dec 5 18:04:52 kernel: acpi0: on motherboard >> Dec 5 18:04:52 kernel: cd0: Removable CD-ROM SCSI >> device >> Dec 5 18:04:52 kernel: ada0: ATA-6 device >> Dec 5 18:04:52 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch >> Dec 5 18:04:55 root: /etc/rc: WARNING: failed to start vboxservice >>=20 >> After installing Enlightenment, I ran X -configure, and also added = some >> lines to xorg.conf in accordance with suggestions from the internet. = My >> current xorg.conf (I added both "AutoAddDevices" lines, and the = entire >> ServerFlags section): >>=20 >> Section "ServerLayout" >> Identifier "X.org Configured" >> Screen 0 "Screen0" 0 0 >> InputDevice "Mouse0" "CorePointer" >> InputDevice "Keyboard0" "CoreKeyboard" >> Option "AutoAddDevices" "False" >> EndSection >>=20 >> Section "ServerFlags" >> Option "AutoAddDevices" "False" >> EndSection >>=20 >> Section "Files" >> ModulePath "/usr/local/lib/xorg/modules" >> FontPath "/usr/local/share/fonts/misc/" >> FontPath "/usr/local/share/fonts/TTF/" >> FontPath "/usr/local/share/fonts/OTF/" >> FontPath "/usr/local/share/fonts/Type1/" >> FontPath "/usr/local/share/fonts/100dpi/" >> FontPath "/usr/local/share/fonts/75dpi/" >> EndSection >>=20 >> Section "Module" >> Load "glx" >> EndSection >>=20 >> Section "InputDevice" >> Identifier "Keyboard0" >> Driver "kbd" >> EndSection >>=20 >> Section "InputDevice" >> Identifier "Mouse0" >> Driver "vboxmouse" >> EndSection >>=20 >> Section "Monitor" >> Identifier "Monitor0" >> VendorName "Monitor Vendor" >> ModelName "Monitor Model" >> EndSection >>=20 >> Section "Device" >> ### Available Driver options are:- >> ### Values: : integer, : float, : "True"/"False", >> ### : "String", : " Hz/kHz/MHz", >> ### : "%" >> ### [arg]: arg optional >> Identifier "Card0" >> Driver "vboxvideo" >> BusID "PCI:0:2:0" >> EndSection >>=20 >> Section "Screen" >> Identifier "Screen0" >> Device "Card0" >> Monitor "Monitor0" >> SubSection "Display" >> Viewport 0 0 >> Depth 1 >> EndSubSection >> SubSection "Display" >> Viewport 0 0 >> Depth 4 >> EndSubSection >> SubSection "Display" >> Viewport 0 0 >> Depth 8 >> EndSubSection >> SubSection "Display" >> Viewport 0 0 >> Depth 15 >> EndSubSection >> SubSection "Display" >> Viewport 0 0 >> Depth 16 >> EndSubSection >> SubSection "Display" >> Viewport 0 0 >> Depth 24 >> EndSubSection >> EndSection >>=20 >> I am pretty sure that this is all that I have altered in the course = of >> working on this problem, but it is easy to lose track. It seems that = I >> have to somehow turn 'hotplugging' off, but I have not been able to = find >> out how to successfully do this, and I have no idea what to do next. = I >> would very much appreciate any insight on this problem. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20 >> Option "AutoAddDevices" "False" > PCBSD is working fine without this line >=20 >> Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not >> available or version mismatch > how about reinstalling virtualbox-ose-additions which provides = vboxguest.=20 > Then unload/reload the module back, or restart? >=20 >> mouse_enable=3D"YES" > it's moused. I don't have that line and mouse under X is working fine,=20= > though. >=20 > output of > pkg info | grep 'xf86-input-'=20 > would be helpful. >=20 > Hope it helps. I would love to provide the output of pkg info | grep 'xf86-input-' , = but unfortunately I totally destroyed the vm I was working in. When I = first tried to install guest additions from ports, I got an error that = said the source code was unavailable. When I got the source through SVN, = I messed up and got a different version than the one I was running. I = then installed the guest additions, so it appears that this messed = things up somehow, unless I made some other error. I followed Colin = House's suggestion to buildworld & buildkernel, following the = instructions in the handbook, but somehow messed everything up; after = that the VM wouldn't boot at all, so I decided to just start over.=20 Thanks for the help, in any case; I haven't had a chance to get the new = vm up and running, but if I have the same problem I'll be back! John= From owner-freebsd-questions@freebsd.org Mon Dec 7 03:23:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 332DC795A for ; Mon, 7 Dec 2015 03:23:41 +0000 (UTC) (envelope-from emailrob@emailrob.com) Received: from imta-35.everyone.net (imta-35.everyone.net [216.200.145.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.everyone.net", Issuer "DigiCert High Assurance CA-3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F6C811CD for ; Mon, 7 Dec 2015 03:23:40 +0000 (UTC) (envelope-from emailrob@emailrob.com) Received: from pps.filterd (localhost.localdomain [127.0.0.1]) by imta-38.everyone.net (8.14.5/8.14.5) with SMTP id tB703T8j025663; Sun, 6 Dec 2015 16:04:38 -0800 X-Eon-Dm: m0087080.ppops.net Received: by m0087080.mta.everyone.net (EON-AUTHRELAY2 - 4272bd84) id m0087080.564febf7.13ee0eb; Sun, 6 Dec 2015 16:05:05 -0800 X-Eon-Sig: AQPOPGJWZM0xlYzcBwIAAAAC,14478618c01b282d005123a0b3d7333c X-Originating-Ip: 66.114.189.132 Message-ID: <5664CD2C.2090207@emailrob.com> Date: Mon, 07 Dec 2015 00:05:00 +0000 From: spellberg_robert Reply-To: emailrob@emailrob.com User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: release schedule , nines and tens Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.21, 1.0.33, 0.0.0000 definitions=2015-12-07_01:2015-12-05,2015-12-06,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1511060000 definitions=main-1512070000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 03:23:41 -0000 howdy , folks --- i see that the release schedules for 10.3 and 11.0 are available much earlier than usual [ start of beta ] . this is nice . it permits me [ and others ] to plan_ahead , to the extent of the published information . i remembered seeing a notice , a_while back , that the releases would be changed , beginning with the elevens . i went back , earlier today , to re_read this notice , so that i would have its content fresh in my mind , before i posed the following questions [ see -announce , 2015_feb_03_tue , from mr. seaman ] . as i write this , i have it displayed on another screen . now , i can read_between_the_lines as well as anybody [ the support page , with the releases and their eol_dates , is very helpful for guessing ; i have that displayed , also , on that other screen ] . however , i do not like to make assumptions . therefore , given that change is approaching [ and is , now , ten months closer , relative to the notice ] , i come straight_out and ask : a] does anyone know if decisions have been made regarding : 0] is 9.3 to be the last of the nines or is there a plan to release a 9.4 ? 1] is 10.3 to be the last of the tens or is there a plan to release a 10.4 ? b] if so , what are those decisions ? c] if not , is there a known or an estimated date for the making of the above_described decisions ? fwiw , i like to use the highest minor_number , because the dot_zero bugs have been found and fixed . i got a lot of mileage out of 4.11 and 6.4 [ for me , they played like champs ; in fact , the only reason for the retiring of 6.4 was the acquisition of 64_bit hardware ] . i never installed a 5 , because of all of the release_controversy . a 7.4 was replaced quickly [ acroread would not install ] by 8.4 . i am currently running 8.1 , 8.4 , 9.3 and 10.2 [ 10.2 was an emergency install that , probably , will not survive the release of 10.3 ] . the 8.1 should be replaced [ but , it just keeps working ] . the 8.4 is three years newer ; it can wait until the summer . i want to settle on the nines and tens while i watch the elevens and the new policy shake_out . thanks , in advance , for any information . rob From owner-freebsd-questions@freebsd.org Mon Dec 7 05:17:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E0D19B71AE for ; Mon, 7 Dec 2015 05:17:37 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5157A1239 for ; Mon, 7 Dec 2015 05:17:37 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB75HYtw025710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 6 Dec 2015 23:17:35 -0600 Subject: Re: release schedule , nines and tens To: freebsd-questions@freebsd.org References: <5664CD2C.2090207@emailrob.com> From: "William A. Mahaffey III" Message-ID: <5665166E.2090108@hiwaay.net> Date: Sun, 6 Dec 2015 23:23:04 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5664CD2C.2090207@emailrob.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 05:17:37 -0000 On 12/06/15 18:11, spellberg_robert wrote: > howdy , folks --- > > i see that the release schedules for 10.3 and 11.0 > are available much earlier than usual [ start of beta ] . > this is nice . > it permits me [ and others ] to plan_ahead , > to the extent of the published information . > > i remembered seeing a notice , a_while back , that > the releases would be changed , beginning with the elevens . > i went back , earlier today , to re_read this notice , > so that i would have its content fresh in my mind , > before i posed the following questions > [ see -announce , 2015_feb_03_tue , from mr. seaman ] . > as i write this , i have it displayed on another screen . > > now , i can read_between_the_lines as well as anybody > [ the support page , with the releases and their eol_dates , > is very helpful for guessing ; > i have that displayed , also , on that other screen > ] . > however , i do not like to make assumptions . > therefore , given that change is approaching > [ and is , now , ten months closer , relative to the notice ] , > i come straight_out and ask : > > > > a] does anyone know if decisions have been made regarding : > > 0] is 9.3 to be the last of the nines or > is there a plan to release a 9.4 ? > > 1] is 10.3 to be the last of the tens or > is there a plan to release a 10.4 ? > > b] if so , what are those decisions ? > > c] if not , is there a known or an estimated date for > the making of the above_described decisions ? > > > > fwiw , i like to use the highest minor_number , > because the dot_zero bugs have been found and fixed . > i got a lot of mileage out of 4.11 and 6.4 > [ for me , they played like champs ; > in fact , the only reason for the retiring of 6.4 was > the acquisition of 64_bit hardware > ] . > i never installed a 5 , because of all of the release_controversy . > a 7.4 was replaced quickly [ acroread would not install ] by 8.4 . > i am currently running 8.1 , 8.4 , 9.3 and 10.2 > [ 10.2 was an emergency install that , probably , > will not survive the release of 10.3 > ] . > the 8.1 should be replaced [ but , it just keeps working ] . > the 8.4 is three years newer ; it can wait until the summer . > i want to settle on the nines and tens > while i watch the elevens and the new policy shake_out . > > thanks , in advance , for any information . > > rob > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > $0.02 from the cheap seats: I'd love to see a 9.4, maybe 9.5, w/ docker & 64-bit emulation working AOK .... Oc course I might get stuck there ;-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Dec 7 05:27:38 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2B8E9B73CD for ; Mon, 7 Dec 2015 05:27:38 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95F6015F6 for ; Mon, 7 Dec 2015 05:27:38 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by pfnn128 with SMTP id n128so58847496pfn.0 for ; Sun, 06 Dec 2015 21:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6nKxTRLTPTZzE34x9sTMw94eAdLUBzaHbWAwEqZhsrQ=; b=vZ/fng96/SZhAhELbLmjAq+8evmd+qUHc9IzfjjysqmTz2uW69YtbT2B0Q305abXZT kd8v7VMOoWrk2fCpSjEwovuYYuQR+VdzoIUAH6tjmRJa86uU8Sz0gDN9pq4vC+ySeYl4 fGmvlbhiJMIN2kDvmMnMzPKn5kaUBZie5s0lvShvTzQDCEWTCbjgeV4xsF1OyD40PAdd fssmJtZSh4RA7cQ8qwH4YIMq4vkPc5b4rqRv6dqwReNPm4JmWNiEEq9oOtzmcxVZs7vp sD447EUvlAcJ84N2us9vJYA7KDDXuD0qhByDUtM61QGG5Oeiscp1Dd89VtOXC16+zo+t 9WJg== X-Received: by 10.98.70.138 with SMTP id o10mr40953940pfi.17.1449466057333; Sun, 06 Dec 2015 21:27:37 -0800 (PST) Received: from [192.168.111.129] ([120.29.76.26]) by smtp.googlemail.com with ESMTPSA id 13sm31442428pfp.68.2015.12.06.21.27.35 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Dec 2015 21:27:36 -0800 (PST) Message-ID: <566518C9.6010402@gmail.com> Date: Mon, 07 Dec 2015 13:27:37 +0800 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: kpneal@pobox.com CC: spellberg_robert , freebsd-questions@freebsd.org Subject: Re: release schedule , nines and tens References: <5664CD2C.2090207@emailrob.com> <20151207041519.GA62555@neutralgood.org> In-Reply-To: <20151207041519.GA62555@neutralgood.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 05:27:38 -0000 kpneal@pobox.com wrote: > On Mon, Dec 07, 2015 at 12:05:00AM +0000, spellberg_robert wrote: >> a] does anyone know if decisions have been made regarding : >> >> 0] is 9.3 to be the last of the nines or >> is there a plan to release a 9.4 ? >> >> 1] is 10.3 to be the last of the tens or >> is there a plan to release a 10.4 ? >> >> b] if so , what are those decisions ? >> >> c] if not , is there a known or an estimated date for >> the making of the above_described decisions ? > > There's probably a better place to ask than this list. Try a the stable > list. Worst case use the email address on this page: > https://www.freebsd.org/releases/10.3R/schedule.html > >> [ 10.2 was an emergency install that , probably , >> will not survive the release of 10.3 >> ] . > > I'm running 10.2 and I'm waiting to see if it survives a month without > crashing. I've got my 9.3-p14 filesystem ready to fall back on if I need > to. The list traffic I've seen regarding 10.2 does make me a little nervous. > It'll probably be fine, but, just in case... > I have been running 10.2 386 since it was first released with 20+ jails without any crashes. Been rock hard for me using jail.conf. I have no plans to go to 10.3, plan to go to 11.0 because the legacy rc.conf method of jail definition is suppose to be removed all together leaving only the new jail.conf method of jail definition which is far more flexible. From owner-freebsd-questions@freebsd.org Mon Dec 7 12:40:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7BF599A5B8 for ; Mon, 7 Dec 2015 12:40:23 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B37C129D for ; Mon, 7 Dec 2015 12:40:22 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.4.17]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MQwBS-1Zh3Mh3VbK-00UNhb for ; Mon, 07 Dec 2015 13:40:13 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a5v5Q-000J1V-Se for freebsd-questions@freebsd.org; Mon, 07 Dec 2015 13:40:12 +0100 Date: Mon, 7 Dec 2015 13:40:12 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: X won't start Message-ID: <20151207124012.GA73105@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20151203174008.GA98937@becker.bs.l> <20151203222137.GA1111@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:iCjppwUmWkRMq3N96271fDT2DMp/aUWFIFfOAuqKNRuFY1nNxza fqAnCeGXcC3ERuRCslzHQko5zYPM0zfoSmovjZJ16Nhkkaex5KrY2cHb7DpSgPxZPllT5Rr 04oSxPy6dZZ55zacGpCURrhidmf8AgwiQc0hg4BneKoAGOs6swmxOBKCQEJeXHVcv/EmYIL 1yx0LM7LJogVkLSuFSNeg== X-UI-Out-Filterresults: notjunk:1;V01:K0:IQqxmMaKA18=:rEBGDSGJYCWMl3QDLQUD1M ZHNTwnhOGTt41Jn9Xd9mi3Q/LV7cOIJIspz2aqswMwvil9u3jHF8sSY3c+/fVbt+XHfzDJrnD KJf3jrjz3AvJP22Ns5bmohSBd2q3EMQnVly32dgl8ksjTGYWrGTjZzqsfysRRQO7U4O1LzCsE XtsiEXy6sc/GfTDCQxv1PvXqsIpDVQPf8JKWBT/BWSd6lFWkCqYYyMU+bf2OI7RlqlYK0H5Cu v2EyQQqBdklAqCvUqgFy0RsMv7+V090Vzu4hc4eUbaoDXtNtJco+w7tKa6sHxOHG0sD6cAZuN Thj3mlYtqTynfFBmUdlRErnS5AzTNHThWqYrVFuGv7hFfU6OqlAuXKeQYbGJRxPamg/jVmTN0 mSljNiMplmuCiGSZnj8r29u1nsyGXs++/UYMhSj0NUrEj7TeLzwyKpiUjdBDBUk+ISkeHPsjq k3QIhwnI1JeHFyR1IZTUvItWoxwum+wMY4dxFdhNSRAm2ms2JNhFmWxksbICEHUOO0Fg8JV0e DH6kdhvEM5Yd4PkbJqx8cZYFgo/mlEU4gMBRjcll5vbLnzy9/A+WL3E/P+kyDybh/oxav3WiH Cl1dQ2pc5FWRwbyy8tMDNT55gP3Uxr2O+AqZeRtkyo2SjiAEjWOnZvYwf9C/txmMZ4XDDhA8d 9iTzR2PHzVnvAFqUP99DV442DQs72EDwXzR4fDtgZySlM9/R8ZS9FrlDmI9rSZmbtsAI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 12:40:23 -0000 On Thursday, 03. Dec 2015, 16:31:05 -0600, Adam Vande More wrote: > On Thu, Dec 3, 2015 at 4:21 PM, Bertram Scharpf wrote: > > On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote: > > > On Thu, 3 Dec 2015, Bertram Scharpf wrote: > > > > > > > > Section "Device" > > > > Identifier "Card0" > > > > Driver "intel" > > > > BusID "PCI:0:2:0" > > > > EndSection > > > > > > > > # pciconf -lv | grep -A 4 vga > > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00 > > > > vendor = 'Intel Corporation' > > > > device = 'Broadwell-U Integrated Graphics' > > > > class = display > > > > subclass = VGA > > > > > > > > Looks good, doesn't it? Besides that, Linux on the same > > > > machine uses the "intel" driver successfully. > > > > > > Broadwell is not yet supported by the intel driver version in FreeBSD. > > > At present, vesa must be used. > > > > What does "not yet"/"at present" mean? Is there currently > > work on it? I would not mind to contribute, not least > > because I now own an excellent testing environment. > > I believe broadwell is covered in the 3.8 update. > https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux%203.8 Doesn't work here. I'll try to continue the discussion on freebsd-x11. Thank you so far. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Mon Dec 7 13:04:39 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A763199AAAE for ; Mon, 7 Dec 2015 13:04:39 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2821610E3 for ; Mon, 7 Dec 2015 13:04:37 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id tB7D4RNk067567; Tue, 8 Dec 2015 00:04:27 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 8 Dec 2015 00:04:26 +1100 (EST) From: Ian Smith To: Lu?s Fernando Schultz Xavier da Silveira cc: freebsd-questions@freebsd.org Subject: Re: OSS in jail In-Reply-To: Message-ID: <20151207234938.F52001@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 13:04:39 -0000 In freebsd-questions Digest, Vol 601, Issue 1, Message: 4 On Sun, 6 Dec 2015 17:44:01 -0200 Lu?s Fernando Schultz Xavier da Silveira wrote: > I would like one of my jails to have the ability to play back sound, > but not to record it. As I understand, sound is played back by writing > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > a solution since the jail superuser can override permissions on these > devices and even read from them when they lack read permission. > > Is there a way to give a device to a jail in read-only mode? > If not, is it possible to create a virtual OSS stack and give that to > the jail? > How would you solve this problem? > > Also, is it possible to give the jail a mixer device that can only read > mixer settings but not alter them? > > Thanks, > Lu?s Sorry about charset mapping .. I suggest asking this (interesting) question in either or both of freebsd-jail@freebsd.org and freebsd-multimedia@freebsd.org . I'm vaguely wondering if you could use port audio/jack for this, but I've only used that on Linux, and that with ALSA .. but I expect you should find some help from the habitual denizens of those lists. cheers, Ian From owner-freebsd-questions@freebsd.org Mon Dec 7 13:37:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9297A9A0247 for ; Mon, 7 Dec 2015 13:37:34 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 35795144C for ; Mon, 7 Dec 2015 13:37:33 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id e032aea3; Mon, 7 Dec 2015 08:37:25 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id bcb98adb TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 7 Dec 2015 08:37:24 -0500 (EST) Message-ID: <1449495444.7860.30.camel@michaeleichorn.com> Subject: Re: release schedule , nines and tens From: "Michael B. Eichorn" To: "William A. Mahaffey III" , freebsd-questions@freebsd.org Date: Mon, 07 Dec 2015 08:37:24 -0500 In-Reply-To: <5665166E.2090108@hiwaay.net> References: <5664CD2C.2090207@emailrob.com> <5665166E.2090108@hiwaay.net> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-yvUQaxDh6xBQuoQD8Djy" X-Mailer: Evolution 3.18.1 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 13:37:34 -0000 --=-yvUQaxDh6xBQuoQD8Djy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2015-12-06 at 23:23 +0000, William A. Mahaffey III wrote: > On 12/06/15 18:11, spellberg_robert wrote: > > howdy , folks --- > >=20 > > i see that the release schedules for 10.3 and 11.0 > > =C2=A0 are available much earlier than usual [ start of beta ] . > > this is nice . > > it permits me [ and others ] to plan_ahead , > > =C2=A0 to the extent of the published information . > >=20 > > i remembered seeing a notice , a_while back , that > > =C2=A0 the releases would be changed , beginning with the elevens . > > i went back , earlier today , to re_read this notice , > > =C2=A0 so that i would have its content fresh in my mind , > > =C2=A0 before i posed the following questions > > =C2=A0 [ see -announce , 2015_feb_03_tue , from mr. seaman ] . > > as i write this , i have it displayed on another screen . > >=20 > > now , i can read_between_the_lines as well as anybody > > =C2=A0 [ the support page , with the releases and their eol_dates , > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0is very helpful for guessing ; > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0i have that displayed , also , on t= hat other screen > > =C2=A0 ] . > > however , i do not like to make assumptions . > > therefore , given that change is approaching > > =C2=A0 [ and is , now , ten months closer , relative to the notice ] , > > =C2=A0 i come straight_out and ask : > >=20 > >=20 > >=20 > > a]=C2=A0=C2=A0does anyone know if decisions have been made regarding : > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00]=C2=A0=C2=A0is=C2=A0=C2=A09.3 to = be the last of the nines or > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0is there a plan to release a=C2=A0=C2=A09.4 ? > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01]=C2=A0=C2=A0is 10.3 to be the las= t of the=C2=A0=C2=A0tens or > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0is there a plan to release a 10.4 ? > >=20 > > b]=C2=A0=C2=A0if=C2=A0=C2=A0so , what are those decisions ? > >=20 > > c]=C2=A0=C2=A0if not , is there a known or an estimated date for > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0the making of the above_described d= ecisions ? > >=20 > >=20 > >=20 > > fwiw , i like to use the highest minor_number , > > =C2=A0 because the dot_zero bugs have been found and fixed . > > i got a lot of mileage out of 4.11 and 6.4 > > =C2=A0 [ for me , they played like champs ; > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0in fact , the only reason for the r= etiring of 6.4 was > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0the acquisition of 64_bit hardware > > =C2=A0 ] . > > i never installed a 5 , because of all of the release_controversy . > > a 7.4 was replaced quickly [ acroread would not install ] by 8.4 . > > i am currently running 8.1 , 8.4 , 9.3 and 10.2 > > =C2=A0 [ 10.2 was an emergency install that , probably , > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0will not survive the release of 10.= 3 > > =C2=A0 ] . > > the 8.1 should be replaced [ but , it just keeps working ] . > > the 8.4 is three years newer ; it can wait until the summer . > > i want to settle on the nines and tens > > =C2=A0 while i watch the elevens and the new policy shake_out . > >=20 > > thanks , in advance , for any information . > >=20 > > rob > >=C2=A0 >=20 > $0.02 from the cheap seats: I'd love to see a 9.4, maybe 9.5, w/ > docker=20 > & 64-bit emulation working AOK .... Oc course I might get stuck there > ;-) .... >=20 >=20 At the moment:=C2=A0https://www.freebsd.org/releng/ Shows only plans for 10.3 and 11.0. And if we were going to see a 9.4 I would expect the planning to already be done. And:=C2=A0https://www.freebsd.org/security/ States that the Expected EOL for stable/9, releng/9.3, and releng/10.2 as 2016-12-31. While stable/10 does not yet have an Expected EOL. (10.3 and 11.0 are not yet listed). My impression is that in principle they would have liked to do a 9.4 but are unwilling to extend the life of the 9 branch. That is the *point* of the new/proposed 11 branch support lifetime, they want to be able to to late-life and wrap-up/final releases without extending the branch lifetime. --=-yvUQaxDh6xBQuoQD8Djy Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcD AgYIKwYBBQUHAwQwHQYDVR0OBBYEFJZqarc6CcrOs6eAwOgrMznk5ZWWMB8GA1UdIwQYMBaAFFNy 7ZKc4NrLAVx8fpY1TvLUuFGCMCEGA1UdEQQaMBiBFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggFM BgNVHSAEggFDMIIBPzCCATsGCysGAQQBgbU3AQIDMIIBKjAuBggrBgEFBQcCARYiaHR0cDovL3d3 dy5zdGFydHNzbC5jb20vcG9saWN5LnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBh Y2NvcmRpbmcgdG8gdGhlIENsYXNzIDEgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0 YXJ0Q29tIENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2Ug aW4gY29tcGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wNgYDVR0fBC8w LTAroCmgJ4YlaHR0cDovL2NybC5zdGFydHNzbC5jb20vY3J0dTEtY3JsLmNybDCBjgYIKwYBBQUH AQEEgYEwfzA5BggrBgEFBQcwAYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczEv Y2xpZW50L2NhMEIGCCsGAQUFBzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIu Y2xhc3MxLmNsaWVudC5jYS5jcnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20v MA0GCSqGSIb3DQEBCwUAA4IBAQB4K8iQw+0FRn3xEnB3vIIu2Vi4C3ZGnOMWP90FFXLrZ6uAu9AK xVCjXUVP6nAEsOopTMu769vVecdBvg0KO2i5aTDTdTLX4g9d020g4OLWW1NiynAkX8oKqJLqZ53q vHK4zP4KWPS3bSqDWVCosTMfI+H6tkg+6G3gS0HHoHTLKZhIT3z6PQZAfeofM7ed6NOdAcj0J2lP ODHzzz7Y9x4wMwYJdidorzUDVYkNIkim8ak7hK9F60NadA5w/BirFATSlzRyV0h1tl6oNisEaQcq tGvy6UoCTDhzaJ7pQValfDXJ/A47P0hNj/CX/PmkY1wQHsEJz2pbh5lqteP/fO0rMIIGMDCCBRig AwIBAgIDDl3GMA0GCSqGSIb3DQEBCwUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRD b20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYG A1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcN MTUwNjEzMjAyNDQ2WhcNMTYwNjE0MDAzNTUwWjBIMR8wHQYDVQQDDBZpa2VAbWljaGFlbGVpY2hv cm4uY29tMSUwIwYJKoZIhvcNAQkBFhZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyVXVgCz8+YdrOc1EBiCWJelafBT7WTZKPKv97HKwrMVyS6az Gg3aZ6k7JpG5hHyr7Kj0BOh1TqRsVUU5f7Qpvlb6LlvXmPSEzIoG9Tpx3VNdwijtI3a4HlNZx7Ld KscLCKH0Q+5wuHWpE+nsZ61Z3ZQZi63/2yz4dqjjPGCuaiiupt93xOwMmK8ImAFhU93xESOy2pI2 mm6yKEv2NawnS+RWgkzDpUW2cnbnPB5K4I09iVvouH1XCshi+YBMQSVn0t6tbhhWgYnuqWLZfJWT 7bzdCUn4mz9NN0QaC4M6hySlvdUS9KjXg4ymYv+Z65VN/fJfVKFbyyztysaDwVygsQIDAQABo4IC 3DCCAtgwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMB0GA1UdDgQWBBSWamq3OgnKzrOngMDoKzM55OWVljAfBgNVHSMEGDAWgBRTcu2SnODaywFc fH6WNU7y1LhRgjAhBgNVHREEGjAYgRZpa2VAbWljaGFlbGVpY2hvcm4uY29tMIIBTAYDVR0gBIIB QzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHqMCcWIFN0YXJ0Q29tIENlcnRpZmljYXRp b24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRpZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5n IHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24gcmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBD QSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkgZm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBs aWFuY2Ugb2YgdGhlIHJlbHlpbmcgcGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeG JWh0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8w OQYIKwYBBQUHMAGGLWh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9j YTBCBggrBgEFBQcwAoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5j bGllbnQuY2EuY3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG 9w0BAQsFAAOCAQEAeCvIkMPtBUZ98RJwd7yCLtlYuAt2RpzjFj/dBRVy62ergLvQCsVQo11FT+pw BLDqKUzLu+vb1XnHQb4NCjtouWkw03Uy1+IPXdNtIODi1ltTYspwJF/KCqiS6med6rxyuMz+Clj0 t20qg1lQqLEzHyPh+rZIPuht4EtBx6B0yymYSE98+j0GQH3qHzO3nejTnQHI9CdpTzgx888+2Pce MDMGCXYnaK81A1WJDSJIpvGpO4SvRetDWnQOcPwYqxQE0pc0cldIdbZeqDYrBGkHKrRr8ulKAkw4 c2ie6UFWpXw1yfwOOz9ITY/wl/z5pGNcEB7BCc9qW4eZarXj/3ztKzCCBjQwggQcoAMCAQICAR4w DQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzAp BgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1 NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1 cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAx IFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAMcJg8zOLdgasSmkLhOrlr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7 zM9/UnC6TS2y9UKTpT1v7RSMzR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8 VpH/Clt+4iq7nirMcNh6qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+ jb9x4Pa5gNf1TwSDkOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQO Jebr/f/h5t95m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB /wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAf BgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3dy5z dGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cuc3RhcnRz c2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vc2ZzY2EuY3Js MIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3Rh cnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29t L2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqDCH14qywGXLhjjF6uHLkjd02h cdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy6QMVQjbbMXltUfO4n4bGGdKo3awP Wp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPIzKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8C h507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKfKSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893 gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HORz9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0 PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBm unwxD5nvtTW4vtN6VY7mUCmxsCieuoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2L L9C9U0ptvjcDjefLTvqSFc7tw1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwF i2/14+xeSUDG2bwnsYJQG2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhE puP9wirslFe6fQ1t5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMYIDfzCCA3sCAQEwgZQwgYwxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkg SW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCWCGSAFlAwQCAQUAoIIBuzAYBgkqhkiG9w0B CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNTEyMDcxMzM3MjRaMC8GCSqGSIb3DQEJ BDEiBCCWWL3VzBkZ8qy5BaxLLlmAXjU+KabI34+KoyY7zXBSgDCBpQYJKwYBBAGCNxAEMYGXMIGU MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJl IERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQ cmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAw5dxjCBpwYLKoZIhvcNAQkQAgsxgZeggZQw gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUg RGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFBy aW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCSqGSIb3DQEBAQUABIIBAHAvjiWy 3QY/fVyqdK2lGmgrWU43bh+SXt5q17xetgyFerVgWCzASp2WfrLBg5dC2iiqWa7YyFSGHIHt/BFF eZnul4lw/BTRvMP1MKLPIVx1F2FBW9ayZbMhNS+L5AQXjdEp5pSyP8tDZ9EiRrpIwJ7KTnud+ZBp MllCRFz+dpbPUkO+YaEiJE9cVXb51XKlcwAW48MWPQocdvs+fQCXaY5LOETmsWTtMMWLS5z3Cj4V r/B6Y/8Tqat275gLMehVlNc0c7zE4yhylPsVbDoosg1XIUBHITx7OUHw6BpzPiRsGNEnsBRKB0Xm 4Pxj4GnjH3Bias1YSI1XPN7RPU79ogMAAAAAAAA= --=-yvUQaxDh6xBQuoQD8Djy-- From owner-freebsd-questions@freebsd.org Mon Dec 7 14:18:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B72E9B7176 for ; Mon, 7 Dec 2015 14:18:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D0FD1B02 for ; Mon, 7 Dec 2015 14:18:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tB7EIXMa054731 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 7 Dec 2015 07:18:33 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tB7EIX1F054728; Mon, 7 Dec 2015 07:18:33 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 7 Dec 2015 07:18:33 -0700 (MST) From: Warren Block To: John Aten cc: erwin.pacua@gmail.com, freebsd-questions@freebsd.org Subject: Re: Mouse & Keyboard not working in Virtual Box VM In-Reply-To: <2607C7BB-43F7-429F-B311-924A797CE185@gmail.com> Message-ID: References: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> <2607C7BB-43F7-429F-B311-924A797CE185@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 07 Dec 2015 07:18:33 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:18:41 -0000 On Sun, 6 Dec 2015, John Aten wrote: > I would love to provide the output of pkg info | grep 'xf86-input-' , > but unfortunately I totally destroyed the vm I was working in. When I > first tried to install guest additions from ports, I got an error that > said the source code was unavailable. When I got the source through > SVN, I messed up and got a different version than the one I was > running. I then installed the guest additions, so it appears that this > messed things up somehow, unless I made some other error. I followed > Colin House's suggestion to buildworld & buildkernel, following the > instructions in the handbook, but somehow messed everything up; after > that the VM wouldn't boot at all, so I decided to just start over. Probably an error with mergemaster. That could be repaired, given time. As far as VirtualBox, yes, the guest additions kernel module needs to be built against the running code. Once that is done, the Handbook section on VirtualBox shows X configuration: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-guest-virtualbox-guest-additions.html The Handbook general Xorg configuration section has been rewritten recently: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html From owner-freebsd-questions@freebsd.org Mon Dec 7 14:20:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B9119B738E for ; Mon, 7 Dec 2015 14:20:06 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 327581C3D for ; Mon, 7 Dec 2015 14:20:05 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: by lbblt2 with SMTP id lt2so64808502lbb.3 for ; Mon, 07 Dec 2015 06:19:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=aB3ziTTMvHZZpP5EJFpZcg57V4g6769fmxOrAqQ0mBA=; b=G3AUkeFfSFeUkMvWrlvX+/cIWoWr9HD7cPL4G9BFX+iiPpTQbtSwlG3l0k/MqT7HHN ZhSm+dlxW/ELKb8GjEFKUnaP6nhk7cDbsVVybcm12bFtF8vT9rK7gf3yI4dSHPvEURKU wHwJlwCO9OgJyx1/Y2seoatbWqkRhMmf3I0D1lG2kjk/UDiN0D7HLCD3AlJMxXwVo+Oy p25198qKYJjEGbiazTw/0xiv6fUPxMjc+MdMoD1s75FY0UnAiJQ3/T1IwqM49aCy6B3W OP9W7JPE/FknhEbqwNbJsRadYjTArKkxTlEkdt6nLhMYQ83Y0ok5LS5fLJQivZQYIufT 7RZw== X-Gm-Message-State: ALoCoQlhDpcqpIpL1r3Ld1obT1pC9dng6OxFTr6ZCSIYiY1uXSgrTVgmdP7MKHTxzKOhxpKPWnoD MIME-Version: 1.0 X-Received: by 10.112.200.229 with SMTP id jv5mr14431173lbc.23.1449497617208; Mon, 07 Dec 2015 06:13:37 -0800 (PST) Received: by 10.112.60.162 with HTTP; Mon, 7 Dec 2015 06:13:37 -0800 (PST) X-Originating-IP: [104.238.169.152] Date: Mon, 7 Dec 2015 14:13:37 +0000 Message-ID: Subject: Migrating to FreeBSD from Debian From: Paul Stuffins To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:20:06 -0000 Hi Everybody, Over the last couple of years I have tried many times to dump Debian and move to FreeBSD, but every time I have succumbed to Debian's charms and not stuck with FreeBSD. One of my main frustrations is upgrading installed ports, on Debian I just need to run "sudo apt-get update && sudo apt-get upgrade", but I have never been able to work out how to upgrade installed ports. As 2016 is fast approaching I want to finally move to FreeBSD and stay with FreeBSD, so my question is, what is the best or most efficient way of upgrading all ports on a FreeBSD machine? Many Thanks Paul From owner-freebsd-questions@freebsd.org Mon Dec 7 14:21:58 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0B389B7612 for ; Mon, 7 Dec 2015 14:21:58 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FE9D1F2C for ; Mon, 7 Dec 2015 14:21:58 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by wmvv187 with SMTP id v187so168777601wmv.1 for ; Mon, 07 Dec 2015 06:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=8LKFAgMi+4z8z6uXGBbdZ/Qq8d34CpIszmITXGQpCAY=; b=Zc5S/x+RCHgF6BKRvOSrKHBjCS3lM0Yq44MhITfaaSSCWujS+EWift7DCzqUiLVvK3 hytd71+TupckZNMJ/Np6Sn14IUKyvrvaDzIkAbSI+qfyIHZu5bHbasYifxub2xnO9tc5 Y093DfzjC8L48DtSbpnS6HjFegRR2nnmovB/CbblJwhP2bGTMPq3KrgBD6XVPrYRSSiR VjJ5l8hj80yft6j3Mh/jkTpRi5iguAFXb0d+j+m9SRe2Yrul+L3SG+9YsZ0BzYS3jY2Y KPWBWYupRhCO4MolPPKPXvOwqNS70+VonGa4WiuMKW2roFNwy14jxPNHdBQE9//rtwvW uHGQ== X-Received: by 10.194.205.103 with SMTP id lf7mr32682930wjc.147.1449498116785; Mon, 07 Dec 2015 06:21:56 -0800 (PST) Received: from localhost (li195-236.members.linode.com. [178.79.139.236]) by smtp.gmail.com with ESMTPSA id da10sm25392743wjb.22.2015.12.07.06.21.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 06:21:55 -0800 (PST) From: Malcolm Matalka To: Paul Stuffins Cc: freebsd-questions@freebsd.org Subject: Re: Migrating to FreeBSD from Debian References: Date: Mon, 07 Dec 2015 14:21:54 +0000 In-Reply-To: (Paul Stuffins's message of "Mon, 7 Dec 2015 14:13:37 +0000") Message-ID: <86poyiuynx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:21:58 -0000 Paul Stuffins writes: > Hi Everybody, > > Over the last couple of years I have tried many times to dump Debian and > move to FreeBSD, but every time I have succumbed to Debian's charms and not > stuck with FreeBSD. > > One of my main frustrations is upgrading installed ports, on Debian I just > need to run "sudo apt-get update && sudo apt-get upgrade", but I have never > been able to work out how to upgrade installed ports. > > As 2016 is fast approaching I want to finally move to FreeBSD and stay with > FreeBSD, so my question is, what is the best or most efficient way of > upgrading all ports on a FreeBSD machine? Use 'pkg' instead. pkg update and pkg upgrade > > Many Thanks > Paul > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Mon Dec 7 14:23:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EF8D9B7831 for ; Mon, 7 Dec 2015 14:23:41 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0EC6A107B for ; Mon, 7 Dec 2015 14:23:41 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmuu63 with SMTP id u63so142520264wmu.0 for ; Mon, 07 Dec 2015 06:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CDkOxWfyb9MbX0i+ZzpRmLvKgA9+P3S6xTOqAJFfFUA=; b=EHBV6pxTJPshQMIxFFxN3KxDvDR77eFf5mutiVWopuj0+TpMVkuH7iDelIIHquaADD jvdORDEBKygNmRD3oEx3lPBrAVswo6YgdoSjWPr9sg3QhweLJvqDmu+NddquoxN/LyyW BWtiQFGeJPrX44TpblZZ/pNYs02n9nIjCeXCdFK2+LjGWljLJNCcYISjYUMVESGYqDBx alQiaNXK3it3GTDM57RlPcaQ0hTm+Ar2DdImwV6jW0VP2VEoSo9D4161TTJnddaIW/yR n1THnv/+RRBlo+PsfRrNK8scvAeuQh95cPQ1Dmv66T/5LAQINiSbu9JPneG7rCAtdMn2 /vfg== X-Received: by 10.194.236.228 with SMTP id ux4mr34143482wjc.56.1449498219429; Mon, 07 Dec 2015 06:23:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Mon, 7 Dec 2015 06:23:20 -0800 (PST) In-Reply-To: <86poyiuynx.fsf@gmail.com> References: <86poyiuynx.fsf@gmail.com> From: Anton Sayetsky Date: Mon, 7 Dec 2015 16:23:20 +0200 Message-ID: Subject: Re: Migrating to FreeBSD from Debian To: Malcolm Matalka Cc: Paul Stuffins , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:23:41 -0000 2015-12-07 16:21 GMT+02:00 Malcolm Matalka : > Paul Stuffins writes: > >> Hi Everybody, >> >> Over the last couple of years I have tried many times to dump Debian and >> move to FreeBSD, but every time I have succumbed to Debian's charms and not >> stuck with FreeBSD. >> >> One of my main frustrations is upgrading installed ports, on Debian I just >> need to run "sudo apt-get update && sudo apt-get upgrade", but I have never >> been able to work out how to upgrade installed ports. >> >> As 2016 is fast approaching I want to finally move to FreeBSD and stay with >> FreeBSD, so my question is, what is the best or most efficient way of >> upgrading all ports on a FreeBSD machine? > > Use 'pkg' instead. pkg update and pkg upgrade pkg will update _packages_, not ports. From owner-freebsd-questions@freebsd.org Mon Dec 7 14:24:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED78B9B796C for ; Mon, 7 Dec 2015 14:24:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D30F114C for ; Mon, 7 Dec 2015 14:24:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so142521078wmw.1 for ; Mon, 07 Dec 2015 06:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vmf+TU9WBPB52COEiI6Gj8bspQwv/K0Yx+pZpHUfvdk=; b=l5N82qmJRjSlkGJmS8X51i+bMd8TuUlUdTVgUKD3QhVBzBscgqMSXg9kRFnymPehVk NJ+GUPYm4iyu1srSJNokW6xhu8w3XMlTJmHesX26YXQBeZWJp8xBPsTCUphEznFisxXQ 82P4S/Z34HGnYtWQi8KvEBMNkJrAbFj9cn+ssdiSOMrue8G6n/sEvyTalJLNkHTZd8+k fooO5wq0cDGOK8DFf7X57h9QK5Iis+dWtvF5N+Ft459jqRSl2CwhnRbsBXOqoRamGpJ/ 2OUx9gMUk3MFbIv/ZKWCbTFIICRoqNNTxkw/6R3cqVBxQdypgusbJVde85CK6e7tPFEc vFvA== MIME-Version: 1.0 X-Received: by 10.194.9.169 with SMTP id a9mr33088609wjb.60.1449498284032; Mon, 07 Dec 2015 06:24:44 -0800 (PST) Received: by 10.194.192.33 with HTTP; Mon, 7 Dec 2015 06:24:43 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Dec 2015 08:24:43 -0600 Message-ID: Subject: Re: Migrating to FreeBSD from Debian From: Adam Vande More To: Paul Stuffins Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:24:46 -0000 On Mon, Dec 7, 2015 at 8:13 AM, Paul Stuffins wrote: > One of my main frustrations is upgrading installed ports, on Debian I just > need to run "sudo apt-get update && sudo apt-get upgrade", but I have never > been able to work out how to upgrade installed ports. https://www.freebsd.org/doc/handbook/ports.html -- Adam From owner-freebsd-questions@freebsd.org Mon Dec 7 14:27:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9A769B7BCA for ; Mon, 7 Dec 2015 14:27:36 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from riddler.lateapex.net (unknown [IPv6:2001:470:e2f8:6969::217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "riddler.lateapex.net", Issuer "riddler.lateapex.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 880F612AE for ; Mon, 7 Dec 2015 14:27:36 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from [127.0.0.1] (riddler.lateapex.net [IPv6:2001:470:e2f8:6969:0:0:0:217]) (authenticated bits=0) by riddler.lateapex.net (8.15.2/8.15.2) with ESMTPA id tB7ERX1n018608 for ; Mon, 7 Dec 2015 09:27:34 -0500 (EST) (envelope-from jvp@lateapex.net) X-Authentication-Warning: riddler.lateapex.net: Host riddler.lateapex.net [IPv6:2001:470:e2f8:6969:0:0:0:217] claimed to be [127.0.0.1] Subject: Re: Migrating to FreeBSD from Debian References: <86poyiuynx.fsf@gmail.com> To: freebsd-questions@freebsd.org From: Jason Van Patten Message-ID: <56659755.50104@lateapex.net> Date: Mon, 7 Dec 2015 09:27:33 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter DataSet=MTA-Peer; receiver=riddler.lateapex.net; sender-ip=2001:470:e2f8:6969::217; sender-helo=[127.0.0.1]; X-Milter: Spamilter DataSet=SessionId; receiver=riddler.lateapex.net; sessionid='5cfc5957af484e7ba68c794b3cfb0ce5'; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 14:27:36 -0000 On 12/7/15 9:23 AM, Anton Sayetsky wrote: > 2015-12-07 16:21 GMT+02:00 Malcolm Matalka : >> >> Use 'pkg' instead. pkg update and pkg upgrade > pkg will update _packages_, not ports. That's why Malcolm's first statement was: Use 'pkg' *instead*. Which is really the right thing to do in this case. For the vast majority of software used on FreeBSD: the ports tree isn't as necessary. Pkg does the deed. -- Jason Van Patten From owner-freebsd-questions@freebsd.org Mon Dec 7 15:05:05 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87F419A007F for ; Mon, 7 Dec 2015 15:05:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 130561D8E for ; Mon, 7 Dec 2015 15:05:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tB7F4wCI063212 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 7 Dec 2015 15:04:58 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB7F4wCI063212 Authentication-Results: smtp.infracaninophile.co.uk/tB7F4wCI063212; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be host-4-75.office.adestra.com Subject: Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56659FC8.8020904@FreeBSD.org> Date: Mon, 7 Dec 2015 15:03:36 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MbrKR09g29ug9AE9ONUEAt8sTAhfKRntg" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:05:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MbrKR09g29ug9AE9ONUEAt8sTAhfKRntg Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/12/07 14:23, Anton Sayetsky wrote: > 2015-12-07 16:21 GMT+02:00 Malcolm Matalka : >> Paul Stuffins writes: >> >>> Hi Everybody, >>> >>> Over the last couple of years I have tried many times to dump Debian = and >>> move to FreeBSD, but every time I have succumbed to Debian's charms a= nd not >>> stuck with FreeBSD. >>> >>> One of my main frustrations is upgrading installed ports, on Debian I= just >>> need to run "sudo apt-get update && sudo apt-get upgrade", but I have= never >>> been able to work out how to upgrade installed ports. >>> >>> As 2016 is fast approaching I want to finally move to FreeBSD and sta= y with >>> FreeBSD, so my question is, what is the best or most efficient way of= >>> upgrading all ports on a FreeBSD machine? >> Use 'pkg' instead. pkg update and pkg upgrade > pkg will update _packages_, not ports. =2E.. and a package is what you get by compiling a port. Yes, there is a= difference, but the two things are often conflated and it isn't worth muddying the waters by insisting on exactingly precise terminology from people new to FreeBSD. It is clear enough what they mean -- their aim is to get some software installed or upgraded. To the OP: try using pkg(8). You can use the default FreeBSD repositories pretty simply -- the config comes pre-canned with the system. All you need to do is bootstrap pkg(8), like so: # pkg bootstrap (Yes, you're using a command called 'pkg' to install another command called 'pkg'. Confusing, but if you read pkg(7) it explains the rational= e.) Now you can use pkg(8) to install software: # pkg install nginx which does what you expect -- downloads packages for nginx and everything nginx needs to be able to run and installs them. Unlike Debian, FreeBSD doesn't provide a pre-canned configuration or automatically start up the nginx service: you're expected to write your own nginx.conf and to update /etc/rc.conf to make nginx automatically start on reboots. You can upgrade anything that's out of date by: # pkg upgrade and you can remove a package you no-longer want by: # pkg delete nginx followed by: # pkg autoremove which will delete anything that was installed solely to allow nginx to work, and not also required by any other software you've installed since.= There's a lot more to pkg(8) than that short introduction, but really the install, upgrade and delete actions are enough to get you going. The biggest gotcha you will find with pkg(8) is when you need some software compiled with something other than the default set of port options. In which case, you'll probably want to start compiling that port yourself. But that's a question for another day. Cheers, Matthew --MbrKR09g29ug9AE9ONUEAt8sTAhfKRntg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWZZ/OXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnyc4P/i/8aHHQGOblsGTG+CoiyOBa Oe+LXDOG453D5ZYKmSUGJmnx5pof2znX/HR+0IyNLc5HS3R4ctR2CXi4I7BKVGj7 ZIYRqFt8U/Z0ExITyVwjMJwvXUr2MoLjme3NZudz2MJGAfxBEhK1u9hnHxzvgPrg kyIQOg3Rn1+O6nR3RGu8kAZVzkNm+J9eyDybIxCrcnqyOO+i3tmtGoY8C0owczH+ P71Cby2v4W1Jhz8CkaN10/7Xh32s9ark6Lw16YEs/VkhulJAWPnq9OJx/Ookl7pQ Jlj4owptX3vIS0c/8eVmMplNDGSu7Tn36c2QfN7cb5vN7eN8GwEyifRpAcF7MEBz axqicG35wnlkVIno+QgI31MEm94DsWSbtYAObUILeNwLlLGemXgna6wGONygIngx QyCk16zTE9fwLMSrq5eR12zxuPcTEZP1moFc8AA0qhNfOV9/LOgSIWl1gRWFF1Jg 7EqPg7St3A4QzIOHsTV9Vnh8LRXtQvtnScNkGHTR8tWoEZW+1pzaa1zJD7aSnaNz 9vznR2dEnIOsQ61zgBoUiBJDZzHlSgVZBGdrZUYl0i9r/GB8RyJ8iOenk1MgcsYq N7kKCYYuIq9Vh4mt51hVWiR+KVZ5s5cvdB2TtNmbyLqLdapdZZ4FDumRCFlp1Iyx 5fOc6VCuSkUFLkXAyPH9 =U8gc -----END PGP SIGNATURE----- --MbrKR09g29ug9AE9ONUEAt8sTAhfKRntg-- From owner-freebsd-questions@freebsd.org Mon Dec 7 15:09:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CF4A9A0499 for ; Mon, 7 Dec 2015 15:09:54 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FC3D1F27 for ; Mon, 7 Dec 2015 15:09:53 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB7F9pmn005840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 7 Dec 2015 09:09:52 -0600 Subject: Re: Migrating to FreeBSD from Debian References: <86poyiuynx.fsf@gmail.com> Cc: freebsd-questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <5665A13F.4070105@hiwaay.net> Date: Mon, 7 Dec 2015 09:15:21 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <86poyiuynx.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:09:54 -0000 On 12/07/15 08:28, Malcolm Matalka wrote: > Paul Stuffins writes: > >> Hi Everybody, >> >> Over the last couple of years I have tried many times to dump Debian and >> move to FreeBSD, but every time I have succumbed to Debian's charms and not >> stuck with FreeBSD. >> >> One of my main frustrations is upgrading installed ports, on Debian I just >> need to run "sudo apt-get update && sudo apt-get upgrade", but I have never >> been able to work out how to upgrade installed ports. >> >> As 2016 is fast approaching I want to finally move to FreeBSD and stay with >> FreeBSD, so my question is, what is the best or most efficient way of >> upgrading all ports on a FreeBSD machine? > Use 'pkg' instead. pkg update and pkg upgrade > >> Many Thanks >> Paul >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I hereby 2nd the motion on pkg, love it, use it almost exclusively (need libflash port, *nothing* else due to licensing issues). YMMV & all that rot, but give it a try. Usually *much* faster than recompiling everything from scratch, probably will work AOK unless you need/want some machine-specific optimizations. [root@kabini1, /etc, 9:15:16am] 716 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 9:15:16am] 716 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Dec 7 15:10:22 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB16C9A055E for ; Mon, 7 Dec 2015 15:10:22 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 794061FE8; Mon, 7 Dec 2015 15:10:22 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmec201 with SMTP id c201so154856816wme.1; Mon, 07 Dec 2015 07:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wtrW7GdV8LAKnQBG+w4z1+pcpGeud2Magtygbg6hNuk=; b=LOS5vMzkoAd7uYo0OIC5KUFEC0gDBpzS9bLMcB0rv6x3/vLOmd5CpdBn+jmlZHsvYK a0CpW6u8KiGItPn5bGsLSx/WFNBNm1Tv+PMjytxSrsnfRLmY9o6d5F8hgKZHSrWDg1Kq 7mKwSEsNiXk4Pw+g1BmUrvpdsbmDfFYDhsNiMmKu0pEvoew0bI49cKnrcS6AM1bsnW+U q9SBIL4+1dRgBcXdeek4hZ7nCBKTOTRmTnjkCpbCTNs0TVvwMrJ6xbSPQ8TICLPBsZyI gSp1H5GWZLQEA3XSWZkqJL/1iTDkKcK4Pll3ZFXSf500vlpipv5w2wcbW/qUE63yOkeS eC4Q== X-Received: by 10.28.226.86 with SMTP id z83mr23073707wmg.77.1449501020982; Mon, 07 Dec 2015 07:10:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Mon, 7 Dec 2015 07:10:00 -0800 (PST) In-Reply-To: <56659FC8.8020904@FreeBSD.org> References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> From: Anton Sayetsky Date: Mon, 7 Dec 2015 17:10:00 +0200 Message-ID: Subject: Re: Migrating to FreeBSD from Debian To: Matthew Seaman Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:10:22 -0000 2015-12-07 17:03 GMT+02:00 Matthew Seaman : > ... and a package is what you get by compiling a port. Yes, there is a > difference, but the two things are often conflated and it isn't worth > muddying the waters by insisting on exactingly precise terminology from > people new to FreeBSD. It is clear enough what they mean -- their aim > is to get some software installed or upgraded. But we should warn then about not mixing ports & packages. I agree, pkg is a good choice [when pkg only]. From owner-freebsd-questions@freebsd.org Mon Dec 7 15:22:21 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4849B9B7182 for ; Mon, 7 Dec 2015 15:22:21 +0000 (UTC) (envelope-from sclists@gmail.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BCD21A67 for ; Mon, 7 Dec 2015 15:22:21 +0000 (UTC) (envelope-from sclists@gmail.com) Received: by qgeb1 with SMTP id b1so147074269qge.1 for ; Mon, 07 Dec 2015 07:22:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=5uvpMaleAZtEzhMe1B5Yc8FZVzWD7aebW8ktZ3NlQMk=; b=McL9wanv6f3+nQTpLGTFP3VqFeQ13WU58Q361vUILjRRq8esp+qzV2dgqSHeyxSlaw +JNT+yIxfEU1YPeUQ4m8mSaq73N8kmqZ2AwKQn7hE9rq+4gYShKnN5cXdf5CxtkrpJuv /BJbNp9cpuCCAYYdf22aOnvAI8BobGgVb5RfY//OtgzWJODPDGoo81WyMkEW544FukaV duximZkZiYFn2oeUiJYW2Ib8QzGvjiZRczw5/OV3baYbEnxYT3CDiex7RdENo2GmcZEc 7H9vpAi+Ds+PN6OZzwj7fRXp3ImYDaqDH55tjHuWQbu0J+UOvz6+kU/dDUWXQHZc0v8J pdCw== X-Received: by 10.140.220.136 with SMTP id q130mr39137574qhb.24.1449501739966; Mon, 07 Dec 2015 07:22:19 -0800 (PST) Received: from [192.168.1.4] (ool-45741f2c.dyn.optonline.net. [69.116.31.44]) by smtp.googlemail.com with ESMTPSA id s83sm11720220qhc.28.2015.12.07.07.22.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 07:22:19 -0800 (PST) Subject: Re: Migrating to FreeBSD from Debian To: Paul Stuffins , freebsd-questions@freebsd.org References: From: Stephen Cook Message-ID: <5665A42C.8090500@gmail.com> Date: Mon, 7 Dec 2015 10:22:20 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:22:21 -0000 On 12/7/2015 9:13 AM, Paul Stuffins wrote: > One of my main frustrations is upgrading installed ports, on Debian I just > need to run "sudo apt-get update && sudo apt-get upgrade", but I have never > been able to work out how to upgrade installed ports. portmaster -a From owner-freebsd-questions@freebsd.org Mon Dec 7 15:32:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87FE39B7B10 for ; Mon, 7 Dec 2015 15:32:34 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2513010E3 for ; Mon, 7 Dec 2015 15:32:34 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: by wmuu63 with SMTP id u63so145341385wmu.0 for ; Mon, 07 Dec 2015 07:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravexdata-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=XEA756ytT/6YRageEggz6EEn/orhJ/a23mKu/c821S4=; b=Ia9JYh9rMlsQUuQYqwt8V5KmwCstMhsfbMGbzz0O9dsKETC5/eulM/vjbUSUDUjmu3 ZWplzuyL1vQ0N40Y87Yj2oI/3OppiQrhC6OrIoT3tL0rVt+y54HNOixH++/cEy/AspVi UW70CKASiycVoDDi6cR7/yip6mRhjgBNYv5J3e9IbZSof+X7Rdw3V4taqdHuYHjbcX0g U+ThXqlpUzRy5wd2YrPLicxQKjlaJet1zqcL/otMFgQLH/PlzDj+0LLku3IcPblG/pRt TJQjgapp+kCWa9msyGD5y3wB0zFXqTQcb7lD7Ok1VDkPNg/QsawX9vwGcIrvsgDRhEZP s0nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=XEA756ytT/6YRageEggz6EEn/orhJ/a23mKu/c821S4=; b=AL8WgSy4F4iMH6ND25G74x8ntuLH41ni2kYUDFh8ca9udKAcX+/rGdNCnTCH4GqQP6 CwwhlIrw/ZgLk/Eqz1jw5MX+KN0P6WkOIrXeH43Y4jIBMJ37FUO3zW/om7O5dclAHtr/ 1ZOJcDvMRrT6K38xZH2cdqKTuZJFNC+2LeWhOuZoK84vb738AIPvGFsRdPfDA3udymLm UoDTdaON3POhJMR68fl6uUffPCsUQ/+4HBM2hn04MSsv0znMFoEeMMLjGWeEIs1l2lGp dFNHhrtQh/liHe3DA3uf3xvR29zPtp7L8lI5EEIXYqMfXUAsd4E6ZkcmNag8LSeWbg6V th/Q== X-Gm-Message-State: ALoCoQl9d55yt15RK1WCX3Fjg+2W/3WV7hqNy2FE2syeUu41ohJgWDFDTedlWmvSlbvLMjHNdnR+TJgTYxVrn6gTyFoU2ypVkQ== X-Received: by 10.28.225.84 with SMTP id y81mr23057425wmg.87.1449502352413; Mon, 07 Dec 2015 07:32:32 -0800 (PST) Received: from [10.34.1.6] ([104.238.169.152]) by smtp.gmail.com with ESMTPSA id c13sm16996279wmd.14.2015.12.07.07.32.31 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 07:32:31 -0800 (PST) Subject: Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> From: Paul Stuffins Message-ID: <5665A68C.40007@ravexdata.com> Date: Mon, 7 Dec 2015 15:32:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:32:34 -0000 > But we should warn then about not mixing ports & packages. I agree, > pkg is a good choice [when pkg only]. I have not set up the system yet, so there is no worry about mixing ports and packages from the off. From owner-freebsd-questions@freebsd.org Mon Dec 7 15:40:29 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C8C99B942C for ; Mon, 7 Dec 2015 15:40:29 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7CE3177A for ; Mon, 7 Dec 2015 15:40:28 +0000 (UTC) (envelope-from paul.stuffins@ravexdata.com) Received: by wmuu63 with SMTP id u63so145667283wmu.0 for ; Mon, 07 Dec 2015 07:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravexdata-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=QqLSiorlAfhTGcXOfpHxdwDd3SURow56e11ts/686bY=; b=vnfTHMunPGSCLy5R01XcmTjHwf3DIYI9k5xnC1w2opBCP8+g0lKG8XZVf2WLx9NBdU t2Uxb4PnxqybA0rfg6rXUmo2FnXC+oPIAfrtsEO5IawFptF8Ij6K1jGwSgfm6OSIaURM 8ma8JohEs+LQRFBKJbDeYS3EH6Gly20GIaKG4SGcYIBW4P29I9zfHdJGcSh48uN53Sjc 5+sB+7FvNOlLK16D69rd2I7OE0BdvUP6O8tIa8fIGeyBigPbhEZ+JPZE0rtpJyIVL4TG Y3iwfvVazkZOAVVRRCnuY193ybOnQWtKxEZxkE/tq69Nb3sTW2F5RX5Hw6aF4QA+DGN7 TSdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=QqLSiorlAfhTGcXOfpHxdwDd3SURow56e11ts/686bY=; b=YJtY++KBHxDbOSKBaswKUQYjZ1Fob3BWuAtdB15CbnmEBF3Ao00/8pGmiiP+9xalkp b5UIYi9H02+WTBbUwQ3lgL53R9xM3qos/jEgemDX7Cws22UtSSAZXELtH//K9xLAOFnW OzFeC2oN+7RBPLUxAokcWs8uVtGjshFe1DxfJBJHBHTAUQyO7pmjiH+alIJ3tAufFwRB VVwQ65e6G3WrEqkmbStH9WA6POVBZ/4QHdaWYfH/SyPycuIWUN7sxfuUJXu5hInbruSY 8z4eK2v6eqOTTKdNzqYYYkv+2wgR5mu9EncftQOsNkW/VwcofNsNsazuWU6nsKscLUyR 5aqA== X-Gm-Message-State: ALoCoQl0iIvuzbHn5doRlvplRdsle7WgUBwZ6kCjoXHMTHAmU+zw19dd9FUHNEbygoSyW0SfNlAu X-Received: by 10.194.78.212 with SMTP id d20mr36658701wjx.70.1449502827453; Mon, 07 Dec 2015 07:40:27 -0800 (PST) Received: from [10.34.1.6] ([104.238.169.152]) by smtp.gmail.com with ESMTPSA id s11sm17307035wmb.14.2015.12.07.07.40.26 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 07:40:26 -0800 (PST) Subject: Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> From: Paul Stuffins Message-ID: <5665A867.2090707@ravexdata.com> Date: Mon, 7 Dec 2015 15:40:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56659FC8.8020904@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:40:29 -0000 On 07/12/2015 15:03, Matthew Seaman wrote: > On 2015/12/07 14:23, Anton Sayetsky wrote: >> 2015-12-07 16:21 GMT+02:00 Malcolm Matalka : >>> Paul Stuffins writes: >>> >>>> Hi Everybody, >>>> >>>> Over the last couple of years I have tried many times to dump Debian and >>>> move to FreeBSD, but every time I have succumbed to Debian's charms and not >>>> stuck with FreeBSD. >>>> >>>> One of my main frustrations is upgrading installed ports, on Debian I just >>>> need to run "sudo apt-get update && sudo apt-get upgrade", but I have never >>>> been able to work out how to upgrade installed ports. >>>> >>>> As 2016 is fast approaching I want to finally move to FreeBSD and stay with >>>> FreeBSD, so my question is, what is the best or most efficient way of >>>> upgrading all ports on a FreeBSD machine? >>> Use 'pkg' instead. pkg update and pkg upgrade >> pkg will update _packages_, not ports. > ... and a package is what you get by compiling a port. Yes, there is a > difference, but the two things are often conflated and it isn't worth > muddying the waters by insisting on exactingly precise terminology from > people new to FreeBSD. It is clear enough what they mean -- their aim > is to get some software installed or upgraded. > > To the OP: try using pkg(8). You can use the default FreeBSD > repositories pretty simply -- the config comes pre-canned with the > system. All you need to do is bootstrap pkg(8), like so: > > # pkg bootstrap > > (Yes, you're using a command called 'pkg' to install another command > called 'pkg'. Confusing, but if you read pkg(7) it explains the rationale.) > > Now you can use pkg(8) to install software: > > # pkg install nginx > > which does what you expect -- downloads packages for nginx and > everything nginx needs to be able to run and installs them. Unlike > Debian, FreeBSD doesn't provide a pre-canned configuration or > automatically start up the nginx service: you're expected to write your > own nginx.conf and to update /etc/rc.conf to make nginx automatically > start on reboots. > > You can upgrade anything that's out of date by: > > # pkg upgrade > > and you can remove a package you no-longer want by: > > # pkg delete nginx > > followed by: > > # pkg autoremove > > which will delete anything that was installed solely to allow nginx to > work, and not also required by any other software you've installed since. > > There's a lot more to pkg(8) than that short introduction, but really > the install, upgrade and delete actions are enough to get you going. > > The biggest gotcha you will find with pkg(8) is when you need some > software compiled with something other than the default set of port > options. In which case, you'll probably want to start compiling that > port yourself. But that's a question for another day. > > Cheers, > > Matthew > > Hi Matthew, Thanks for the explanation, I will have a look at using pkg. Thanks Paul From owner-freebsd-questions@freebsd.org Mon Dec 7 15:44:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CDD99B996B for ; Mon, 7 Dec 2015 15:44:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id DEC2D1B10 for ; Mon, 7 Dec 2015 15:44:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 0664533C27; Mon, 7 Dec 2015 10:35:43 -0500 (EST) From: Lowell Gilbert To: freebsd-questions@freebsd.org Subject: Re: Migrating to FreeBSD from Debian References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> Date: Mon, 07 Dec 2015 10:35:42 -0500 In-Reply-To: (Anton Sayetsky's message of "Mon, 7 Dec 2015 17:10:00 +0200") Message-ID: <444mfujmpd.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:44:06 -0000 Anton Sayetsky writes: > 2015-12-07 17:03 GMT+02:00 Matthew Seaman : >> ... and a package is what you get by compiling a port. Yes, there is a >> difference, but the two things are often conflated and it isn't worth >> muddying the waters by insisting on exactingly precise terminology from >> people new to FreeBSD. It is clear enough what they mean -- their aim >> is to get some software installed or upgraded. > But we should warn then about not mixing ports & packages. I agree, > pkg is a good choice [when pkg only]. That's gradually become a much smaller issue than it used to be. From owner-freebsd-questions@freebsd.org Mon Dec 7 15:49:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A436A9B9DD0 for ; Mon, 7 Dec 2015 15:49:23 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 445C31CA8 for ; Mon, 7 Dec 2015 15:49:23 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmuu63 with SMTP id u63so146027971wmu.0 for ; Mon, 07 Dec 2015 07:49:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=i1yTGDTRHQKHJnNWbAaFHdSs/YqZ6g2aUbfv4+KT1gg=; b=aOfCHuc2wKC5NrUsKXFypSsYQbtHoKktq+RgSJRnGyA2LjApfmAZMaJnA2/ZsW0Yfk 3fPCr2rEkmDDFWHM32Gtu7C2LSVWc1VnPdsbrqeLf1USl1CDGdB8jwqRJ6JY1rpvczx+ Zp/0/Mn7Zm1HgsN3mMn2dL8E5kbw1PczVr/bN2+tGDsw612OiNM/6+MNzDk1Czt6tF8N FfbJDa90zVOo97HIML6tFUAxw3whTsMlWBJv8N/2LyJFOtTqyiUGqnDsY1ijpYCl+isz ogOxohKTYzFvaGL6b77tnkZD0KToAAakiOU1dM/clBGwr2uO2dwZSNz2zOQ747txj1ps /NoA== X-Received: by 10.28.32.22 with SMTP id g22mr20854804wmg.43.1449503361838; Mon, 07 Dec 2015 07:49:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Mon, 7 Dec 2015 07:49:02 -0800 (PST) In-Reply-To: <444mfujmpd.fsf@be-well.ilk.org> References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> From: Anton Sayetsky Date: Mon, 7 Dec 2015 17:49:02 +0200 Message-ID: Subject: Re: Migrating to FreeBSD from Debian To: Lowell Gilbert Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:49:23 -0000 2015-12-07 17:35 GMT+02:00 Lowell Gilbert : > That's gradually become a much smaller issue than it used to be. It it not true. Try to buid emulators/virtualbox-ose without QT4 option on a server and then run pkg upgrade ;-) From owner-freebsd-questions@freebsd.org Mon Dec 7 15:54:20 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E41AC9B73ED for ; Mon, 7 Dec 2015 15:54:19 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86931105D for ; Mon, 7 Dec 2015 15:54:19 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so155878996wmw.0 for ; Mon, 07 Dec 2015 07:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YIog7HRPwHh52YbltPqjBIT8/z2WKMyz5Vi3AdsQQlM=; b=v7Qy5seI2A2p21hTms5dVzmqf1+z5nebZIaxAPOKfvinjTqZeUrEXbErnv4PBCTSPX +AwUqK3sOmaHdbSC5hOw0VHErk5J7EG6SRV17uzUAi4LsHbFn7uLH6DTV2fNkxCTYwdc TtkWCimgCcG4Lq00z3zuyM0mzkVSBnQVEJVLdm576onKuSHJ4ztUG/93olEHfHcpG0FH 3VTSWOU6Qq9AwqnpqW6LfA88ZBtPZ9ZEcDMPxmNXQDKnlg7m0v0AZUZX033BZJYzzlqq 1KbYrw4C3L00+uvyu2ssCn8mUHX2xsxvrBaFe5Wf3JbQOoD6SbjjrhmESq3qMm4knu1w PvKA== MIME-Version: 1.0 X-Received: by 10.194.9.169 with SMTP id a9mr33560122wjb.60.1449503657876; Mon, 07 Dec 2015 07:54:17 -0800 (PST) Received: by 10.194.192.33 with HTTP; Mon, 7 Dec 2015 07:54:17 -0800 (PST) In-Reply-To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> Date: Mon, 7 Dec 2015 09:54:17 -0600 Message-ID: Subject: Re: Migrating to FreeBSD from Debian From: Adam Vande More To: Anton Sayetsky Cc: Lowell Gilbert , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:54:20 -0000 On Mon, Dec 7, 2015 at 9:49 AM, Anton Sayetsky wrote: > 2015-12-07 17:35 GMT+02:00 Lowell Gilbert > : > > That's gradually become a much smaller issue than it used to be. > > It it not true. Yes it is. > Try to buid emulators/virtualbox-ose without QT4 > option on a server and then run pkg upgrade ;-) > If you have found a bug please file it. Ports and pkg's should co-exist peacefully with the understanding mixing the two requires more administration. -- Adam From owner-freebsd-questions@freebsd.org Mon Dec 7 15:59:11 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 821749B7851 for ; Mon, 7 Dec 2015 15:59:11 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 210B01246 for ; Mon, 7 Dec 2015 15:59:11 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmww144 with SMTP id w144so156077495wmw.0 for ; Mon, 07 Dec 2015 07:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GadryAdZpwBVb/tIBDmxcTwmC14gHjyI0idVO3puAj8=; b=dBx52X5LeVd27hPKQSdkOeCkf03JlsWy9B9Y1yxfXY5owUt4NYTUW7olux0mcBn2tT GIHoeSFQyWENsjnGOBQpZTnuNQc22vCImgUfWuWDo5mpwEyJ1vRh7FUbRaMJxSe4XsH5 go9kAVt7gjse+FMmHm2xsQ8bRMVG8XliCJ1ZdlI+zm9HncXaimf6ZDmHlGgdxRKAIdyZ CIo67WNQFjMRH7dl3/fghpVL3ljuNWiauIxYtoC3osZUTzqwXuwoJr+qUMIabsb4hOpo 3NqmQWHDDuD7SQx4jmZMSE9ql6v6QrAF22+BTFTUKgXWiavD6Zw5O294bJ6G+MBkQwgK t5zQ== X-Received: by 10.194.174.201 with SMTP id bu9mr23819518wjc.81.1449503949405; Mon, 07 Dec 2015 07:59:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Mon, 7 Dec 2015 07:58:50 -0800 (PST) In-Reply-To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> From: Anton Sayetsky Date: Mon, 7 Dec 2015 17:58:50 +0200 Message-ID: Subject: Re: Migrating to FreeBSD from Debian To: Adam Vande More Cc: Lowell Gilbert , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 15:59:11 -0000 2015-12-07 17:54 GMT+02:00 Adam Vande More : > On Mon, Dec 7, 2015 at 9:49 AM, Anton Sayetsky wrote: >> >> 2015-12-07 17:35 GMT+02:00 Lowell Gilbert >> : >> > That's gradually become a much smaller issue than it used to be. > > >> >> It it not true. > > > Yes it is. Again - no, I don't agree. And this will be a big issue until pkg repos will contain packages with all possible options combinations. > >> >> Try to buid emulators/virtualbox-ose without QT4 >> option on a server and then run pkg upgrade ;-) > > > If you have found a bug please file it. Ports and pkg's should co-exist > peacefully with the understanding mixing the two requires more > administration. There are no any bugs, you'll just get a bunch of crapware on a server, like qt4-gui. From owner-freebsd-questions@freebsd.org Mon Dec 7 16:01:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A05F39B7C56 for ; Mon, 7 Dec 2015 16:01:09 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B08214E3 for ; Mon, 7 Dec 2015 16:01:09 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tB7G11Vn064364 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 7 Dec 2015 16:01:01 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB7G11Vn064364 Authentication-Results: smtp.infracaninophile.co.uk/tB7G11Vn064364; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be host-4-75.office.adestra.com Subject: Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <5665AD3D.2020207@FreeBSD.org> Date: Mon, 7 Dec 2015 16:01:01 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PvuCx36VN5NExePWqCapL97CCJKFODcoW" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:01:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PvuCx36VN5NExePWqCapL97CCJKFODcoW Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/12/07 15:49, Anton Sayetsky wrote: > 2015-12-07 17:35 GMT+02:00 Lowell Gilbert > : >> > That's gradually become a much smaller issue than it used to be. > It it not true. Try to buid emulators/virtualbox-ose without QT4 > option on a server and then run pkg upgrade ;-) Using a mixture of portmaster and pre-compiled packages is hard to get right. Mostly because of lack of love for portmaster(8) and adapting it to understand how things work in a pkg(8) universe. Mixing packages built in your own poudriere with the default package repos is easier, but still has some rough spots. This is something that is known to be a weak point, and a lot of the trouble is due to the 'baked in' dependencies on specific package versions we have at the moment. There is code to work with alternate packages or ranges of versions in pkg(8), but it's a huge change to the ports to introduce something like that, so they are taking it slowly and carefully. Cheers, Matthew --PvuCx36VN5NExePWqCapL97CCJKFODcoW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWZa09XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnxVgQAIzCWkP5Yyz5WAbONNuTbMVi TP4gfleb8s58fCTWdXU/ffGI9knjc1bRZQEUQE+uHWSf0+IEZCBkps5bwV2zfSE7 hJkk28Ib7pODMw8XB0t2AQVJbFNrM5Y39XrZTks0oXTiEdIFPMIGX3PTUH7ztVHB PYNaeauSbOPo1VoXGgcxQb34YnWK76lWUUQpUxsXIOzMFlP1Gos638mdbGme8F/Y dSZdPncGMobFYEigpFyk3nWVrA4Dex4WmTR3WnjCieFYcaoV7KqIJOKkZ74IBEmD aTqmG07zNvoPmf5kwHVcziCQHxOHS87c714VQ65pT1jfwXDvo0zEcWnzyB9qMXxO /xKhVHqeDUqUrT9Rd7wym/3MnOQg9RYbpFVu8ZeFW9ptqpMmE0LxajWV1j0UXCS7 mXyJZjE8/j1WjgDoLo/septoF11ENlxs4dRYtmlnFESW8ZIzunyYmzjNWkcOcC4A FMZeRL+rNVQbfugZQj5Jgaf5gR1y4fRSaLvyyv5wicTfM6WRRc6WEGYFudL8DcIO p6FtNAJCQFcntpFlHgmILmP0x0oDZEZQCnT9XD5jfEbx7blMd/UKP39jGNEf5Dv6 0aiEhbqJH0GIRx0SozWISD07Xi46pPiJ952DVUXwS4MKE81vF4g485UhMKVdJfev 8wmxZyZ6gjhvIDenSGXE =dZme -----END PGP SIGNATURE----- --PvuCx36VN5NExePWqCapL97CCJKFODcoW-- From owner-freebsd-questions@freebsd.org Mon Dec 7 16:05:38 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05CE29A0339 for ; Mon, 7 Dec 2015 16:05:38 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id AD7EC1A37 for ; Mon, 7 Dec 2015 16:05:37 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from sas1.nber.org (sas1.nber.org [198.71.6.89]) by mail2.nber.org (8.15.1/8.14.9) with ESMTPS id tB7FsKiA024490 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 7 Dec 2015 10:54:20 -0500 (EST) (envelope-from feenberg@nber.org) Date: Mon, 7 Dec 2015 10:54:18 -0500 (EST) From: Daniel Feenberg To: Lowell Gilbert cc: freebsd-questions@freebsd.org Subject: Re: [Phishing]Re: Migrating to FreeBSD from Debian In-Reply-To: <444mfujmpd.fsf@be-well.ilk.org> Message-ID: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> User-Agent: Alpine 2.11 (LRH 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 2015/12/07 11:24:07 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2015/12/07 01:27:00 #6698250 X-KLMS-AntiVirus-Status: Clean, skipped X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:05:38 -0000 On Mon, 7 Dec 2015, Lowell Gilbert wrote: >> But we should warn then about not mixing ports & packages. I agree, >> pkg is a good choice [when pkg only]. > > That's gradually become a much smaller issue than it used to be. What does the warning mean? That once I have installed a single package I can never use ports? So if I want a port, and already have packages, I have to uninstall all of the packages first and can never in the future install any package? That seems extreme. Or is there a less restrictive interpretation that is more correct? daniel feenberg NBER From owner-freebsd-questions@freebsd.org Mon Dec 7 16:10:22 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FBD09A099E for ; Mon, 7 Dec 2015 16:10:22 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id B487514B7 for ; Mon, 7 Dec 2015 16:10:20 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Mon, 7 Dec 2015 16:10:00 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1a5yMT-000DYc-Aj for freebsd-questions@freebsd.org; Mon, 07 Dec 2015 16:10:01 +0000 Date: Mon, 7 Dec 2015 16:09:59 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Migrating to FreeBSD from Debian Message-Id: <20151207160959.4b2fc514cf0ef30bc1e1ee51@sohara.org> In-Reply-To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:10:22 -0000 On Mon, 7 Dec 2015 17:58:50 +0200 Anton Sayetsky wrote: > Again - no, I don't agree. And this will be a big issue until pkg > repos will contain packages with all possible options combinations. That is clearly impossibly to achieve, I doubt even the NSA can afford that much storage and processing power. > >> Try to buid emulators/virtualbox-ose without QT4 > >> option on a server and then run pkg upgrade ;-) Did you first use pkg lock to protect your carefully built variants from the upgrade ? -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Dec 7 16:12:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD20E9A0E1F for ; Mon, 7 Dec 2015 16:12:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 59C111A38 for ; Mon, 7 Dec 2015 16:12:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tB7GCo4U064606 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 7 Dec 2015 16:12:51 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB7GCo4U064606 Authentication-Results: smtp.infracaninophile.co.uk/tB7GCo4U064606; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be host-4-75.office.adestra.com Subject: Re: [Phishing]Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <5665AFFB.9070407@FreeBSD.org> Date: Mon, 7 Dec 2015 16:12:43 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2pkQBVAcM9t2fJcqCvsnAsl1qToLcOvrx" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:12:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2pkQBVAcM9t2fJcqCvsnAsl1qToLcOvrx Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/12/07 15:54, Daniel Feenberg wrote: > What does the warning mean? That once I have installed a single package= > I can never use ports? So if I want a port, and already have packages, = I > have to uninstall all of the packages first and can never in the future= > install any package? That seems extreme. Or is there a less restrictive= > interpretation that is more correct? Usually the reason for mixing ports and packages is because you want something compiled with non-default options. The difficulty arises when you find that despite all your best intentions, you end up with the default package anyhow, or you end up installing all the dependencies for the default package and not the ones for your customized version, or you end up installing a lot of build dependency things you didn't really want. And then when you go to upgrade, it breaks all over again in similar but not exactly the same way= s. It's loss of control which is the problem. You may be lucky in that it 'just works' with your customizations, or it may become a nightmare of dependency hell from which all right-thinking sysadmins would run away, screaming. Cheers, Matthew --2pkQBVAcM9t2fJcqCvsnAsl1qToLcOvrx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWZbACXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnNkwQAIQBN6r3FIGFrGzU50HYTLAJ m4LS0JETCRvIVTFFKLBLEq2QzjJGe4a1mhi6rIf+P0XruuYpOr0uarBbmAEu10fM 9WQpQuoKoaX7f19YKi7Qr7nVl7XXu10DeydYHNWoIvSQ3glLdSMzV8pVdC56dW+k faWNGUB/ffVFFhDccP6PWpCMHe6UvacNMR8QBReh6SLJecxzwcgUH+HYiWe15rwI ZZgrHFLnmZAz0M1txJeSlwbU01oBJCHg+yCHXTmiK6FfXDxV13S/rsj/jZnoExCX 7cwkZTesOFUqEKGmhGfXxsPfyNh2WETUvsCLn/OmLRn6l8QIgonUJywfbX6a14H1 MXiTOu67Y9/0KbB8HvG2OzQw4jPSj2QTr9rYuDuUFjZDoh7i6RTXzC0xONAvDMIq rHDsqsi4WHfd7USTcIn5ElqBFuLcua2SYZy0W//nXxdv9NY0lSIzcuE73kkd/0ZX doGERTL5GP05hp4Gvkp/f7t8i7NlJvAQWQvOYq3LqzZKDH84HEdoxPNf3nOOWW1l NcMCla3CCh/12s40OsvZqrXYOVpmM4uf4ZxzuUbNuk39YA/PFXJm35xHvnI9nH7U PBsR9MnWxIBiP+vC4ryr5EZurRSZZI9y1Un+ZMRTYoEZiO5wwIgZ743S+u1SA5X/ SPc8b/g2f39T4w+Ki00R =+1qN -----END PGP SIGNATURE----- --2pkQBVAcM9t2fJcqCvsnAsl1qToLcOvrx-- From owner-freebsd-questions@freebsd.org Mon Dec 7 16:13:50 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 887FF9A0F1A for ; Mon, 7 Dec 2015 16:13:50 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 399761B07 for ; Mon, 7 Dec 2015 16:13:49 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id c8a2912a; Mon, 7 Dec 2015 11:13:46 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 13f3987d TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 7 Dec 2015 11:13:45 -0500 (EST) Message-ID: <1449504826.1126.13.camel@michaeleichorn.com> Subject: Re: Migrating to FreeBSD from Debian From: "Michael B. Eichorn" To: Daniel Feenberg , Lowell Gilbert Cc: freebsd-questions@freebsd.org Date: Mon, 07 Dec 2015 11:13:46 -0500 In-Reply-To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:13:50 -0000 On Mon, 2015-12-07 at 10:54 -0500, Daniel Feenberg wrote: > > On Mon, 7 Dec 2015, Lowell Gilbert wrote: > > > > But we should warn then about not mixing ports & packages. I > > > agree, > > > pkg is a good choice [when pkg only]. > > > > That's gradually become a much smaller issue than it used to be. > > What does the warning mean? That once I have installed a single > package I > can never use ports? So if I want a port, and already have packages, > I > have to uninstall all of the packages first and can never in the > future > install any package? That seems extreme. Or is there a less > restrictive > interpretation that is more correct? > > daniel feenberg > NBER You can use them together, but you have to pay attention to make sure that ports have options that are compatible with the options used to create packages. Conversely you need to make sure that pkg doesn't update a port with custom options back to a new package with the default ones. Further it is important that the ports tree and the one that packages are built off of stay in sync. It can be done (with pkg lock, and the quartery ports branch), but it tends to be fragile. For mixing in more than a handful of ports, using poudriere (a personal repo builder) is usually better choice (esp. if you have multiple systems). From owner-freebsd-questions@freebsd.org Mon Dec 7 16:16:27 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45C149B91E6 for ; Mon, 7 Dec 2015 16:16:27 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15DC91C96 for ; Mon, 7 Dec 2015 16:16:26 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB7GGO1L003761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 7 Dec 2015 10:16:25 -0600 Subject: Re: [Phishing]Re: Migrating to FreeBSD from Debian References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> Cc: freebsd-questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <5665B0D8.5050300@hiwaay.net> Date: Mon, 7 Dec 2015 10:21:54 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:16:27 -0000 On 12/07/15 10:00, Daniel Feenberg wrote: > > > On Mon, 7 Dec 2015, Lowell Gilbert wrote: > >>> But we should warn then about not mixing ports & packages. I agree, >>> pkg is a good choice [when pkg only]. >> >> That's gradually become a much smaller issue than it used to be. > > What does the warning mean? That once I have installed a single > package I can never use ports? So if I want a port, and already have > packages, I have to uninstall all of the packages first and can never > in the future install any package? That seems extreme. Or is there a > less restrictive interpretation that is more correct? > > daniel feenberg > NBER > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > My 1st hand experience has been that the last one wins. If you install a port, then do a pkg upgrade on that port/pkg *& a newer pkg exists*, it will overwrite your handiwork using ports, Same thing other way, AFAIK. In my case, I use portmaster to maintain libflash support for browsers, & there is no pkg available due to licensing issues, so I am OK. But you can wind up w/ unexpected results, mostly 'last one wins' overwrites if you aren't paying attention to what you are doing. Go w/ pkg & use ports when necessary or needed for machine-specific optimizations (for example). $0.02, no more, no less .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Dec 7 16:18:08 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B87AC9B9417 for ; Mon, 7 Dec 2015 16:18:08 +0000 (UTC) (envelope-from markhamb@corp.ssimicro.com) Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74CE71D86 for ; Mon, 7 Dec 2015 16:18:07 +0000 (UTC) (envelope-from markhamb@corp.ssimicro.com) Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by mail.ssimicro.com (8.14.7/8.14.7) with ESMTP id tB7Fu3cX002092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 7 Dec 2015 08:56:03 -0700 (MST) Subject: Re: OSS in jail To: freebsd-questions@freebsd.org References: <20151206194401.GA3860@hpmini> From: markham breitbach Message-ID: <5665ACA7.80104@corp.ssimicro.com> Date: Mon, 7 Dec 2015 08:58:31 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151206194401.GA3860@hpmini> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:18:08 -0000 This is not a technical problem, and any technical solution will turn into a giant Rube-Goldberg contraption that will ultimately fail. Why are you giving out superuser permissions if you wish to restrict the activities of your users? The right answer to this is to not give out superuser permission. -Markham On 2015-12-06 12:44 PM, Luís Fernando Schultz Xavier da Silveira wrote: > Hi, > > I would like one of my jails to have the ability to play back sound, > but not to record it. As I understand, sound is played back by writing > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > a solution since the jail superuser can override permissions on these > devices and even read from them when they lack read permission. > > Is there a way to give a device to a jail in read-only mode? > If not, is it possible to create a virtual OSS stack and give that to > the jail? > How would you solve this problem? > > Also, is it possible to give the jail a mixer device that can only read > mixer settings but not alter them? > > Thanks, > Luís > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Dec 7 16:27:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC8149B9D79 for ; Mon, 7 Dec 2015 16:27:02 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 709B01324 for ; Mon, 7 Dec 2015 16:27:02 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 2c671750; Mon, 7 Dec 2015 11:26:58 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 4d7b1194 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 7 Dec 2015 11:26:57 -0500 (EST) Message-ID: <1449505618.1126.19.camel@michaeleichorn.com> Subject: Re: OSS in jail From: "Michael B. Eichorn" To: markham breitbach , freebsd-questions@freebsd.org Date: Mon, 07 Dec 2015 11:26:58 -0500 In-Reply-To: <5665ACA7.80104@corp.ssimicro.com> References: <20151206194401.GA3860@hpmini> <5665ACA7.80104@corp.ssimicro.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:27:02 -0000 On Mon, 2015-12-07 at 08:58 -0700, markham breitbach wrote: > > This is not a technical problem, and any technical solution will turn > into a giant Rube-Goldberg contraption that will ultimately fail. Semantics. It is possible to solve some policy problems with technological solutions, jails themselves are proof of this. > > Why are you giving out superuser permissions if you wish to restrict > the > activities of your users? > > The right answer to this is to not give out superuser permission. It is entirely possible to parsel out superuser permissions, sudo, jail, and capsicum are all ways to give out slivers of superuser permissions. The problem is *hard* not *impossible*. > > -Markham > > On 2015-12-06 12:44 PM, Luís Fernando Schultz Xavier da Silveira > wrote: > > Hi, > > > > I would like one of my jails to have the ability to play back > > sound, > > but not to record it. As I understand, sound is played back by > > writing > > to /dev/dsp and recorded by reading from it. Hence, placing the > > /dev/dsp > > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is > > not > > a solution since the jail superuser can override permissions on > > these > > devices and even read from them when they lack read permission. > > > > Is there a way to give a device to a jail in read-only mode? > > If not, is it possible to create a virtual OSS stack and give that > > to > > the jail? > > How would you solve this problem? > > > > Also, is it possible to give the jail a mixer device that can only > > read > > mixer settings but not alter them? > > > > Thanks, > > Luís > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@fre > > ebsd.org" > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb > sd.org" From owner-freebsd-questions@freebsd.org Mon Dec 7 16:41:05 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 131679C1907 for ; Mon, 7 Dec 2015 16:41:05 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0116.outbound.protection.outlook.com [157.56.110.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7ADE1E61 for ; Mon, 7 Dec 2015 16:41:03 +0000 (UTC) (envelope-from aberg010@my.HennepinTech.edu) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; Received: from [IPv6:2601:440:c000:85dd::30] (2601:440:c000:85dd::30) by BLUPR03MB1492.namprd03.prod.outlook.com (10.163.81.22) with Microsoft SMTP Server (TLS) id 15.1.331.20; Mon, 7 Dec 2015 16:40:55 +0000 Subject: Re: [Phishing]Re: Migrating to FreeBSD from Debian To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> From: Andrew Berg X-Enigmail-Draft-Status: N1110 Message-ID: <5665B693.6060004@my.hennepintech.edu> Date: Mon, 7 Dec 2015 10:40:51 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [2601:440:c000:85dd::30] X-ClientProxiedBy: BLUPR14CA0064.namprd14.prod.outlook.com (25.163.209.160) To BLUPR03MB1492.namprd03.prod.outlook.com (25.163.81.22) X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1492; 2:MxpZvoqyp1++rEmkh1aUhERV0F/a4grO1pDe1IKJdV8BsernvO3qOw+fqH0xKkk0n44BNmCVAoFWv7OwqWMHOwcObgyXnKo+I0UetjnZbPJkJiSefEi4npPBpUV7WqfMqowErM0gjTEKfRqnsCZGAw==; 3:bxYrJiu9f5LdOEatumZ5oNtvrhh+kTO359zAu2ddJRM/XDTeoTlPalV7TbfWiaNYasroicnAZOQCKTF4liOgYt8RuO6wx7XDndWPZY/mLW8RP4DFf0uknXhcHxuvCwRB; 25:5YdpiR8mUozWCVKiQ8PR3W8hr3v2RFkHQwnw4VGbHeyCChLogGz6FZWIVGZ5szkQbNvx7qWA9Ni2fp7QJX4jT5o7/ur1YBVSpoY0hi7QH+woJV9uMB8pCfnRJyilxgI7ToIbC1nLyKMqr8WuKqQm/gwSz1iQrxR+uM2GWelivLJhFbWfTH9B/QcBSBrGFJSy0LoiqJMcsy3AVqurJwX87nSM/36SfJIR4+GJLhAXE68kzNtHJQ1gnZUYyua+TOmgKh+xj1Jl8TvCrxb8/DNYFA==; 20:kTk60+NY4YskxPT8TPmEp7tbVbZsE5nz3jlB6LXXz2D8PnhT7rT2b+hPugcGYTfzQ9fXK3aPOlg2kiG5/Bn3ThC6Om9JA7Om2wRATSx8LItHwnumM/pOXvFaFjLw5jWmrcFLuhfNqo5V0zsaiEJyeH7+WjYpURssygvYVNOMl4nsloveU3Ktd/ltFtmcPVWHNxCu3FnCHRTP3mLsUwgskarIVd6CWvLv5/WMHn62xdXd/OpcocoqjqQ3Yy9I2We87rqp+DTO9uphm1G7projpXFi9QfqSDP0RyCj8k7xjL92S9y5haumZLYheRD0mG8liunUgxqjbGHwQqXVDnbygQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1492; X-Forefront-PRVS: 078310077C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(24454002)(199003)(2950100001)(76176999)(87266999)(81156007)(110136002)(107886002)(50986999)(64126003)(4001350100001)(75432002)(189998001)(101416001)(2351001)(59896002)(33656002)(88552001)(105586002)(450100001)(40100003)(89122001)(83506001)(77096005)(65816999)(54356999)(50466002)(106356001)(1706002)(87976001)(97736004)(42186005)(93886004)(80316001)(122386002)(65806001)(65956001)(92566002)(23676002)(586003)(5004730100002)(5008740100001)(6116002)(47776003)(86362001)(89472002)(3826002)(547064002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1492; H:[IPv6:2601:440:c000:85dd::30]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjAzTUIxNDkyOzIzOjF0SDZLbGNRekQxVzFiaTFTSzA0T3N1WHov?= =?utf-8?B?QlZtamRjcGNPam8vd2FvZzh6MHJiQmFmdWFFcjlRMC9JakRDWWJyc091M2ht?= =?utf-8?B?NGNCUWJGT3VBU1d4cGoxcEU4aDg2aS9jY2NBdDJXMmcyK2o2ZHRwcjJmRGlH?= =?utf-8?B?aklobm4yblRuMTJKbWdpbkQwTEdqNVdLTkdSMGNnVU5aZGliOWlsUE9BczFE?= =?utf-8?B?NGRkZjJXL0FHNGcrYVNnYVpKNWNYWGhrVHdJUHB6UVNuK0ZwVlZtZHZ6ZERM?= =?utf-8?B?ZGFQSGIzdTZYa0VhTFNPandBTHlOQTgwazVDVXVEems1TEFEemdPVzQyVmVL?= =?utf-8?B?NjIycWpVZkprWWV1OUhpTExYY2lWSm9IWkNMS01XYXQzYkJ6Ym1FUEhyeE1i?= =?utf-8?B?cGhENUl4Z0FJZnRiUW84YzNkb1RvLzhPYnVKcGluRi94dC9MSXdLb0thTWMv?= =?utf-8?B?QzhDMTBJK0pFUXNicXNkdG1KdGlmV0puL1pXOWpFWlFZZWphc3NWaExQcGV0?= =?utf-8?B?RDc5VkxCSlI4N1pWbyswSWJWRmorcGZKRlp3aWFoZTF6TkFYQVRrNmFEQTAv?= =?utf-8?B?bWZ4YW5henJLcnVyMDg4dENCZnF6OHFHb3hZYU1oSDNvTURpMWJ6ZVlINlFS?= =?utf-8?B?ejlZbXAvWXRRVXhGNkZMZWE0S3IxY0U4NGV4M2JyNVBrWDhQTUF6ZTQ0dGpM?= =?utf-8?B?VnVVcVEzTWJFUmZvMmtCT0tzeGRzc0Z3TVhRMVo2eWxSUWcvZm9MWkVXeGtE?= =?utf-8?B?U3hEVUE1SzFIRjFuVDN1WDdydlpmL0VFRFB1anEzNVJPZE5tL2doNjlGbEpY?= =?utf-8?B?aDBDZHNlaGt3M0dJTFNVc09RVFE2STZydk1rRzU1VWNIVlI1bEdkcUkxYUVR?= =?utf-8?B?Z0JTR0Y0a2RCRk5qTDJ5enRraDFoZlY0Vk4xeVFVemV4UXBlaDZoV3hSTFN4?= =?utf-8?B?MmZ5Yk05Yk5iSkJzNHB6RXgzR1VJWjYwbzg5eE5uS3o5Q0RzMTY5eEZEdzhx?= =?utf-8?B?azFkajAxWkV6a01aSXlpRHdvbW9qMVBjRFp1WDBLYlVJM01jMDhNa3o4dEZk?= =?utf-8?B?akF6OS9qOEZSeTA4NVBHdnMvcHVHb0tHUUpvSlRLc3FlMTVSV1h1dHlQWXl0?= =?utf-8?B?bWpCNVZieFVEMHlnRFlBZGQxemZLZ0M0blBrZ0g5d0ZjSFYrV3d1Q3VDR0Z0?= =?utf-8?B?cmhMQWJtejdkM0FFUEJJU3RTL1d3bUM2RWtQaUVIKzhBUE1rTVhyU3VwMTdY?= =?utf-8?B?VmhWckYyV3d2NjVZZEhRYVRCTFlXd0M1VWJQK3hvZEVLbFd5RGM5WjR5T282?= =?utf-8?B?aUdEUmd1UWczMGhHREROb3B2QzN6RDQ2bE5oTyt5cXhJVFZPYlpyTnZLV3ZQ?= =?utf-8?B?OXl1eFRyMWJlZzgxWlgxdC9WdWU5azlvZ3FicUhrYUhCbE00eVZ5V092eEpk?= =?utf-8?B?WlArVmtYdmZHSTJ0cTNXT2JnOFh5ZHA3ZDExU2tsaFhoa2wwczJqZDlMZEc3?= =?utf-8?B?NGI5b211S2JyUFNtYkVvdVZtdTA5SzB4a21sYzBMM1BaT2VpK1VlOWQzV1Zj?= =?utf-8?B?aUgxbTd6UXRTWmRJcHdmbUE0OEFLdkhyQmJXUFZ5WmY5V3h1VHBGdTdhZ2hZ?= =?utf-8?B?a0NaZ3NqUEFDc1NWdkZZdGd4Y2VhZUl3VXhZTHpDalB1MHNKZC9LOVZzckpz?= =?utf-8?Q?2euuSQkqD7kljssmFORtYKoT+b/3zvIAPWeeds/?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1492; 24:le0dHMzRWdTfVcZUOpwMjKhtP8vsqSs+TiT3pjn92bxeF0kZ3/8fZ0CzL/U+BvC4ur/f94dodDRZjLmwQiWLgq/7l1m44um0PKZzZjLaqoI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2015 16:40:55.6238 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1492 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:41:05 -0000 On 2015.12.07 09:54, Daniel Feenberg wrote: > > > On Mon, 7 Dec 2015, Lowell Gilbert wrote: > >>> But we should warn then about not mixing ports & packages. I agree, >>> pkg is a good choice [when pkg only]. >> >> That's gradually become a much smaller issue than it used to be. > > What does the warning mean? That once I have installed a single package I > can never use ports? So if I want a port, and already have packages, I > have to uninstall all of the packages first and can never in the future > install any package? That seems extreme. Or is there a less restrictive > interpretation that is more correct? It has to do with mixing trees. Everything is packages, and packages come from ports. If you get packages from the official repo, and then download the ports tree and build and install your own, some packages won't play nice with each other because they aren't from the same point in time (your copy of the tree is a little bit newer than the one used by the official repo at the time). pkg will detect most issues, but it can't generally fix them. It is possible to be in sync with the official repo, but doing so is more complicated and requires more hands-on attention. Trying to use the official repo and then mix in a few of your own here and there is almost always more effort and trouble than it's worth. Ultimately, you have 3 options: 1. Use the official repo. This is the simplest and easiest. You never have to compile anything or know how ports works and upgrades are easy. This also scales to many machines easily. The downside is that you have limited flexibility - no custom options and you can't change the default versions for things such as Python, Perl, PHP, Apache, et al.. You also don't get updates as soon as they're committed, but the time between updates is only about a few days. 2. Use ports tools directly (or a wrapper such as Portmaster) and compile packages yourself. This is a little more work, but you get custom options for your packages (and you can have your own custom modifications to the ports tree). You can have new versions of packages within minutes of the changes being committed to the tree (depending on how long it takes to compile). However, you will have to compile everything and sharing these packages is crude and possibly a bit error-prone because your environment is not 100% clean. This doesn't scale well unless you build your own tooling to make it so. Otherwise, you will have to compile everything you want on each individual machine, and you will have to do some scripting to make your custom options consistent across them. 3. Use Poudriere. This is essentially tooling to make #2 scale well. Once you have packages built, it creates a repo, making them very easy to share. On your other machines, you point them to your own repo instead of the official one. They will all have the custom options and modifications you want, but you compile once on one machine. Poudriere builds every package in a clean environment using jails to help keep things consistent and less complicated when there are issues. I recommend #1 unless you have a compelling reason not to ("oh no, 100MB of disk space is used up by a package I don't use" isn't one). If you really need custom options (because you need something to get work done), then I recommend #3. In any case, pick one and do that. If you want to switch from one approach to another, reinstall all packages using the new approach. As Matthew alluded to, things are being worked on to make options 2 and 3 less necessary for most people, but there is still much work to be done in ports and in pkg, and it will take a while to get it all done right. From owner-freebsd-questions@freebsd.org Mon Dec 7 16:50:28 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 058DD9B71F3 for ; Mon, 7 Dec 2015 16:50:28 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id 761C01365 for ; Mon, 7 Dec 2015 16:50:26 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Mon, 7 Dec 2015 16:50:12 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1a5yzM-000Dhq-Nw for freebsd-questions@freebsd.org; Mon, 07 Dec 2015 16:50:12 +0000 Date: Mon, 7 Dec 2015 16:50:10 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: [Phishing]Re: Migrating to FreeBSD from Debian Message-Id: <20151207165010.448a646c78be7d75acaf9f5d@sohara.org> In-Reply-To: <5665AFFB.9070407@FreeBSD.org> References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> <5665AFFB.9070407@FreeBSD.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 16:50:28 -0000 On Mon, 7 Dec 2015 16:12:43 +0000 Matthew Seaman wrote: > On 2015/12/07 15:54, Daniel Feenberg wrote: > > What does the warning mean? That once I have installed a single package > > I can never use ports? So if I want a port, and already have packages, I > > have to uninstall all of the packages first and can never in the future > > install any package? That seems extreme. Or is there a less restrictive > > interpretation that is more correct? > > Usually the reason for mixing ports and packages is because you want > something compiled with non-default options. > > The difficulty arises when you find that despite all your best > intentions, you end up with the default package anyhow, or you end up > installing all the dependencies for the default package and not the ones > for your customized version, or you end up installing a lot of build > dependency things you didn't really want. And then when you go to > upgrade, it breaks all over again in similar but not exactly the same > ways. pkg lock and make missing are your friends. First step after deciding a port is a must is to go into the port and make config to set things up the way you want. Then run make missing and pkg add as much as possible (this to avoid excessive compiling). Finally pkg lock everything you had to build because you changed it. > It's loss of control which is the problem. You may be lucky in that it > 'just works' with your customizations, or it may become a nightmare of > dependency hell from which all right-thinking sysadmins would run away, > screaming. You do need to keep the ports and packages you use in reasonably close sync - ideally use the ports tree the packages are built from. So when you upgrade packages also upgrade the ports tree and rebuild the ports. There is a script called sync-ports which pulls the right ports tree - although the version I have doesn't handle 10.2. The only time life gets nasty is if you have to customise a dependency and something else can't live with that customisation. I've not hit that yet, so far all my needed customisations have been on high level packages. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Dec 7 17:21:04 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE8989C1031 for ; Mon, 7 Dec 2015 17:21:04 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7BD129A for ; Mon, 7 Dec 2015 17:21:04 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id AACA22900155; Mon, 7 Dec 2015 15:20:58 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449508862; bh=YAYgfXCqIt8h8QOPFZRXZwMhelBCK/8vKnhsNTFMoPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Csnhq72wWOn1hrhiV6bcZohkDj3QEFJfhZ8EII8W+SzzyFscOn2w7JEpGHFGBH7h+ Bu1HH1NSy+tM6dz67/4n/he5onYsub0CaY+s7IX5iPtP6qvVYmYiNKJOtZtbFRqfPi H/2SFO5SJhbxQ892kUa65stAtvOQHskfyf6W2K7Y= Date: Mon, 7 Dec 2015 15:22:39 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: Ian Smith Cc: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151207172239.GC873@hpmini> References: <20151207234938.F52001@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20151207234938.F52001@sola.nimnet.asn.au> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 17:21:04 -0000 Thanks for the suggestion. I will post it in those lists. On Tue, Dec 08, 2015 at 12:04:26AM +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 601, Issue 1, Message: 4 > On Sun, 6 Dec 2015 17:44:01 -0200 > Lu?s Fernando Schultz Xavier da Silveira wrote: > > > I would like one of my jails to have the ability to play back sound, > > but not to record it. As I understand, sound is played back by writing > > to /dev/dsp and recorded by reading from it. Hence, placing the /dev/dsp > > device (and /dev/dsp[0-9]* devices) in the jail via devfs.rules is not > > a solution since the jail superuser can override permissions on these > > devices and even read from them when they lack read permission. > > > > Is there a way to give a device to a jail in read-only mode? > > If not, is it possible to create a virtual OSS stack and give that to > > the jail? > > How would you solve this problem? > > > > Also, is it possible to give the jail a mixer device that can only read > > mixer settings but not alter them? > > > > Thanks, > > Lu?s > > Sorry about charset mapping .. > > I suggest asking this (interesting) question in either or both of > freebsd-jail@freebsd.org and freebsd-multimedia@freebsd.org . > > I'm vaguely wondering if you could use port audio/jack for this, but > I've only used that on Linux, and that with ALSA .. but I expect you > should find some help from the habitual denizens of those lists. > > cheers, Ian > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Dec 7 19:11:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53A4C9C1EA2 for ; Mon, 7 Dec 2015 19:11:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EC17105F for ; Mon, 7 Dec 2015 19:11:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tB7JBS1u046877 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 7 Dec 2015 12:11:28 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tB7JBSuo046874; Mon, 7 Dec 2015 12:11:28 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 7 Dec 2015 12:11:28 -0700 (MST) From: Warren Block To: Stephen Cook cc: Paul Stuffins , freebsd-questions@freebsd.org Subject: Re: Migrating to FreeBSD from Debian In-Reply-To: <5665A42C.8090500@gmail.com> Message-ID: References: <5665A42C.8090500@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 07 Dec 2015 12:11:28 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 19:11:31 -0000 On Mon, 7 Dec 2015, Stephen Cook wrote: > On 12/7/2015 9:13 AM, Paul Stuffins wrote: > >> One of my main frustrations is upgrading installed ports, on Debian I just >> need to run "sudo apt-get update && sudo apt-get upgrade", but I have never >> been able to work out how to upgrade installed ports. > > > portmaster -a Only after reading the newest entries in /usr/ports/UPDATING and doing those first. Always, always read that first. Here is a complete overview of updating ports: http://www.wonkity.com/~wblock/docs/html/portupgrade.html From owner-freebsd-questions@freebsd.org Mon Dec 7 19:18:39 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E45B59D26EB for ; Mon, 7 Dec 2015 19:18:39 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) Received: from nm44-vm10.bullet.mail.gq1.yahoo.com (nm44-vm10.bullet.mail.gq1.yahoo.com [67.195.87.215]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE1161A40 for ; Mon, 7 Dec 2015 19:18:39 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1449515758; bh=JCLFujSz/dPoX1R03eSkXOR7z6keHuFndH2bFReQQ8s=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=nhtBgTzSs74HjT5u5EKNd6upl/L7Of/hJti9AR6dehwGpAxKwwt18z+8PQeMhViauNm0dXupDBWhPAu60jJh6IE33Ty1i4h9im9sUr6CTyoT9IgVxDRd4LXYCuIk/sr8K2vFf5y3wofXYiGBCpvH3t08i7i5pZbMUw3RA1W8ad8mFbtvsk9ht7IZDNfanT3hVmwnrA1yFtUyCieH3fGamOkmoBbCYuBhBdXa3LvgEjmNQpF16gCDq49VdZKgB+6xO71QXYQ27bB0Zkk1CopIiEXOZoESaMuth3RtBZZ+JPmCw9brimaIDaIKbIrz75E6g4E5KY2jVVPqtqVa1fEZjA== Received: from [127.0.0.1] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 07 Dec 2015 19:15:58 -0000 Received: from [98.137.12.59] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 07 Dec 2015 19:12:57 -0000 Received: from [98.137.12.193] by tm4.bullet.mail.gq1.yahoo.com with NNFMP; 07 Dec 2015 19:12:57 -0000 Received: from [127.0.0.1] by omp1001.mail.gq1.yahoo.com with NNFMP; 07 Dec 2015 19:12:57 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 260623.80430.bm@omp1001.mail.gq1.yahoo.com X-YMail-OSG: Fe5_VqMVM1m_lNPCpw5ig8erHdW3yZ20Oj4InjK1TmVu9FyswL3jkH9ysP7raQl f1WN2Vjbd3mJcXXJ7zDu3H26Lm8q8wKhFVVI3aBpLbKHHxCefu4vQOmPjHtTvdeWpZ6rORRHvEWG X29sBnGmvWQ9CWiS4cySZOfthdPa.Bica5onhhXpMvs5iJdfyd8Rer43AFq3XVNaB2q0fISGgywD IGvI9ck6BNRuQ7rldUurT669BrWM51NY4E0FJ1Taik99CnvkLJXN_Cwnz1lO701xSyO8MGAsx0SO 3TZ9uOISaG6oAZj3bt.tK6omfSkzZokLj9pk8pzCQIkLYDT2UPFLoHMnFi80Bdxbe0C_TfCkoCtP c.jqXgFZLccK74ThptYd_3CtBui3KAyBmfLpOxL7CLXY3cmIxeN7hMLgAJEIGUFXhF8KIFSg41XM r4qkQpGUd5PbbwliyhqluJdCl_7eADD6RWD3kRgMqFcyQYb0Zk1HbzUQVoc8mU5qYFBnijD61JMQ Y9FMWhB3LLVev5x2CMjlTPA-- Received: by 216.39.60.209; Mon, 07 Dec 2015 19:12:56 +0000 Date: Mon, 7 Dec 2015 19:12:55 +0000 (UTC) From: Pallav Bose Reply-To: Pallav Bose To: Polytropon Cc: "freebsd-questions@freebsd.org" Message-ID: <1898250304.15775171.1449515575563.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20151205012052.77256a47.freebsd@edvax.de> References: <20151205012052.77256a47.freebsd@edvax.de> Subject: Re: Meaning behind target ID in the output of camcontrol and MegaCli MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 19:18:40 -0000 Thank you for replying, Polytropon. Given that my setup has exactly one LUN= per target, the mapping from MegaCli to camcontrol - [adapter,slot,target = ID] =3D> [adapter,target ID,device name] is accurate? And device enumeratio= n is stored in the RAID controllers' firmware?=C2=A0Regards,Pallav=20 On Friday, December 4, 2015 4:20 PM, Polytropon wrot= e: =20 On Fri, 4 Dec 2015 22:29:28 +0000 (UTC), Pallav Bose via freebsd-questions= wrote: > My understanding is that the target ID links a disk in a particular > slot on a particular adapter to its device name. This can be gathered > from the MegaCli configuration output above and the camcontrol output > below. MegaCli gives us the 3-tuple [adapter,slot,target ID] and > camcontrol gives us the 3-tuple [adapter,target ID,device name]. So, > I now know what device name does a physical disk (configured as a > RAID 0) in a particular slot on a particular adapter map to. The numbering B:T:L (or B:T:U) is typical regarding how SCSI enumerates devices. B is the bus number, T the target number (the device on that bus), and L is the LUN (logical unit number) depending on the device, which can have more than one "unit" (slot, drive, whatever). In ye olden times one SCSI bus could have up to 8 devices, numbered 0 - 6, and 7 being the controller itself. The number of a device ("target") usually was configured via jumpers on that device. Today, ATA and SATA, as well as other mass storage means, have adopted CAM ("SCSI language"), so some terminology is still being used. But device enumeration isn't coded in hardware anymore. Modern SCSI BIOSs typically do that in firmware. See this for example: % camcontrol devlist =C2=A0 =C2=A0 at scbus0 target 0 lun 0 (pass= 0,cd0) =C2=A0 =C2=A0 =C2=A0 =C2=A0 at scbus3 target 0 lu= n 0 (da0,pass1) =C2=A0 =C2=A0 =C2=A0 at scbus3 target 0 lun 1 = (da1,pass2) =C2=A0 =C2=A0 =C2=A0 =C2=A0 at scbus3 target 0 lu= n 2 (da2,pass3) As you can see, there are a bus 0 and bus 3, each with only one device, but target 3:0 has three LUNs. In your case, it's a lot easier: > # camcontrol devlist > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 0 lun 0 (pass0,da0) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 1 lun 0 (pass1,da1) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 2 lun 0 (pass2,da2) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 3 lun 0 (pass3,da3) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 4 lun 0 (pass4,da4) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 5 lun 0 (pass5,da5) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 6 lun 0 (pass6,da6) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 7 lun 0 (pass7,da7) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 8 lun 0 (pass8,da8) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 9 lun 0 (pass9,da9) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 10 lun 0 (pass10,da10) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 11 lun 0 (pass11,da11) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 12 lun 0 (pass12,da12) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 13 lun 0 (pass13,da13) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 at scbus0 target 14 lun 0 (pass14,da14) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 at scbus2 target 0 lun 0 (pass15,da15) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 at scbus2 target 1 lun 0 (pass16,da16) > =C2=A0=C2=A0 at scbus4 target 0 lun 0 (da= 17,pass17) Bus 0 with 15 targets, each with one LUN, and bus 2 with two of them. They represent two "SCSI adapters", each one representing a disk as a _single_ target (with one LUN). It could have been a different setup, for example, one target per four disks with LUNs 0 - 3... --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Dec 7 19:21:17 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BB849D2BF5 for ; Mon, 7 Dec 2015 19:21:17 +0000 (UTC) (envelope-from will.senn@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 587BB1FBE for ; Mon, 7 Dec 2015 19:21:17 +0000 (UTC) (envelope-from will.senn@gmail.com) Received: by qkdb5 with SMTP id b5so37614320qkd.0 for ; Mon, 07 Dec 2015 11:21:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=IXucdrNkaOaKzJs4p4Wla5xJanQLkWxBAHDFM6cvEDY=; b=p9qgdVZud+GYST60t+uBmFauwQz6p9+F60gGkQU8ysrWmjOQc+qiJ8E0H1WV8lED6S GMlahkoiIuEoS9bItoecVsoxyoOMeFcgGNsQbZKbo3LstNtoZjHYk6ScUM2mkoaD9q9u Su+rqJ88ADSstnzaY91UhuWoIjHxceYpWLq+GsdF3GtejlvlIo/D3a0uKH8/mhF1Hz/8 5p0ftCXLWPLFpp9f7glXwJ0sFq2Otz8kvU61P2tY8hXOWU3sSi/HNxdofchhc6C8FN2P j3n/v1AksOiR/16nfDfCOHmfcfXoBCIQMWRHSjUpIhCcQWIPDddkEktD277tDoCO2mpM sc7g== X-Received: by 10.129.153.148 with SMTP id q142mr23065194ywg.260.1449516076203; Mon, 07 Dec 2015 11:21:16 -0800 (PST) Received: from [192.168.0.4] ([206.251.219.82]) by smtp.gmail.com with ESMTPSA id i204sm19805912ywb.9.2015.12.07.11.21.15 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 11:21:15 -0800 (PST) Subject: Re: Migrating to FreeBSD from Debian To: freebsd-questions@freebsd.org References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <5665A68C.40007@ravexdata.com> From: Will Senn Message-ID: <5665DC2A.4070801@gmail.com> Date: Mon, 7 Dec 2015 13:21:14 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5665A68C.40007@ravexdata.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 19:21:17 -0000 On 12/7/15 9:32 AM, Paul Stuffins wrote: >> But we should warn then about not mixing ports & packages. I agree, >> pkg is a good choice [when pkg only]. > I have not set up the system yet, so there is no worry about mixing > ports and packages from the off. As a fellow Debian user turned FreeBSD user, I just use pkg unless I need something exotic. In my view, pkg serves the same basic function and it's even simpler to use than apt-get (hard to believe, I know). I have to admit that both Debian's flavor of Linux and FreeBSD are similar in terms capability and of being rock solid, but I truly appreciate FreeBSD's approach to documentation and community over Debian's. This combined with an operating system that is more coherent that most of the Linuxes out there, even Debian (a significant userland is part of the OS as opposed to separately packaged) has made the experience of switching a very positive one, but not a painless one (printing, in particular was challenging). -will From owner-freebsd-questions@freebsd.org Mon Dec 7 21:13:58 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C9F99C110A for ; Mon, 7 Dec 2015 21:13:58 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BEDE18BC for ; Mon, 7 Dec 2015 21:13:57 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from desk8.phess.net ([95.88.166.205]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MdFwl-1Zoei93sId-00IVfJ for ; Mon, 07 Dec 2015 22:13:54 +0100 From: Patrick Hess To: FreeBSD Questions Mailing List Subject: Synchronizing directory hierarchies via SFTP Date: Mon, 07 Dec 2015 22:13:53 +0100 Message-ID: <13761006.QDN0LtKzYl@desk8.phess.net> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p24; KDE/4.14.3; i386; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:zWsxkl95Vzq6UvqOXoXMDDItxZtF/XUcWssmSvt1sm5SmvtFX1T 0XX+iK9piiyBUzjNPdbLvTTbZ/ioDN+UlszWIk0WT+rPm/gD8tpYJtOIYKKjq+0wi9hs+md f3hCQOVzmYuCsqQtUkI45grwBmfWCiqH6hpz9s/48HDVMB3Nq9dbhwHvBU8nvdShXspjenD GRic2pZBzY05oTHYapRPQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:vrImZ1eVIKQ=:y1ooPaoW2306RZ762qIKlc oz9Shp/N8NCDUhtxdKeRd/xLF2w52pPX/7xeK+yPBRN1E13rx0LIVkVbOsUU61Kxk83iu9NKu EyjTjXvVGRRV1cCoJSJuvSZkFTytCNOsbgJl/w+FTNLtTCcIWEfhqxR5eOFd7ohV+ECEAXuJU 86/ctkBt+kQn6DHIGUt/O26DBa9PwnAIJaDYMEwUHy05G19AVioiYwGCcbtATZXCw/XVFEXfn YsEIvR+i1cu5+bNpWQ+mI9rNIuanC9WMZJYax0KnORAs8Gb2cTQm4pVmVDcET9NadixCFLIOW RdtePqDG+0fSN6M2uWl2CrUvVrbM+0FeVAvCbO0mq9nUQxGrYB4QK4nruB7M7mSW+bcj/u5/y c4LrvPxoE0X287LJ/q3C2c+ebfJdghUEWZbsT3xr2UkHZ7nmvK2FkBWj7LMmqn8ixUVXBEHU/ ZYMHUpxvVeNHeeVXh2HPF30v9dmgAVnHX07TfaQDOK7ZehuIk8g1Mqty+zeXE5AaYcfdXq5L2 mOVsB3ioQGPlMRZNG33E5huPsQ34Lc4I7XLJ+PyjsVi4pz2A2D7UhjAGdHIPWwaNG+++Q8AIz g+Z7OEFKEvW6JkP8DwAQpiMOg9DIDy09BhvYyJeEUf/TMUHaQDcUrXoWkswDXS6dIOsl4AJSk C58GZMDXP/4FPahH6jUsGW6aFktqLd/EFAaGOBXOvsghZ4oUJTkFyxNyOI/WXGKKooWNLg16B Q2KH5wURSJZYzEKcOd3QKVQUyV/NcRuDuz6dOgkbP2wbvSJQwE43Juf0G41WIY30WncAuMd22 dBVitpm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 21:13:58 -0000 Hi, what command-line tool could you recommend if you were in the need to synchronize a complete directory hierarchy from your local system to a remote server via SFTP? In the past, I was always able to use tools like cpdup or rsync for this kind of job, but this time SFTP is the only game in town. :-( I actually had a hard time finding anything useful. The only thing that came up so far is https://www.csync.org, which compiles fine on FreeBSD and does exactly what I need. Unfortunately, there doesn't seem to exist a port yet. There's net/csync2, but that's completely unrelated to www.csync.org. So before I go and create a new port for csync, is there anything similar already available in the ports? Thanks. Patrick From owner-freebsd-questions@freebsd.org Mon Dec 7 22:13:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DED789C1AD1 for ; Mon, 7 Dec 2015 22:13:45 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9EC01199 for ; Mon, 7 Dec 2015 22:13:44 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.130.11.109] (cm-84.210.87.28.getinternet.no [84.210.87.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id 7437F8B6; Mon, 7 Dec 2015 22:13:35 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Synchronizing directory hierarchies via SFTP From: Terje Elde X-Mailer: iPhone Mail (13B143) In-Reply-To: <13761006.QDN0LtKzYl@desk8.phess.net> Date: Mon, 7 Dec 2015 23:13:34 +0100 Cc: FreeBSD Questions Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: <13761006.QDN0LtKzYl@desk8.phess.net> To: Patrick Hess X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 22:13:46 -0000 > On 07 Dec 2015, at 22:13, Patrick Hess wrote: >=20 > So before I go and create a new port for csync, is there anything > similar already available in the ports? What about combining things? You could mount the sftp locally (sshfs, fuse?), and then use rsync as if wi= th two local dirs? (If that will be efficient depends a lot on your workload) Terje= From owner-freebsd-questions@freebsd.org Mon Dec 7 22:19:39 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFE599D3038 for ; Mon, 7 Dec 2015 22:19:39 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) Received: from the-host.seacom.mu (ge-1.ln-01-jnb.za.seacomnet.com [105.28.96.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46B991382 for ; Mon, 7 Dec 2015 22:19:38 +0000 (UTC) (envelope-from mark.tinka@seacom.mu) Received: from [127.0.0.1] (helo=Mark-Tinkas-MacBook.local) by the-host.seacom.mu with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id NZ0DK6-0001M1-CQ; Tue, 08 Dec 2015 00:09:42 +0200 Subject: Re: Migrating to FreeBSD from Debian To: Stephen Cook , Paul Stuffins , freebsd-questions@freebsd.org References: <5665A42C.8090500@gmail.com> From: Mark Tinka Message-ID: <566603A6.50504@seacom.mu> Date: Tue, 8 Dec 2015 00:09:42 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <5665A42C.8090500@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 22:19:39 -0000 On 7/Dec/15 17:22, Stephen Cook wrote: > > portmaster -a I go "portmaster -ad", to save space. Mark. From owner-freebsd-questions@freebsd.org Mon Dec 7 22:24:24 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D1F59D3468 for ; Mon, 7 Dec 2015 22:24:24 +0000 (UTC) (envelope-from melson.r@att.net) Received: from nm20-vm2.access.bullet.mail.bf1.yahoo.com (nm20-vm2.access.bullet.mail.bf1.yahoo.com [216.109.115.113]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39C9617FC for ; Mon, 7 Dec 2015 22:24:23 +0000 (UTC) (envelope-from melson.r@att.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1449526961; bh=n6un0+UYn8e+