Old file reappeared by itself

2012-11-12 Thread Artem Kuchin

Hello!

I think i saw things like this on this box in the past and i always 
thought that i screwed up myself.

Buy today i am sure it happened by itself and i have proof.

First, config:

# uname -a
FreeBSD XXX 8.2-STABLE FreeBSD 8.2-STABLE #7: Tue Dec 27 20:43:27 GMT-4 
2011 X@X:/usr/obj/usr/src/sys/OMNI4  amd64


# df
Filesystem1K-blocks  Used Avail Capacity  Mounted on
/dev/da0s1a 2026030552382   131156630%/
devfs 1 1 0   100%/dev
/dev/da0s1g   699765734 511489090 13229538679%/hosts
/dev/da0s1d16244334  5562  14939226 0%/tmp
/dev/da0s1f20308398   8684136   59246%/usr
/dev/da0s1e10154158 27062   9314764 0%/var
devfs 1 1 0   100%/var/named/dev
/hosts/hoster 699765734 511489090 13229538679% /hosts/X1/hoster
/hosts/hoster 699765734 511489090 13229538679% /hosts/X2/hoster
/hosts/hoster 699765734 511489090 13229538679% /hosts/X3/hoster
/hosts/hoster 699765734 511489090 13229538679% /hosts/X4/hoster
/usr/ports 20308398   8684136   59246% /hosts/X1/usr/ports
/usr/ports 20308398   8684136   59246% /hosts/X2/usr/ports
/usr/ports 20308398   8684136   59246% /hosts/X3/usr/ports
/usr/ports 20308398   8684136   59246% /hosts/X4/usr/ports

# tunefs -p /dev/da0s1a
tunefs: POSIX.1e ACLs: (-a)disabled
tunefs: NFSv4 ACLs: (-N)   disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) disabled
tunefs: gjournal: (-J) disabled
tunefs: trim: (-t) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

# tunefs -p /dev/da0s1e
tunefs: POSIX.1e ACLs: (-a)disabled
tunefs: NFSv4 ACLs: (-N)   disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: gjournal: (-J) disabled
tunefs: trim: (-t) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

Memory:16GB,
CPU: 8cores XEON
DISKS: RAID10 (4 disks)

The machines runs 4 jails. Everything is in the jails except NAMED.
Named is run on the root host (if i may say so) itself.
There is a zone file there which i changed last week.
Today in the morning i try to open a site and host name is not found. It 
worked on friday.
I went to see the the zone file. IT WAS DATED 2010  I open it and 
the serial number is
something like 201103021. I do all my serials using dates, so, while the 
file date is 2010

the content is from 2011 and it sure does looks so.
Then i go to secondary zone (slave) on another server and there i find 
the zone from last week.
I checked all logs  and did not find anything special. The zone file 
from 2010 just reappeared

from nowhere kill all the new changes.
As i said, i saw things like this in the past. It happened insides jails 
and was related to files
for web sites and i thought that i and someone else messed up. No i 
think i saw the same thing.


How, how the hell it is possible?

Artem






--
С уважением,
Артем Кучин
Компания Ай Ти Легион
www.itlegion.ru
www.hostilla.ru
+7 (495) 232-0338



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Wine-fbsd64 updated to 1.5.17 (32bit Wine for 64bit FreeBSD)

2012-11-12 Thread David Naylor
Hi,

Packages [1] for wine-fbsd64-1.5.17 have been uploaded to mediafire [2].  The 
packages for FreeBSD 10 use the pkgng [3] format.  

Please read the installation messages, if you use the nVidia graphics driver, 
for further information.  

FAQ
---
Q: wine: failed to initialize: / usr/local/lib32/wine/ntdll.dll.so: Undefined
symbol _ThreadRuneLocale
A: This problem is specific to FreeBSD-9.0, please either stick with 
wine-1.5.10 or update to a newer version of FreeBSD (-STABLE or 9.1).  
Apologies for the inconvenience.  

Q: Creating pkgng packages for FreeBSD-9
A: When there is no demand for FreeBSD-8 packages I'll create additional pkgng 
packages for FreeBSD-9.  Since it is possible to install the existing pkg 
packages in a pkgng environment (which I do) this is not a high priority.  

Q: Wine doesn't run (properly) with a clang built world
A: Clang was compiling i386 on a 16-byte boundary while gcc was using a 4-byte 
boundary.  To fix, recompile world after ensuring your sources include 
http://beta.freshbsd.org/commit/freebsd/r242835 or the relevant MFC.  

Regards,

David

[1]
 MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.17,1.tbz) = 
54065bf41dbb28ecd2c90baf6f7bf9a1
 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.17.1.txz) = 
69b90dba97312cc5a8561c87d214e814
 MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.17,1.txz) = 
e040dc940bb6cfd821d10f086d78e72d
[2] http://www.mediafire.com/wine_fbsd64
[3] http://wiki.freebsd.org/pkgng


signature.asc
Description: This is a digitally signed message part.


Re: gfc-afc-volume-mon

2012-11-12 Thread ajtiM
On Sunday 11 November 2012 19:05:59 Shane Ambler wrote:

 I have been running 9.0 all year and have seen this issue but haven't
 gone as far as tracking down the cause of it hanging like that. I
 wondered if it may have an issue with zfs - I run a pure zfs system.
 

I don't use zfs. Maybe is a bug?

Mitja

http://www.redbubble.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


computing kern.maxfilesperproc and kern.maxfiles

2012-11-12 Thread Rick Miller
Hi All,

I just posted a blog about how kern.maxfilesperproc and kern.maxfiles
are computed at
http://blog.hostileadmin.com/2012/11/12/freebsd-computing-kern-maxfilesperproc-and-kern-maxfiles/
for anyone who may be interested...

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gfc-afc-volume-mon

2012-11-12 Thread Steve Randall
On Mon, 12 Nov 2012 11:35:59 +1030
Shane Ambler free...@shaneware.biz wrote:

 On 12/11/2012 09:40, ajtiM wrote:
  Hi!
 
  I use FreeBSD 9.1-RC3 #0 r242324 mnow. After updtae from 9.1-RC2 to
  RC3 I have a problem with GIMP which start more slow than before and
  top shows me:
 
 
  THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND 3 102
  0 44176K  9256K CPU10   1:11 100.00% gvfs-afc-volume-mon
 
  Firefox and Inkscape wok same as before and gvfs-* doesn't show.
 
 
 I have been running 9.0 all year and have seen this issue but haven't
 gone as far as tracking down the cause of it hanging like that. I
 wondered if it may have an issue with zfs - I run a pure zfs system.
 
 While it will use 100% cpu and keep the disk busy I have tried letting
 it run for a few hours and it doesn't stop.
 
 It is gtk related - a lot of gtk/gnome apps trigger it when starting
 even xfce starts it on login, others will trigger/re-trigger when the
 open file dialog is used.

A web search turns up a number of reports of exactly this same
problem... on Linux. So, not a FreeBSD bug.


 
 My biggest concern is not knowing where it comes from - it is not
 listed in any packing list for installed ports. All the build logs
 from my tinderbox setup have no mention of it.

This looks like another auto-configure bug. gvfs-afc-volume-monitor is
built by devel/gvfs when the necessary library is present. It should
either be exposed as a port option or else be explicitly disabled.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gfc-afc-volume-mon

2012-11-12 Thread Otacílio
On 12/11/2012 11:46, Steve Randall wrote:
 On Mon, 12 Nov 2012 11:35:59 +1030
 Shane Ambler free...@shaneware.biz wrote:
 
 On 12/11/2012 09:40, ajtiM wrote:
 Hi!

 I use FreeBSD 9.1-RC3 #0 r242324 mnow. After updtae from 9.1-RC2 to
 RC3 I have a problem with GIMP which start more slow than before and
 top shows me:


 THR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND 3 102
 0 44176K  9256K CPU10   1:11 100.00% gvfs-afc-volume-mon

 Firefox and Inkscape wok same as before and gvfs-* doesn't show.


 I have been running 9.0 all year and have seen this issue but haven't
 gone as far as tracking down the cause of it hanging like that. I
 wondered if it may have an issue with zfs - I run a pure zfs system.

 While it will use 100% cpu and keep the disk busy I have tried letting
 it run for a few hours and it doesn't stop.

 It is gtk related - a lot of gtk/gnome apps trigger it when starting
 even xfce starts it on login, others will trigger/re-trigger when the
 open file dialog is used.
 
 A web search turns up a number of reports of exactly this same
 problem... on Linux. So, not a FreeBSD bug.
 
 

 My biggest concern is not knowing where it comes from - it is not
 listed in any packing list for installed ports. All the build logs
 from my tinderbox setup have no mention of it.
 
 This looks like another auto-configure bug. gvfs-afc-volume-monitor is
 built by devel/gvfs when the necessary library is present. It should
 either be exposed as a port option or else be explicitly disabled.
 ___


I did this. This bug report reports this issue and a patch is attached.

http://www.freebsd.org/cgi/query-pr.cgi?pr=173267

When using this patch you must enable afc, compile, install and
deinstall to remove files not list on pkg-plist.

After that, you must disable afc and install the port.

-Otacílio



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Multiple SSID with WiFi adapter and hostapd?

2012-11-12 Thread O. Hartmann
I have a question for short (since I failed, possibly due to
configuration inabilities of myself): is it possible to have multiple
SSID on the very same WiFi hardware adapter (TP-Link Atheros based
type)? Idea is, to have pseudo device wlan0 assigned to a SSID for the
internal use and another SSID for guests, which is not allowed to access
internal server infrastructure. I tried another pseudo device wlan1
and configured it the very same way in /etc/hostapd.conf, but this failed.

Please set me CC/email me, I do not subscribe the list.


Thanks in advance and regards,

oliver



signature.asc
Description: OpenPGP digital signature


Re: Multiple SSID with WiFi adapter and hostapd?

2012-11-12 Thread Olivier Nicole
Olivier,

 I have a question for short (since I failed, possibly due to
 configuration inabilities of myself): is it possible to have multiple
 SSID on the very same WiFi hardware adapter (TP-Link Atheros based
 type)?

Yes. DD-WRT does that very well.

Bests,

Olivier

  Idea is, to have pseudo device wlan0 assigned to a SSID for the
 internal use and another SSID for guests, which is not allowed to access
 internal server infrastructure. I tried another pseudo device wlan1
 and configured it the very same way in /etc/hostapd.conf, but this failed.

 Please set me CC/email me, I do not subscribe the list.


 Thanks in advance and regards,

 oliver

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


portsnap

2012-11-12 Thread ajtiM
Hi!

Is it something wrong with portsnap server or is something wrong with my 
system. When I run portsnap...:
portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.

but on http://www.freshports.org/ are many new ports (I like update Sage).

Thanks in advance.

Mitja

http://www.redbubble.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portsnap

2012-11-12 Thread ajtiM
On Monday 12 November 2012 17:46:44 Aldis Berjoza wrote:
 13.11.2012, 01:27, ajtiM lum...@gmail.com:
  Hi!
  
  Is it something wrong with portsnap server or is something wrong with my
  system. When I run portsnap...:
  portsnap fetch update
  Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
  Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
  Latest snapshot on server matches what we already have.
  No updates needed.
  Ports tree is already up to date.
  
  but on http://www.freshports.org/ are many new ports (I like update
  Sage).
  
  Thanks in advance.
  
  Mitja
 
 It takes some time for mirrors to catch up.

But is it about 12 hours okay (maybe more)?
Thanks.

Mitja

http://www.redbubble.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Attempting to build a port uses a stale make(1) configuration

2012-11-12 Thread Австин Ким
Hi, all,

While attempting to build the KDE 4 port, the build of /usr/ports/astro/gpsd 
(which recursively got pulled in somewhere) failed because make(1) tried to 
build using a version of GCC that I had installed from ports at one time but 
long since `make deinstall'ed:

...
cc -o gpxlogger.o -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pipe -O3 -march=native -fno-strict-aliasing gpxlogger.c
cc -o gpxlogger -Wl,-rpath=//usr/local/lib gpxlogger.o -L. -L/usr/local/lib 
-lrt -lgps -lm
cc -o lcdgps.o -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pipe -O3 -march=native -fno-strict-aliasing lcdgps.c
cc -o lcdgps -Wl,-rpath=//usr/local/lib lcdgps.o -L. -L/usr/local/lib -lrt 
-lgps -lm
gcc48 -o gpsclient-py_2_7_3_final_0.so -c -fno-strict-aliasing -O2 -pipe -O3 
-march=native -fno-strict-aliasing -fPIC -DNDEBUG -O2 -pipe -mfpmath=sse,387 
-march=pentium4 -fno-strict-aliasing -I/usr/local/include/python2.7 gpsclient.c
gcc48: not found
scons: *** [gpsclient-py_2_7_3_final_0.so] Error 127
scons: building terminated because of errors.
*** [do-build] Error code 2

Stop in /usr/ports/astro/gpsd.
*** [build] Error code 1

Stop in /usr/ports/astro/gpsd.


At one time I had installed GCC 4.8.0 from ports, but later removed it (due to 
stability issues), reverting back to using the default system compiler.  I 
removed the /usr/ports/lang/gcc48 port using `make deinstall,' and then removed 
any mention of `*48' from /etc/make.conf.  However, when make(1) tries to build 
/usr/ports/astro/gpsd above, it apparently tries to use an old setting of 
`CC=gcc48' and old settings of `CPUTYPE=pentium4' and 
`CCFLAGS+=-mfpmath=sse,387' that I once had in /etc/make.conf but long since 
deleted.

Any ideas where these stale make/build configurations might be lingering?  I 
suspect that the old options may be in some Python-related config file 
somewhere, but I have so far not been able to find where.  I know this doesn't 
give a lot to go on, but can anyone suggest possible places to try looking for 
stale configuration files?

Thanks in advance!
Austin Kim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkg_add and 9.1RC3

2012-11-12 Thread doug

Doing pkg_add in the normal way:

pkg_add -r diffuse
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/diffuse.tbz: 
File unavailable (e.g., file not found, no access)


To make it work:

setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/devel/
pkg_add -r diffuse-0.4.6_2

Is this just the way it is, or is there some magic to make it somewhat less 
tedious?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg_add and 9.1RC3

2012-11-12 Thread Polytropon
On Mon, 12 Nov 2012 23:54:14 -0500 (EST), doug wrote:
 Doing pkg_add in the normal way:
 
 pkg_add -r diffuse
 Error: Unable to get 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/diffuse.tbz:
  
 File unavailable (e.g., file not found, no access)
 
 To make it work:
 
 setenv PACKAGESITE 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/devel/
 pkg_add -r diffuse-0.4.6_2
 
 Is this just the way it is, or is there some magic to make it somewhat less 
 tedious?


I think this behaviour is intended: RC3 is the 3rd release
candidate for 9.1-RELEASE. The candidate already reflects the
correct access path for the binary installs via pkg_add.

This path _will be_ correct as soon as 9.1 has been released.
But as it it's not _yet_, the files are not present at the
designated location.

As 9.1-RC3 is on the path of 9-STABLE, your approach of
accessing the STABLE-related access path looks valid.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-12 Thread Erich Dollansky
Hi,

On Mon, 12 Nov 2012 21:22:00 -0800
Gary Kline kl...@thought.org wrote:

   hold your flame-throwers, because this is about how to get

you do not allow us some fun?

 ssh working from an outside computer into my brand new tao that is
 running a flavor of linux.  I just got my quad i5 box to replace the
 old, broken tao.  this was the box with the busted USB. [!]  Anyway,
 linux is installed; the box is on my internal IP net.  I can ssh
 *out*. to my server, vut from my server or wherever, I cant ssh back
 in.
 
   doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
   Connection refused.  if I try an ssh -X tao I get a string
 like Connnection closed.  can any of you network wizards or setup
   wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}
 
   anybody know what im NOT doing?

Proper setup?
Firewall?
inetd?

It sounds like something very, very obvious. But I know how it feels if
one cannot see the tiny thing. 

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-12 Thread Lucas B. Cohen
On 2012.11.13 06:22, Gary Kline wrote:
   anybody know what im NOT doing?
running sshd ? :)
Have you installed it ? sshd is the server program, it is fairly
independent from ssh, the client program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org