Sergey Grigorian | 3 Sep 13:49 2015
Picon

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?

Thanks.

Here's the /etc/pf.conf:

ext_if="hn0"

int_if="hn1"

set block-policy return

set loginterface $ext_if

set skip on lo

scrub in

(Continue reading)

Palle Girgensohn | 2 Sep 22:43 2015
Picon

How can I mirror update.freebsd.org for offline use?

Hi,

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 update.freebsd.org 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 update.freebsd.org. Any ideas?

Palle

Polytropon | 2 Sep 17:09 2015
Picon

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 text.ps  >  /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?

Hello, 

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
Best
Ray

--

-- 
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Ernie Luzar | 2 Sep 15:59 2015
Picon

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: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host
pkg: cannot fetch vulnxml file

-- End of security output --

Is this normal by design?

_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Boris Samorodov | 2 Sep 14:31 2015
Picon

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"):
-----
Starting...
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:
-----
Starting...
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)

Picon

Jail causes host to reboot

Hi,

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,

--

-- 

Niklaas
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

(Continue reading)

dweimer | 2 Sep 06:16 2015
Picon

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:
https://pydio.dweimer.net/data/public/freebsdpanic

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 
operations.

--

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
(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 Devio.us 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 vBSDcon.com.  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

Hi!

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
 247C)
(Continue reading)

Lev | 2 Sep 00:29 2015
Picon

LaTeX issues

Hi,

If I run texi2dvi, I get this:

/usr/local/bin/texi2dvi --pdf --batch  --build-dir=pcb.t2p -o pcb.pdf  \
pcb.texi
/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)


Gmane