Sergey Grigorian | 3 Sep 13:49 2015

10.2-RELEASE not forwarding packets/NATing with pf

Hello list.

I'm observing a weird thing with pf.conf/packet forwarding after upgrading from 10.1-RELEASE-p19 to 10.2-RELEASE.

I have a simple lan gateway with a primitive pf.conf which is running just fine on 10.1-RELEASE-p19,
performing some pretty minimal .

However, once I upgrade to 10.2-RELEASE kernel -- that is, after the first restart during "freebsd-update
upgrade -r 10.2-RELEASE" -- the box wont nat or forward packets anymore.

What could be the reason for this? Has anything change about pf between 10.1 and 10.2? Where do I look? Am I
missing soething obvious?


Here's the /etc/pf.conf:



set block-policy return

set loginterface $ext_if

set skip on lo

scrub in

(Continue reading)

Palle Girgensohn | 2 Sep 22:43 2015

How can I mirror for offline use?


I have some servers that have no direct access to internet. They can access a "support server" running
linux, and that machine can access the net.

I need to mirror so I can run freebsd-update locally. I have no interest in building my
own version, I simply want a local mirror that I can set in freebsd-update.conf. I'm not what is the best,
most preferred, way to do this, without putting unnecessary load on Any ideas?


Polytropon | 2 Sep 17:09 2015

Re: usb printers

Re-including list, hope that's okay.

On Tue, 1 Sep 2015 17:21:15 -0700, John Haraden wrote:
> ulpt0 and unlpt0 fail to appear after installing ulpt_load
> in /boot/loader.conf.  With and without the printer connected,
> several generic isn't ports urgenx.y appear.

So do I understand this correctly: When you plug in the printer
while the system is running, only a ugen device file appears,
or more than one?

Can you post the relevant last lines from the "dmesg" output
after you've attached the printer?

Example - this happens when I plug in my Samsung CLX-2160 to
my FreeBSD home system:

% dmesg
ugen4.3: <Samsung Electronics Co., Ltd.> at usbus4
ulpt0: <Samsung Electronics Co., Ltd. CLX-216x Series,
	class 0/0, rev 2.00/1.00, addr 3> on usbus4
ulpt0: using bi-directional mode

You should see something similar.

> I have prepared a postscript file text, ps beginning with %!PS.
> For each generic port,  I execute
> cat  >  /dev/genx.y
> Nothing prints.  Any suggestions?
(Continue reading)

Raimund Sacherer | 2 Sep 17:09 2015

How to convert a physical host into a Jail?


the first server I set up in our production environment was a backup server. Its FreeBSD 10.0 and I installed
our backup server directly without creating jails first. 

Now that I am much more familiar with FreeBSD and jails (iocage) I would like to:

clone (move, sync, ...?) the physical host into a iocage jail
after the clone works stop and remove the services from the host

Then upgrade to 10.2.

I am not sure on how to correctly move the physical host installation to the jail, also not sure about the
correct way for the jail to get to various zfs datasets which our backup server needs. Allow them to mount in
the Jail? Move them from where they are to beneath the jail? What are the differences? 

Thank you


freebsd-questions <at> mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at>"

Ernie Luzar | 2 Sep 15:59 2015

fail to fetch vulnxml file each night, as seen in daily security, run output.

Hello list;

I get the following message in the daily security run output on both my 10.1 and 10.2 systems. 
Both which were installed from scratch using a cdisc1.iso file.

Checking for packages with security vulnerabilities:
pkg: No route to host
pkg: cannot fetch vulnxml file

-- End of security output --

Is this normal by design?

freebsd-questions <at> mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at>"

Boris Samorodov | 2 Sep 14:31 2015

java park and sleep issue

Hi All,

I'm a newcomer to the java world, so my questions may be too vague.

So, I've got an unexpected result at FreeBSD (r287323 amd64) and java
(openjdk version "1.7.0_80"):
For timeVal = 0; Time elapsed: 1 ms
For timeVal = 1; Time elapsed: 2000 ms
For timeVal = 2; Time elapsed: 3000 ms
For timeVal = 3; Time elapsed: 4000 ms
For timeVal = 4; Time elapsed: 5000 ms

Linux (CentOS-6.6 x64) and java (java version "1.7.0_71") give a more
expected result:
For timeVal = 0; Time elapsed: 1 ms
For timeVal = 1; Time elapsed: 1056 ms
For timeVal = 2; Time elapsed: 2065 ms
For timeVal = 3; Time elapsed: 3066 ms
For timeVal = 4; Time elapsed: 4066 ms

The testcase is:
public class App {
    public static void main(String[] args) {
(Continue reading)


Jail causes host to reboot


after upgrading a package (net/syncthing) in a jail I experienced that
the host system rebooted. It seems because the jail starts at each boot
running syncthing again, the host system rebooted each time it started
the jail. A vicious circle. Because of this, I was nearly unable to
connect to the server.

By continuously pinging the server and sending a

	ssh <server> ezjail-admin config -r norun <jailname>

once I knew the server is online again, I could stop the circle and
finally log into the server again.

I guess that something's wrong with net/syncthing (or its configuration)
but what worries me more is how a malfunctioning jail can cause an
entire host system to reboot?

Thanks for your help and best,



freebsd-questions <at> mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at>"

(Continue reading)

dweimer | 2 Sep 06:16 2015

10.1 to 10.2 Failed with ZFS boot volume

I have upgraded a couple of my systems from 10.1-RELEASE-p17 to 
10.2-RELEASE-p2, the third one however was unable to boot after the 
upgrade. I was able to boot from the CD and switch the bootfs on the 
zpool back to the 10.1 data set.

The error I received was

panic: Solaris(panic): blkptr at 0xffff80007fd9848 DVA 2 has invalid 
OFFSET 37425723392

Screen Capture is here:

Does anyone have any ideas?

I am going to copy the environment to a new VM tomorrow and attempt to 
boot it off the network to see if I can troubleshoot more. I did copy 
the existing 10.1-RELEASE-p17 dataset to another machine that was 
already upgraded, installed the 10.2 version to it, and then moved it 
back to the main system then rebooted with it set as the bootfs. Always 
possible that some bits just got corrupted during the ZFS send/receive 


    Dean E. Weimer
freebsd-questions <at> mailing list
(Continue reading)

Rick Miller | 2 Sep 02:43 2015

vBSDcon 2015 is just around the corner...

Hi all,

vBSDcon 2015 is scheduled for September 11 - 13, 2015 at the Sheraton
Reston in Reston, VA.  vBSDcon aims to be a BSD conference inclusive of all
BSD communities and this year is no different than the inaugural event.  In
fact, this year's program includes a more diverse set of topics from
varying BSD communities.

For example, there are talks from members of each of the major BSD families
including FreeBSD, OpenBSD, and NetBSD such as The FreeBSD Foundation on
supporting a BSD project and presenting on the technical and
social impact of their platform and Shawn Webb and Pierre Pronchery
presenting on HardenedBSD and EdgeBSD, respectively.  And what conference
would be complete without a talk on ZFS?  Come see Allan Jude talk about
interesting things you didn't know you could do with ZFS.

vBSDcon is being brought to you by great sponsors including our platinum
sponsor, XinuOS, while The FreeBSD Foundation brings us a FreeBSD
Developer's Summit!  Cisco Talos is a Gold sponsor and the mid-conference
social is being brought to you, in part, by iXsystems!  RootBSD comes back
for the second time as the tote bag sponsor followed up by Daemon Security,
Cambridge Computer, and BigSwitch as Silver and Saturday Breakfast sponsors!

Online registrations are currently open at  Your registration
includes access to the welcome reception and mid-conference social as well
as breakfast, lunch, and breaks during the conference.  Your RootBSD
sponsored tote bag also includes a vBSDcon 2015 t-shirt in addition to
sponsor gifts!

We'll see you there!
(Continue reading)

Stari Karp | 2 Sep 00:45 2015

usb reader card mount


My system FreeBSD 10.2-RELEASE (GENERIC/amd64) and GNOME 3.16 started
with GDM.

On previous version of GNOME 3.14 I didn't have a problem with
automounting USB card reader but now on 3.16 I have problem just with
unmount. I got a message:
Cannot umount volume
Cannot umont volume "BLA BLA' cannot remove directory. But it is
unmounted but empty directory is there still.
In /var/log/messages I have:

Aug 30 14:09:45 starikarp kernel: ugen3.5: <Generic> at usbus3
Aug 30 14:09:45 starikarp kernel: umass2: <Generic Mass Storage Device,
class 0/0,
rev 2.00/1.00, addr 5> on usbus3
Aug 30 14:09:45 starikarp kernel: umass2:  SCSI over Bulk-Only; quirks
= 0xc100
Aug 30 14:09:45 starikarp kernel: umass2:5:2:-1: Attached to scbus5
Aug 30 14:09:45 starikarp kernel: da1 at umass-sim2 bus 2 scbus5 target
0 lun 0
Aug 30 14:09:45 starikarp kernel: da1: <Generic USB  SD Reader 0.00>
Removable Dire
ct Access SCSI-2 device
Aug 30 14:09:45 starikarp kernel: da1: Serial Number 00000000000006
Aug 30 14:09:45 starikarp kernel: da1: 40.000MB/s transfers
Aug 30 14:09:45 starikarp kernel: da1: 1938MB (3970048 512 byte
sectors: 255H 63S/T
(Continue reading)

Lev | 2 Sep 00:29 2015

LaTeX issues


If I run texi2dvi, I get this:

/usr/local/bin/texi2dvi --pdf --batch  --build-dir=pcb.t2p -o pcb.pdf  \
/usr/local/bin/texi2dvi: texinfo.tex appears to be broken.
This may be due to the environment variable TEX set to something
other than (plain) tex, a corrupt texinfo.tex file, or 
to tex itself simply not working.
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (Web2C 2015) (preloaded format=etex)
 restricted \write18 enabled.
---! /usr/local/share/texmf-var/web2c/pdftex/etex.fmt doesn't match pdftex.pool

If I run latex, I get this:

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (Web2C 2015) (preloaded format=latex)
 restricted \write18 enabled.
---! /usr/local/share/texmf-var/web2c/pdftex/latex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)

IMHO there's something wrong with the current LaTeX packages. Please
note that I upgraded recently from 10.1 to 10.2. Did I do something
wrong while doing the upgrade?

uname -a
FreeBSD jive 10.2-RELEASE-p2 FreeBSD 10.2-RELEASE-p2 #0: Sat Aug 29 17:41:30 CEST 2015    
leva <at> jive:/usr/obj/usr/src/sys/GENERIC  amd64

Any workaround?
(Continue reading)