Re: 9.2-PRE: switch off that stupid Nakatomi Socrates

2013-09-30 Thread Florent Peterschmitt
Le 30/09/2013 20:23, David Demelier a écrit :
 Nice, but how does it handle if a Makefile contains a love target?

Then (f)make makes love the way we want him to do ;°

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: 9.2-RC1 panic at shutdown

2013-09-12 Thread Florent Peterschmitt
Le 12/09/2013 19:19, David Demelier a écrit :
 Hello folks,
 
 I have a panic at shutdown related to FUSE.
 #16 0x81af623b in fuse_unmount () from /usr/local/modules/fuse.ko

Yes, then, did you rebuilt the kernel module after an upgrade?


-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Package database

2013-09-04 Thread Florent Peterschmitt
Le 04/09/2013 19:43, Freddie Cash a écrit :
 If using PKGng, there's a backup copy under /var/db/backup*

And if the backup is corrupted, maybe with remote query and by making
the list of files in /usr/local, you can match packages that have to be
reinstalled (and maybe rebuild the database without reinstalling all
packages?).

Something to try.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: OVH KS-2G Random Reboots [FreeBSD 9.1-RELEASE-p6]

2013-08-29 Thread Florent Peterschmitt
You're lucky to get your KS-2G… I'm still waiting for mine since one month.

Maybe some crypto and/or UFS problems?

For the moment I have the old KS-2G at 9€HT (sorry for conversion), no
crypto and I ran 9.1-RELEASE without any problem. Or just one.

First I used UFS and during a night, building packages with poudriere,
with UFS, the server crashed. So maybe this crash and yours are the same.

However I never got any clue of what happened. And because something
went totally wrong after this crash (corrupted file system) I
reinstalled in full ZFS. No problem of this kind at all after.

Now I use 9.2-RC3 on ZFS and it's still running like a charm.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Behavior of jexec

2013-08-15 Thread Florent Peterschmitt
Hi,

I noticed two things when running jexec. I run FreeBSD 9.2-RC1 from
binaries and jails 9.2-RC1 too.

I log as root on the host (I havn't any other user).

# 1. $HOME

For a jail named blog with a blog user, which $HOME is at
/home/blog, if I do:

jexec -U blog blog tcsh

My id is correct, but $HOME is still root.

# 2. Accessing a jail in ssh command line

I'm on my client machine and want to get on the server machine,
where jails are, and I want to do a jexec from ssh command line:

ssh katana jexec -U blog blog tcsh

I get a connection (trusting /var/log/auth) but it hangs on and do
nothing. Event with a simple ls as jail command.

Thanks.


-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: FeeBSD 9.2-RC1 sendmail alisases.db missing

2013-08-12 Thread Florent Peterschmitt
Le 12/08/2013 14:27, CeDeROM a écrit :
 Hello :-)
 
 On a fresh install of FreeBSD 9.2-RC1 I get this warning:
 
 sm-mta[]: SYSERR(root): hash map Alias0: missing map file
 /etc/mail/aliases.db: No such file or directory.
 
 /etc/mail/aliases.db is missing and probably not generated from
 /etc/mail/aliases which seems to be on place.
 
 Please fix :-)
 
 Best regards :-)
 Tomek
 
Should'nt we do a cap_mkdp /etc/aliases ? It made the job for me.



signature.asc
Description: OpenPGP digital signature


Re: Problem with live cd :°(

2013-06-20 Thread Florent Peterschmitt
root

no password

Le 20/06/2013 14:14, emmanuel cozic a écrit :
 Hi
 
 What is the login end the password for live cd FreeBSD 9.1, please ?
 
 Thank you
 Emmanuel
 
 France
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 


-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: zpool labelclear destroys GPT data

2013-06-14 Thread Florent Peterschmitt
Le 14/06/2013 09:35, Johan Hendriks a écrit :
 Kimmo Paasiala schreef:
 On Fri, Jun 14, 2013 at 12:22 AM, Johan Hendriks
 joh.hendr...@gmail.com wrote:
 Op 13-6-2013 14:40, Kimmo Paasiala schreef:

 The 'device' can be a partition as well as the whole disk, use 'zpool
 labelclear' on the freebsd-zfs partition instead of the whole disk.

 -Kimmo

 On Thu, Jun 13, 2013 at 3:29 PM, Johan Hendriks
 joh.hendr...@gmail.com
 wrote:
 When i use zpool labelclear, it wipes the whole disk including gpt
 data.
 So the whole disk is empty and i need to create the gpt partitions
 again.

 Is this supposed to work like this?
 The man page suggests that it only wipes the ZFS metadata.

 zpool labelclear [-f] device

Removes ZFS label information from the specified device.
 The
 device
must not be part of an active pool configuration.

-v  Treat exported or foreign devices as inactive.

 This is on FreeBSD 9.1 stable r251213 memstick install.

 regards

 Johan Hendriks
 Neuteboom Automatisering
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 freebsd-stable-unsubscr...@freebsd.org
 Thanks for your reply.
 I will try it on the actual zfs partition.

 But imho it is a bad thing that it destroys the whole disk layout.
 It does not remove ZFS label information, it removes ALL label
 information
 on the disk or device you give it


 regards
 Johan Hendriks
 Neuteboom Automatisering

 Of course, zpool(8) will do exactly what you tell it to do. It does
 not know about any partitioning schemes and assumes that the user
 knows that using labelclear on a the whole disk will potentially
 destroy all data on it including any partitioning information.

 -Kimmo
 Well as i found out, zpool(8) does not know what it clears. ! :D
 
 I think an adjustment to the man page is in order here.
 The man page clearly state it removes ZFS labels, not GPT, gmirror and
 glabel labels.
 It should mention it will remove labels from the disk/device, and that
 it clears ALL labels.

I agree with that, I thought too that zpool cleared only ZFS related
labels. Thankfully no damage for me because it was in a script that wipe
out the entire disk.

 regards
 Johan Hendriks

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Error in make buildkernel `

2013-06-10 Thread Florent Peterschmitt
Le 10/06/2013 14:14, Jeremy Chadwick a écrit :
 On Mon, Jun 10, 2013 at 02:04:59PM +0200, Willem Jan Withagen wrote:
 I'm trying to build a stable kernle on a freshly build 8.4-Stable i386
 system.

 And I get:
 MAKE=make sh /usr/srcs/src9/src/sys/conf/newvers.sh GENERIC
 /usr/local/bin/svnversion
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
 -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
 -I/usr/srcs/src9/src/sys -I/usr/srcs/src9/src/sys/contrib/altq -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000  -mno-align-long-strings
 -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float
 -ffreestanding -fstack-protector -Werror  vers.c
 ctfconvert -L VERSION -g vers.o
 linking kernel.debug
 ld:/usr/srcs/src9/src/sys/conf/ldscript.i386:66: syntax error
 *** Error code 1

 Stop in /usr/obj/usr/srcs/src9/src/sys/GENERIC.
 *** Error code 1

 Stop in /usr/srcs/src9/src.
 *** Error code 1

 Line 66 is:   .eh_frame   : ONLY_IF_RO { KEEP (*(.eh_frame)) }
 The piece of code around line 66 looks like:

   PROVIDE (__etext = .);
   PROVIDE (_etext = .);
   PROVIDE (etext = .);
   .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
   .rodata1: { *(.rodata1) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
   .eh_frame   : ONLY_IF_RO { KEEP (*(.eh_frame)) }
   .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table
 .gcc_except_table.*) }
   /* Adjust the address for the data segment.  We want to adjust up to
  the same address within the page on the next page up.  */
   . = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) 
 (CONSTANT (MAXPAGESIZE) - 1)); . = DATA_SEGMENT_ALIGN (CONSTANT
 (MAXPAGESIZE), CONSTANT (COMMONPAGESI
 ZE));
   /* Exception handling  */

 Any suggestions on how to fix this??
 
 I can't help with the actual syntax error, but from the path names
 involved here, it looks like you:
 
 1) are using an alternate location for src (/usr/srcs not /usr/src),

For that we can do:

SRC_BASE=/usr/srcs/src9/src make target

But it shouldn't be a problem to build base system, it should occur only
with ports.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail
+33 (0)6 64 33 97 92   |  * PDF for documents
http://florent.peterschmitt.fr | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: recommended memory for zfs

2013-05-09 Thread Florent Peterschmitt
Le 09/05/2013 15:18, Benjamin Adams a écrit :
 Hello zfs question about memory.
 I heard zfs is very ram hungry.
 Service looking to run:
 - nginx
 - postgres
 - php-fpm
 - python
 
 I have a machine with two quad core cpus but only 4 G Memory
 
 I'm looking to buy more ram now.
 What would be the recommend amount of memory for zfs across 6 drives on
 this setup?
 
 
 Also can 9.1 now boot to zfs from the installer?
 (no tricks for post install)

Without cache, footprint of ZFS is larger than any other filesystem but
it is really very tiny (8Mio if my memory is good). I run my server on
an Intel Atom with 2GB of RAM, with Apache22, PHP, MySQL database and
ejabberd.

If you want to get ZFS on your system at install time, there are many
scripts on the Internet, and if you want you can take mine:

http://projet.beastie.eu/?p=freebsd-zfs.git;a=blob_plain;f=zfs.sh;hb=HEAD

Hoping it will help you.


-- 
Florent Peterschmitt
+33 (0)6 64 33 97 92
flor...@peterschmitt.fr


O ascii ribbon campaign
- stop html mail
- www.asciiribbon.org



signature.asc
Description: OpenPGP digital signature