Re: doom, quake, hexen...

2012-08-20 Thread Yuri Pankov

On Mon, 20 Aug 2012 21:24:32 +0700, Victor Sudakov wrote:

Colleagues,

Please advise if there are any 3D shooters in the ports collection
which work out of the box on 9.0-STABLE (amd64)? None of those I have
tried work for a number of irritating reasons, like e.g.

games/uhexen: http://pastebin.com/ZaJ74eaa

games/doom: http://pastebin.com/XdrCwzvn

games/quake2lnx even pretends to do something: it opens a tiny X11
window with some flickering rubbish and plays some farting sounds to
the audio system.

Is there any working 3D shooter in the ports collection my 8 year old
son could enjoy?

Thank you very much in advance.


Try games/deng.
___
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: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Yuri Pankov

On Sat, 03 Mar 2012 01:07:27 +0200, Vladislav V. Prodan wrote:


03.03.2012 0:59, Yuri Pankov wrote:

You have 'c' specified once and don't seem to be piping the output to
another program. Try specifying 'c' twice as the part of the manpage you
pasted suggests?




It also does not work this version:

# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -s -c


Well, twice means cc :-)
___
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: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Yuri Pankov

On Sat, 03 Mar 2012 00:52:19 +0200, Vladislav V. Prodan wrote:


Subj.

# uname -a
FreeBSD XXX.ru 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: Mon Dec  5
14:56:07 EET 2011 r...@xxx.ru:/usr/obj/usr/src/sys/XXX.2  amd64


# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -sc
root 24776   0,0  0,0  16408   1364   9  S+2:50
0:00,00 grep syslog


#man syslogd

...
  -c  Disable the compression of repeated instances of the same line
  into a single line of the form ``last message repeated N
times''
  when the output is a pipe to another program.  If specified
  twice, disable this compression in all cases.
...


You have 'c' specified once and don't seem to be piping the output to 
another program. Try specifying 'c' twice as the part of the manpage you 
pasted suggests?

___
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: uname ?

2012-02-02 Thread Yuri Pankov
On Thu, Feb 02, 2012 at 11:30:51AM -0700, Chad Perrin wrote:
 On Thu, Feb 02, 2012 at 03:09:00PM +0800, joeb1 wrote:
  It looks to me that the  uname -m  and  uname -p  always have the same
  value, such as i386.
  
  Is there some fine-grained difference or some un-documented difference
  between them
  or some combination were the values would be different?
 
 I don't have one handy, so I don't have any way to test this right now,
 but I wonder if an AMD machine might give a different answer to one of
 those than an Intel machine, given a 32-bit 386 instruction set processor
 for both.

I *guess* they will be different for some targets in this list:

$ make targets -C /usr/src
Supported TARGET/TARGET_ARCH pairs for world and kernel targets
amd64/amd64
arm/arm
arm/armeb
i386/i386
ia64/ia64
mips/mipsel
mips/mipseb
mips/mips64el
mips/mips64eb
mips/mipsn32eb
pc98/i386
powerpc/powerpc
powerpc/powerpc64
sparc64/sparc64


Yuri


pgp3oTUsEpBMa.pgp
Description: PGP signature


Re: Support Issue 164620

2012-01-31 Thread Yuri Pankov
On Wed, Feb 01, 2012 at 02:18:46AM +0100, Nikola Pavlović wrote:
 On Tue, Jan 31, 2012 at 06:28:25PM -0600, Morris Allen wrote:
  
  To whom it may concern:
  
My question is?  So is this problem in the process of being looked
  at?  Or am I being directed to a different group in the BSD support staff?
  
   
 
 It's an automatic notice to let you know the issue tracker has received
 the problem report.  So hopefully, someone will look at it.
 
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=164620
  
 
 It seems you just pasted the text from the docs (Handbook
 probably) on GEOM RAID 1, without any info as to what is the problem
 you're having.  Not to mention the wrong Environment entry etc.
 
 I think you would benefit from reading this:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html

And there are no support issues, PRs are for reporting real problems.
If you need to ask something, just use this list instead.


Yuri


pgpVw7C86a7CD.pgp
Description: PGP signature


Re: What is the FreeBSD mdoc (man) to HTML toolchain?

2012-01-30 Thread Yuri Pankov
On Mon, Jan 30, 2012 at 05:44:28PM -0500, Jason Massey wrote:
 Dear FreeBSD masters:
 
 I am looking to understand the toolchain that begins with an mdoc-based
 manual page and ends with a nice HTML file (as illustrated by
 http://www.freebsd.org/cgi/man.cgi?query=groff_mdocapropos=0sektion=0manpath=FreeBSD+9.0-RELEASEarch=defaultformat=html
 ).
 
 Hypothetically, were I personally attempting to convert the `groff_mdoc.7'
 manual page to HTML, from what I've researched the command should be:
 
 groff -mdoc -Thtml groff_mdoc.7 | tidy  bsdgroff.html
 
 [1]
 Is the above command how the FreeBSD project produces its gorgeous HTML man
 pages?
 
 [2]
 How does one associate a link .../ CSS stylesheet with the resultant
 file? I cannot locate a `groff' command switch to stop it from inserting
 its own inline style information.
 
 == Research I've performed:
 
 I have read GROFF_MDOC(7) in its entirety.
 
 I have searched GROFF(1) and groff's [Tex]info document.

Not really answering your question, but.. Take a look at textproc/mdocml
as an alternative to groff (and for converting man/mdoc - html).


Yuri


pgpcWXvIQckku.pgp
Description: PGP signature


Re: Old Bug or not?

2012-01-26 Thread Yuri Pankov
On Thu, Jan 26, 2012 at 07:48:18AM -0500, Jerry wrote:
 There seems to be an old BUG,
 http://osdir.com/ml/freebsd-bugs/2006-04/msg00309.html
 that has recently been noted on the Postfix forums.

403 Forbidden

 Was this bug ever actually addressed? In other words, is this an
 actual bug or is it working as intended? If it is a bug, and since
 it is apparently nearly 5 years old, will anyone actually ever look at
 it?


Yuri


pgpuXXC1pe4SC.pgp
Description: PGP signature


Re: Problems uppgrading x11/sessreg port

2012-01-23 Thread Yuri Pankov
On Mon, Jan 23, 2012 at 09:51:51PM +0100, Hasse Hansson wrote:
 FreeBSD odin.thorshammare.org 9.0-STABLE FreeBSD 9.0-STABLE #0 r230424: Sun
 Jan 22 00:13:50 CET 2012
 ad...@odin.thorshammare.org:/usr/obj/usr/src/sys/GENERIC  i386
 
 I've got some problem with the port sessreg, part of x11/xorg suite,  when
 running portupgrade.
 
 ===  Building for sessreg-1.0.7
 
 make  all-recursive
 Making all in man
   GENfilenames.sed
   GENsessreg.1
   CC sessreg.o
 sessreg.c: In function 'main':
 sessreg.c:281: warning: implicit declaration of function 'ttyslot'
 sessreg.c:281: warning: nested extern declaration of 'ttyslot'
   CCLD   sessreg
 sessreg.o: In function `main':
 sessreg.c:(.text+0xcc1): undefined reference to `ttyslot'
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
 *** Error code 1
 
 Stop in /usr/ports/x11/sessreg.
 
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade20120123-9573-548d6g-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=sessreg-1.0.5_1 UPGRADE_PORT_VER=1.0.5_1 make
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! x11/sessreg (sessreg-1.0.5_1) (linker error)
 
 Preciate all help.

Check To rebuild everything and install it on the current system. in
/usr/src/UPDATING (you are missing the 'make delete-old' step).


Yuri
___
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: help accessing mdbtools man pages in /usr/local/share/man

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 01:27:31PM -0700, Dale Scott wrote:
 I installed mdbtools from source on github and it put its man pages in
 /usr/local/share/man/man1, where the default man command doesn't find
 them (although man -M /usr/local/share/man mdb-export works).

Just use `man /full/path/to/the/manpage`. Also check man(1) and
man.conf(5) on how to specify additional MANPATHs.
 
 From man hier, it looks like the man pages should have been put into
 /usr/local/man. Is that correct? Also, the pages aren't in gz format
 (just mdb-export.1). Is there a typical workaround? (I expect this is
 not uncommon for an app coming from the Linux world?).

It's not uncommon, but such stuff should be fixed when porting something
from Linux world and manpages should go to /usr/local/man, as hier(7)
tells.


Yuri
___
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: help accessing mdbtools man pages in /usr/local/share/man - SOLVED

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 03:30:29PM -0700, Dale Scott wrote:
 - Original Message -
 From: Yuri Pankov yuri.pan...@gmail.com
 Date: Monday, January 16, 2012 13:49
 
  Just use `man /full/path/to/the/manpage`. Also check man(1) and
  man.conf(5) on how to specify additional MANPATHs.
 
 Thanks Yuri! As per man.conf(5), I created /usr/local/etc/rc.d/mdbtools.conf
 to add /usr/local/share/man to the manpath (perhaps it could be named more
 correctly linux.conf, but for now the only manpages there are from 
 mdbtools).

I hope rc.d was a typo? :-) If not, you want /usr/local/etc/man.d/*.conf.


Yuri
___
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: ipv6 in FreeBSD 9

2012-01-14 Thread Yuri Pankov
On Sat, Jan 14, 2012 at 06:07:01PM +0100, Marco Beishuizen wrote:
 Hi,
 
 In 8.2 ipv6 was enabled by adding ipv6_enable=YES in rc.conf, and all 
 worked fine. In FreeBSD 9 that changed to 
 ipv6_activate_all_interfaces=YES. But now there are still some error 
 messages at boot time, and ipv6 doesn't seem to work correctly:
 
 ...
 root: /etc/rc: WARNING: $ipv6_firewall_enable is not set properly - see 
 rc.conf(5).
 root: /etc/rc: WARNING: $ipv6_enable is not set 
 properly - see rc.conf(5).
 ...
 
 I do not use a static IP adress, but DHCP. Wat do I need to do more 
 to enable ipv6?

This works for me:

ifconfig_em0_ipv6=inet6 accept_rtadv
ip6addrctl_policy=ipv6_prefer

No other IPv6-related settings done anywhere else.


Yuri
___
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: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote:
 Hi all.
 
 I recently stumbled upon minor inconsistency when building misc/mc. The 
 build goes well when CPP is unset or when CPP=clang -E, but fails when 
 CPP=clang-cpp:
 
 /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log:
 
 configure:23603: checking for slang.h
 configure:23618: clang-cpp -ltermcap -I/usr/local/include 
 -I/usr/include -L/usr/lib conftest.c
 Stack dump:
 0.  Program arguments: clang-cpp -ltermcap -I/usr/local/include 
 -I/usr/include -L/usr/lib conftest.c
 1.  Compilation construction
 2.  Building compilation actions
 configure:23618: $? = 139
 
 What is the correct way to build ports with clang? Wiki states that CPP 
 should be set to clang-cpp for everyone however this doesn't work here.

This can be reduced to just `clang-cpp -lanything` and I guess it's a
bug...


Yuri
___
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: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 03:04:37PM +0400, Yuri Pankov wrote:
 On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote:
  Hi all.
  
  I recently stumbled upon minor inconsistency when building misc/mc. The 
  build goes well when CPP is unset or when CPP=clang -E, but fails when 
  CPP=clang-cpp:
  
  /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log:
  
  configure:23603: checking for slang.h
  configure:23618: clang-cpp -ltermcap -I/usr/local/include 
  -I/usr/include -L/usr/lib conftest.c
  Stack dump:
  0.  Program arguments: clang-cpp -ltermcap -I/usr/local/include 
  -I/usr/include -L/usr/lib conftest.c
  1.  Compilation construction
  2.  Building compilation actions
  configure:23618: $? = 139
  
  What is the correct way to build ports with clang? Wiki states that CPP 
  should be set to clang-cpp for everyone however this doesn't work here.
 
 This can be reduced to just `clang-cpp -lanything` and I guess it's a
 bug...

And it seems to be http://www.llvm.org/bugs/show_bug.cgi?id=11581.


Yuri
___
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: Having problems running shell script from crontab

2012-01-07 Thread Yuri Pankov
On Sat, Jan 07, 2012 at 02:21:51PM +0200, Kaya Saman wrote:
 Hi,
 
 I wrote a shell script to detect if the port of tomcat was in use or not 
 then restart if the port wasn't online; due to tomcat segfaulting as my 
 system hasn't got enough memory for it.
 
 
 This is the shell script:
 
 
 #!/usr/local/bin/bash
 ntstat=`netstat -ap tcp | grep 8180 | sed -n '1p'`

sockstat would be more useful here.

 port=8180
 
 #echo $ntstat
 #echo $port
 
 if [[ $ntstat =~ $port ]]; then
 echo Output of Netstat command $ntstat port number $port  
 /root/java_restart/java_restart.log;
 else
 wait 60; /usr/local/etc/rc.d/tomcat6 restart;

Are you sure you want 'wait' here (or should it be 'sleep')?

 fi
 
 
 
 Here in /var/log/cron - it can be seen that the script has been executed:
 
 Jan  7 10:30:00 wiki /usr/sbin/cron[19509]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 11:00:00 wiki /usr/sbin/cron[20418]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 11:30:00 wiki /usr/sbin/cron[21356]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 Jan  7 12:00:00 wiki /usr/sbin/cron[22455]: (root) CMD 
 (/root/java_restart/java_restart.sh)
 
 
 
 
 The strange thing is that if I run this script manually 
 /root/java_restart/java_restart.sh it works fine and does what it's 
 supposed to do. Cron however seems to execute the IF statement but not 
 get as far as else??? - it seems as tomcat doesn't restart.
 
 Here is my little log file that tells the port is active:
 
 -rw-r--r--  1 root  wheel  116 Jan  7 11:30 java_restart.log
 
 
 If I stop tomcat just before the xx:00 or xx:30 time designations tomcat 
 will not be restarted by the script and I don't understand why?
 
 
 This is the crontab: 0,30 * * * * /root/java_restart/java_restart.sh

Try changing it to /usr/local/bin/bash /root/java_restart/java_restart.sh.
 
 which is being run as root user.
 
 
 Can anyone suggest anything that might be a possible cause for tomcat 
 not getting restarted automatically when the proper conditions are met?


Yuri
___
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: buildkernel error: unknown option COMPAT_LINUX

2011-12-26 Thread Yuri Pankov
On Mon, Dec 26, 2011 at 04:55:43PM +, Anton Shterenlikht wrote:
 I'm building kernel on r228359:
 
 *skip*
 
  stage 1: configuring the kernel
 --
 cd /usr/src/sys/amd64/conf;  
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/
 usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr
 c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin
 :/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/usr/src/sys/BUZI  
 /usr/src/sys/amd
 64/conf/BUZI
 /usr/src/sys/amd64/conf/BUZI: unknown option COMPAT_LINUX
 *** Error code 1
 
 What's wrong?

linux(4):

 for an amd64 kernel use:
   options COMPAT_LINUX32


HTH,
Yuri
___
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: remove all ports

2011-05-08 Thread Yuri Pankov
On Sun, May 08, 2011 at 05:05:19AM -0700, Dino Vliet wrote:
 Hi freebsd people,
 just to make sure I don't end up with a unworkable system I want to
 ask the list if I'm on the right track.
 
 I have this workstation running FreeBSD 8.1 and have used it as an
 application/database server for most of the last 2 years. Do to my
 assignment being finished I want to rearrange stuff, without going
 to a re-install as everything has been setup to my liking (gmirror
 etc etc).
 
 Over time a few ports  were installed, for which I have no use now.
 I figured out the alternatives I have are:
 
 A) remove all ports Except the ones I would like to keep

Try using ports-mgmt/pkg_cutleaves (with the recursive option).

 B) remove all ports and then
  reinstall the ports that I would like to keep
 
 What are the commands for option A en B (assuming bash, weka,
 postgresql*, screen, gawk, rsync, jdk would have to stay?)
 
 For option A I tried pkg_deinstall -r xorg-minimal-7.5.1 but only
 that port got removed and not the ports I found after I did
 pkg_info -r xorg-minimal-7.5.1


HTH,
Yuri
___
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: Comparing two lists [SOLVED (at least it looks like that)]

2011-05-06 Thread Yuri Pankov
On Sat, May 07, 2011 at 04:23:40AM +0200, Rolf Nielsen wrote:
 2011-05-07 02:09, Rolf Nielsen skrev:
  Hello all,
 
  I have two text files, quite extensive ones. They have some lines in
  common and some lines are unique to one of the files. The lines that do
  exist in both files are not necessarily in the same location. Now I need
  to compare the files and output a list of lines that exist in both
  files. Is there a simple way to do this? diff? awk? sed? cmp? Or a
  combination of two or more of them?
 
  TIA,
 
  Rolf
 
 sort file1 file2 | uniq -d

I very seriously doubt that this line does what you want...

$ printf a\na\na\nb\n  file1; printf c\nc\nb\n  file2; sort file1 file2 | 
uniq -d
a
b
c


Try this instead (probably bloated):

sort  file1 | uniq | tr -s '\n' '\0' | xargs -0 -I % grep -Fx % file2 | sort | 
uniq

There is comm(1), of course, but it expects files to be already sorted.


HTH,
Yuri
___
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: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab

2011-05-06 Thread Yuri Pankov
On Fri, May 06, 2011 at 10:06:31PM -0400, Henry Olyer wrote:
 Woe is me.
 
 First, I simply messed up, happens to us all from time to time.  I lost
 power on an laptop running 8.2.
 
 Restarted it but for some reason the fsck didn't run and I lost some /usr
 files.
 
 I tried to do an fsck manually but because it's mounted I got nowhere.  So I
 put a comment (#) in front of the /usr line for the /etc/fstab file.
 
 Now, I can't boot.
 
 I need what's on my disk -- of course!

Boot to single user mode (4 in the boot menu), remount / read-write -
mount -u -o rw /, edit /etc/fstab (you'll probably need to mount /usr
manually if what's in /rescue doesn't work for you), reboot.

You can run fsck from single user mode, as well.


HTH,
Yuri
___
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: Monthly Login Accounting Report - What do the numbers mean?

2011-05-01 Thread Yuri Pankov
On Sun, May 01, 2011 at 09:17:33AM -0400, Alejandro Imass wrote:
  Doing login accounting:
 total  726.98
 aimass 508.96
 cctun  216.80
 cmm  0.84
 delco0.37
 hugo 0.01
 
 
 What do these numbers mean? Is it login times? How can you login 0.01
 times??? I know for a fact that in April hugo logged in exactly 1 time
 to do an scp of a large file. Are these numbers percentages ? guess
 not because there would be no total!

It's ac(8) output, and those number are (quoting manpage) accumulated
connect time (in hours) for all logins.


HTH,
Yuri
___
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: ZFS-Only FreeBSD and crashdump

2011-04-28 Thread Yuri Pankov
On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote:
 28.04.2011 19:40, Andriy Gapon wrote:
  At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what 
  you are
  asking.
 
 And when do planning to add support? :)
 Option to use to dump the usb-flash has its limitations, both on disk 
 size and write speed?

Why not just use your swap partition as dumpdev?


Yuri
___
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: Script behavior I can't grasp

2011-04-06 Thread Yuri Pankov
On Wed, Apr 06, 2011 at 03:32:14PM -0700, Walt Pawley wrote:
 My IPv6 tunnel has a tendency to vanish from time to time. So I
 thought I might write a script to check that and attempt
 reconstituting it if needed. After some considerable messing
 about, I really thought this ...
 
 #!/bin/sh
 if ifconfig en1|grep -q inet6 2001 ; then exit;
 else
 if ps -ax | grep gw6c | grep -qv grep;
 then ps -ax | grep gw6c | grep -v grep | ( read x y; kill $x )
 fi
 cd /usr/local/gw6c/bin
 ./gw6c
 fi
 
 ... should work. But I was wrong, as usual. In the case where
 the tunnel has vanished, the gw6c program often does not quit
 right away, and it is usually soaking up a lot of processor in
 that mode. Thus it was necessary to test for gw6c running and
 terminate it if it was. Curiously, even when it was not
 running. the test above would fail in the script. On the
 command line, it seemed, as near as I could tell, to work just
 fine.
 
 Grasping at straws, I decided to try the following:
 
 #!/bin/sh
 if ifconfig en1|grep -q inet6 2001 ; then exit;
 else
 if $( ps -ax | grep gw6c | grep -qv grep );
 then ps -ax | grep gw6c | grep -v grep | ( read x y; kill $x )
 fi
 cd /usr/local/gw6c/bin
 ./gw6c
 fi
 
 It worked just fine. I'd like to know why this disparity. It's
 probably something mind bogglingly simple but my researches
 have yet to unboogle me. Can you?

Not the answer you asked for, but... you should really take a look at
pkill(1) instead of that check.


HTH,
Yuri
___
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: how to enforce password change at first login

2011-03-29 Thread Yuri Pankov
On Wed, Mar 30, 2011 at 06:10:11AM +0100, Michael wrote:
 Hi,
 
 How can I enforce a user to change his password at first login?
 
 I want to set up ssh access for my friends but I don't want to know 
 their passwords. And I don't trust they will change it just because I've 
 asked to do so.
 
 I was thinking I can create account with random password and provide it 
 to my users. Then the system would enforce password change at first login.
 
 Any clues, please?

Something like:
# pw usermod username -p -1

Anyway, see pw(8).


HTH,
Yuri
___
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: manual page formatting issues

2011-02-04 Thread Yuri Pankov
On Sat, Feb 05, 2011 at 02:24:31PM +1000, Rob wrote:
 Hi,
 
 I'm running FreeBSD 8.1-RELEASE (running on VMWare Server 2.0.2) and am
 having some odd issues the formatting of man pages.
 
 If I view a man page (as root) in the console it displays correctly. If I
 view the man page (again, as root) in a (PuTTY) terminal session, the bold
 formatting of the command line arguments is missing.
 
 See the following screen shot examples:
 
 Console: http://imageupload.org/?di=612968791464
 
 Terminal: http://imageupload.org/?di=112968791464
 
 In the console session I have the TERM=cons25.
 
 In the terminal session I have it set to TERM=xterm. My PuTTY settings are
 pretty much the default, including the Connection-Data-Terminal-type
 string set to xterm.
 
 The pager in both sessions is set to more.
 
 I've played around with various terminal settings, to no avail. Can someone
 please offer some pointers as to how I might fix this?
 
 Thanks,
 Rob

You probably forgot to change Window-Colors-Default Bold Foreground
color values in PuTTY (works just fine here).


HTH,
Yuri
___
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: wine questions

2011-01-27 Thread Yuri Pankov
On Thu, Jan 27, 2011 at 10:50:31PM +, Mike Clarke wrote:
 On Thursday 27 January 2011, Dmitri Brengauz wrote:
 
  On Thu, Jan 27, 2011 at 11:48 AM, Fred f...@blakemfg.com wrote:
   Hello,
  
   I need to buy an expensive logic device programmer that connects to
   a PC through USB.
 
 [snip]
 
  Have you tried VirtualBox?   You still have to shell out for a
  Windows license, but at least the Gates virus will be contained
  securely on your computer.  For me, Virtual Box + FreeBSD has been
  running better than VMWare + OS X.  Once again, free software, more
  than worth the price.
 
 But VirtualBox OSE doesn't support USB.

VirtualBox 4 *seems* to support USB (I have the option in the GUI,
haven't tried it though). It's available for testing from
http://svn.bluelife.at/ at the moment.

 
 -- 
 Mike Clarke


HTH,
Yuri
___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-07-01 Thread Yuri Pankov
On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote:
  From: Kevin Kinsey k...@daleco.biz
   Q2: Where on my hard drive are the bytes that tell
   pkg_add to use 
   ftp.freebsd.org when downloading packages?
  
  You mean like inode number, which cylinder
 
 No, I am looking for a file name.

/usr/src/usr.sbin/pkg_install/add/main.c
static char * getpackagesite(void)

which constructs URL using ftp.freebsd.org unless PACKAGESITE and
PACKAGEROOT are defined.

 
 Thank you,
 
 Chris


HTH,
Yuri
___
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: Booting multiple choice, and pause to read bootup info

2010-06-21 Thread Yuri Pankov
On Mon, Jun 21, 2010 at 08:19:22PM -0500, J. Porter Clark wrote:
 1. I'd like to be able to expand the list of choices in the
 boot menu (the menu with single user mode, safe mode, etc.) to
 include booting in any of several different environments, e.g.,
 home wired, home wireless, work wired, work wireless.  Hacking
 the FORTH code isn't entirely out of the question, but before
 I even try it, I need to know how I could tell the system to
 switch among different rc.conf files (if that's even possible)
 from the loader.  Offhand, I don't see a mechanism for doing so.
 Cleverer ideas welcome.
 
 2. Usually, when the system boots, there are several lines
 showing the kernel and various modules loading, possibly with
 diagnostics.  Is there a way to pause after that stage, so that
 those lines can be read?  Or is there any way to retrieve them
 after the system has booted?

You are probably looking for /var/run/dmesg.boot.

 
 -- 
 J. Porter Clark  j...@porterclark.com


Yuri
___
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: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 01:55:07AM +0200, Zbigniew Szalbot wrote:
 OK. Never declare victory too fast :)
 
  Hello again,
 
  Even after restarting apache php-based pages do not load. Many thanks
  in advance for further hints!
  OK. I commented the extension=pdf.so in extensions.ini and php no
  longer complains. :)
 
 pkg_info -Ix php
 php5-5.3.2  PHP Scripting Language
 php5-bcmath-5.3.2   The bcmath shared extension for php
 php5-bz2-5.3.2  The bz2 shared extension for php
 php5-ctype-5.3.2The ctype shared extension for php
 php5-dom-5.3.2  The dom shared extension for php
 php5-filter-5.3.2   The filter shared extension for php
 php5-gd-5.3.2   The gd shared extension for php
 php5-gettext-5.3.2  The gettext shared extension for php
 php5-iconv-5.3.2The iconv shared extension for php
 php5-mbstring-5.3.2 The mbstring shared extension for php
 php5-mcrypt-5.3.2   The mcrypt shared extension for php
 php5-mysql-5.3.2The mysql shared extension for php
 php5-mysqli-5.3.2   The mysqli shared extension for php
 php5-openssl-5.3.2  The openssl shared extension for php
 php5-posix-5.3.2The posix shared extension for php
 php5-pspell-5.3.2   The pspell shared extension for php
 php5-session-5.3.2  The session shared extension for php
 php5-simplexml-5.3.2 The simplexml shared extension for php
 php5-xml-5.3.2  The xml shared extension for php
 php5-zip-5.3.2  The zip shared extension for php
 php5-zlib-5.3.2 The zlib shared extension for php
 phpMyAdmin-3.3.3A set of PHP-scripts to manage MySQL over the web
 
 shows me that I still do not have two extensions which I deleted ealier:
 php5-pcre
 php5-spl

/usr/ports/MOVED:
devel/php5-pcre|lang/php5|2010-04-09|Bundled in core php
devel/php5-spl|lang/php5|2010-04-09|Bundled in core php

Check Note: on following pages:
http://ru.php.net/manual/en/pcre.installation.php
http://ru.php.net/manual/en/spl.installation.php

 
 I really need php with pcre and spl support and I wonder how to
 compile it using portinstall/portupgrade.
 
 make config for /usr/ports/lang/php52-extensions
 shows pcre and spl as checked

Why php52-extensions when you have php5 (5.3.2) installed? 

 
 I hope someone will point me in the right direction. Thank you!
 
 -- 
 Zbigniew Szalbot
 www.slowo.pl
 www.fairtrade.net.pl

Yuri
___
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: PHP upgrade fails

2010-05-20 Thread Yuri Pankov
On Fri, May 21, 2010 at 02:13:30AM +0200, Zbigniew Szalbot wrote:
 shows me that I still do not have two extensions which I deleted ealier:
 php5-pcre
 php5-spl
 
  They're both built into PHP 5.3.
 
 Apache error log says:
 PHP Fatal error:  Call to undefined function preg_match() in...
 
snip
 
 I am lost as to what to do to solve this. Any help will be appreciated!

Did you restart apache after upgrading php...?

 
 
 -- 
 Zbigniew Szalbot
 www.slowo.pl
 www.fairtrade.net.pl

Yuri
___
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: startx couldn't create cookie with custom kernel

2010-05-13 Thread Yuri Pankov
On Thu, May 13, 2010 at 03:54:21AM -0700, Heshmat Ismail wrote:
 I have built and installed a custom kernel on i386 machine with the
 8-RELEASE then installed xorg from the DVD,when i ran startx i got:
 couldn't create cookie.When using GENERIC kernel startx works
 flawlessly,but with my custom kernel i got this error.
 
 Heshmat Ismail

Post `diff -u GENERIC YOURKERNCONF` output please.


Yuri
___
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: Why doesn't this startup script run?

2010-05-12 Thread Yuri Pankov
On Wed, May 12, 2010 at 04:20:12PM -0400, Andy Dills wrote:
 
 I'm working on integrating p0f with amavisd-new, and the command I need 
 to run at startup is a little unwieldy:
 
 p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
 
 At first, I tried putting that in /etc/rc.local. No luck, don't know why 
 it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
 second and make a simple rc.d script.
 
 So, I made /usr/local/etc/rc.d/p0fd containing:
 
 ---
 
 #!/bin/sh
 #

Quoting rc(8):
Each script should contain rcorder(8) keywords, especially an appropriate
“PROVIDE” entry, and if necessary “REQUIRE” and “BEFORE” keywords.

 
 . /etc/rc.subr
 
 name=p0f
 rcvar=`set_rcvar`
 
 command=/usr/local/bin/p0f
 command_args=-l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
 
 pidfile=/var/run/$name.pid
 
 # read configuration and set defaults
 load_rc_config $name
 : ${p0f_enable=NO}
 
 run_rc_command $1
 
 ---
 
 If I run /usr/local/etc/rc.d/p0fd start it fires right up. However, it 
 still continues to refuse to run on boot.
 
 Any suggestions?
 
 (yes, it's executable, and yes I have p0f_enable=YES in rc.conf)
 
 Thanks,
 Andy
 
 ---
 Andy Dills
 Xecunet, Inc.
 www.xecu.net
 301-682-9972
 ---

Yuri
___
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: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri
___
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: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.
 
 
 @cwd /var
 db/dbfile
 log/logfile
 
 HTH,
 Yuri
 
 
 Thanks that worked. Have another question.
 During the install of the port it adds a enable=YES statement to
 /etc/rc.conf. It there some pre-canned way to auto remove that
 statement when the port is deleted with pkg_delete command?

You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri
___
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: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 08:32:26AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.
 
 @cwd /var
 db/dbfile
 log/logfile
 
 HTH,
 Yuri
 
 
 Thanks that worked. Have another question.
 During the install of the port it adds a enable=YES statement to
 /etc/rc.conf. It there some pre-canned way to auto remove that
 statement when the port is deleted with pkg_delete command?
 
 You shouldn't directly modify rc.conf to enable some service, put
 instructions on how to enable it in pkg-message instead.
 
 Having said that, check @unexec command, which is run on package
 deinstallation.
 
 Yuri
 
 Where do I find doc on this @unexec command?

All these commands are documented in pkg_create(1).


Yuri
___
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: ffmpeg port build failing

2010-01-18 Thread Yuri Pankov
On Tue, Jan 19, 2010 at 02:51:15AM +, Jamie Griffin wrote:
 Hello
 
 I'm trying to install gimp from ports but one of its dependencies is
 failing, ffmpeg. This is the error its failing on:
 
 libavdevice/v412.c:41:23: erro: asm/types.h: No such file or directory
 In file included from libavdevice/v412.c:42:
 /usr/local/include/linux/videodev2.h:430: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:837: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:930: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1478: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1600: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1651: warning: declararion does not
 declare anything
 gmake: ***[libavdevice/v412.o] Error 1
 
 
 (I think that's all of the relevant part of the output.)
 
 I wondered if anyone knows what could be wrong here, and how I can get
 it to build?
 
 Jamie

Problem here is in multimedia/v4l_compat port, which was recently
updated to install include/linux/videodev2.h. You could try uninstalling
it or moving include/linux/videodev2.h away when you are building ffmpeg.


HTH,
Yuri
___
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: ffmpeg port build failing

2010-01-18 Thread Yuri Pankov
On Tue, Jan 19, 2010 at 03:45:48AM +, Jamie Griffin wrote:
  
  Problem here is in multimedia/v4l_compat port, which was recently
  updated to install include/linux/videodev2.h. You could try uninstalling
  it or moving include/linux/videodev2.h away when you are building ffmpeg.
 
 tried both those options, neither one works unfortunately. hmmm. 

Helped here.
I hope you did run `make clean` after removing v4l_compat port?

 Thanks for trying though. 
 
 Jamie


Yuri
___
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: changing place of .core files

2010-01-16 Thread Yuri Pankov
On Sat, Jan 16, 2010 at 11:23:52PM +0100, Marco Beishuizen wrote:
 Normally when a program crashes, it places a .core file in the
 homefilesystem. Is there a way of changing the filesystem where
 FreeBSD places it's core dumps?
 
 Thanks in advance,
 Marco
 
 -- 
 Rule #7: Silence is not acquiescence.
   Contrary to what you may have heard, silence of those present is
 not necessarily consent, even the reluctant variety.  They simply may
 sit in stunned silence and figure ways of sabotaging the plan after they
 regain their composure.

Check core(5).


HTH,
Yuri
___
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: Failed compile ntop from ports

2010-01-13 Thread Yuri Pankov
On Wed, Jan 13, 2010 at 05:38:07PM +0700, kal...@muliahost.com wrote:
 Hello,
 
 I have problem compiling ntop from ports. I got error:
 
 ===  Building for p5-XML-Parser-2.36_1
 Makefile out-of-date with respect to
 /usr/local/lib/perl5/5.8.9/mach/Config.pm
 /usr/local/lib/perl5/5.8.9/mach/CORE/config.h
 Cleaning current config before rebuilding Makefile...
 make -f Makefile.old clean  /dev/null 21
 /usr/local/bin/perl5.8.9 Makefile.PL INSTALLDIRS=site CC=cc
 CCFLAGS=-O2 -fno-strict-aliasing -pipe PREFIX=/usr/local
 INSTALLPRIVLIB=/usr/local/lib INSTALLARCHLIB=/usr/local/lib
 Checking if your kit is complete...
 Looks good
 Warning: prerequisite LWP 0 not found.
 Writing Makefile for XML::Parser::Expat
 Writing Makefile for XML::Parser
 == Your Makefile has been rebuilt. ==
 == Please rerun the make command.  ==

Check your date/time settings.

 false
 *** Error code 1
 
 Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.36.
 *** Error code 1
 
 Stop in /usr/ports/textproc/p5-XML-Parser.
 *** Error code 1
 
 Stop in /usr/ports/textproc/intltool.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 *** Error code 1
 
 Stop in /usr/ports/net/ntop.
 *** Error code 1
 
 Stop in /usr/ports/net/ntop.
 
 
 Also, I realized most of perl module could not build. Same problem while
 trying install Net-SSLeay.
 
 Need your advice.
 
 Thank you
 
 TIA
 
 Kalpin Erlangga Silaen

HTH,
Yuri
___
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: mtree unable to find group wheel, possible corrupt /etc/group file

2010-01-13 Thread Yuri Pankov
On Wed, Jan 13, 2010 at 09:32:41PM +0600, keneasson wrote:
 Hi all,
 
 I've got a number of ports that will build but not install.
 
 The error is:
 
 ===gt;   Generating temporary packing list
 ===gt;  Checking if deskutils/gucharmap already installed
 mtree: line 1: unknown group wheel---

wheel---? Check your /etc/mtree/ files also for mergemaster's cruft.

 *** Error code 1
 
 
 I discovered that i had patch code left over from mergemaster in my 
 /etc/group file, i have deleted and rebooted.
 unfortunately, i still get the same error when i try to install ports.
 
 the group file seems to have been readable to something, as i could sudo and 
 su from my login user. 
 
 any help greatly appreciated.
 
 # $FreeBSD: src/etc/group,v 1.35.10.1 2009/08/03 08:13:06 kensmith Exp $
 #
 wheel:*:0:root,justken,www
 daemon:*:1:
 kmem:*:2:
 sys:*:3:
 tty:*:4:
 operator:*:5:root
 ...
 authpf:*:63:
 _pflogd:*:64:
 _dhcp:*:65:
 
 -ken


Yuri
___
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: UTF-16 decoder

2010-01-11 Thread Yuri Pankov
On Mon, Jan 11, 2010 at 10:40:01AM -0600, Paul Schmehl wrote:
 Can anyone point me to an online or unix utility that decodes utf-16
 to ascii? Or unicode?  My google searches have been nonproductive.
 
 -- 
 Paul Schmehl, Senior Infosec Analyst
 As if it wasn't already obvious, my opinions
 are my own and not those of my employer.
 ***
 It is as useless to argue with those who have
 renounced the use of reason as to administer
 medication to the dead. Thomas Jefferson

converters/iconv, which should be already installed.


Yuri
___
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: UTF-16 decoder

2010-01-11 Thread Yuri Pankov
On Mon, Jan 11, 2010 at 08:33:07PM +0300, Yuri Pankov wrote:
 On Mon, Jan 11, 2010 at 10:40:01AM -0600, Paul Schmehl wrote:
  Can anyone point me to an online or unix utility that decodes utf-16
  to ascii? Or unicode?  My google searches have been nonproductive.
  
  -- 
  Paul Schmehl, Senior Infosec Analyst
  As if it wasn't already obvious, my opinions
  are my own and not those of my employer.
  ***
  It is as useless to argue with those who have
  renounced the use of reason as to administer
  medication to the dead. Thomas Jefferson
 
 converters/iconv, which should be already installed.

This should read converters/libiconv, of course, sorry.

 
 
 Yuri
___
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: copying a disk with ignoring errors

2010-01-05 Thread Yuri Pankov
On Tue, Jan 05, 2010 at 03:31:46PM +0100, Christoph Kukulies wrote:
 I recall a case when I had a hard disk that had got bad sectors and
 it wasn't accessible through normal mounting anymore.
 Then a tool came into the game that - I believe - Poul Henning had
 recommended or written for this purpose.
 
 It copies a disk sector by sector to a file (kind of dd), but
 ignores errors, it just skips sectors it couldn't read (after a
 couple
 of retries). The result was, that one had a - albeit - worm-eaten -
 image of the disk allowing to access the filesystem
 and getting to the important files with a little luck these not
 being amongst the corrupted data.
 
 Anyone knowing what this little tool was named? Something like
 diskcopy, devcopy, I forgot.
 
 --
 Christoph

dd conv=noerror?


Yuri
___
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: BUG setfib

2010-01-04 Thread Yuri Pankov
On Mon, Jan 04, 2010 at 08:29:53PM +0200, Коньков Евгений wrote:
 Здравствуйте, Freebsd-questions.
 
 kes# setfib 1 get_last.pl
 setfib: get_last.pl: No such file or directory
 kes# pwd
 /usr/home/kes/
 Для продолжения нажмите любую клавишу...
 kes# setfib -1 /usr/home/kes/get_last.pl
 run is OK!
 
 setfib must use current directory to run programm
 or at least must supply option to ON/OFF this behavior
 
 so I can run:
 kes# setfib -c -1 get_last.pl
 
 -- 
 С уважением,
  Коньков  mailto:kes-...@yandex.ru

From setfib(1) manpage:

ENVIRONMENT
 The PATH environment variable is used to locate the requested utility if
 the name contains no `/' characters.

So behaviour you are seeing is correct.


HTH,
Yuri
___
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: Upgrade 7.0 to 7.2 installworld failed

2009-12-24 Thread Yuri Pankov
On Thu, Dec 24, 2009 at 03:10:21PM +, Colin wrote:
 Hi folks,
 I have started trying to upgrade my 7.0 to 7.2 and it all seemed to
 be going well until I got to installworld.
 
 First off I did a cvsup for src-all from cvsup.ie.freebsd.org with
 the tag RELENG_7_2
 
 I have then done:
 
 cd /usr/src
 make buildworld

Are you sure that buildworld phase completed successfully? Have you
tried cleaning /usr/obj/ before building world? Have you tried updating
your src tree from different cvsup mirror (cvsup.freebsd.org, just to be
sure)?

 make kernel-toolchain
 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED
 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED
 shutdown -r now
 mergemaster -p
 make installworld

snip

 Thanks,
 Colin.


Yuri
___
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: FreeBSD 8 as VirtualBox guest: `ngctl list` shows nothing

2009-12-23 Thread Yuri Pankov
On Wed, Dec 23, 2009 at 05:18:28PM +0700, Anh Ky Huynh wrote:
 Hi all,
 
 I have a VirtualBox guest which is running FreeBSD-8.0. I compiled the kernel 
 for this guest with the options NETGRAPH in /usr/src/sys/i386/conf/GENERIC. I 
 did that because I expected I would see each Ethernet interface as a netgraph 
 node. But ngctl showed nothing

Try `kldload ng_ether`? And use your own config file, not GENERIC, if you need 
to make changes.

snip

 -- 
 Anh Ky Huynh


Yuri
___
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: .Xdefaults file

2009-12-22 Thread Yuri Pankov
On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote:
 On my desktop box I settled on an xterm font and font size by
 experimenting thus:
 
 xterm -fa 'Bitstream Vera Sans Mono' -fs 10
 
 I went through a number of fonts until I settled on the one I liked
 most.  Then I created an .Xdefaults file in my home directory which 
 included:
 
 Xterm*faceName Bitstream Vera Sans Mono
 Xterm*faceSize 10

I think case matters here, i.e. XTerm*, not Xterm or xterm.

 
 Everything works fine.  However, when I tried to to this on my old
 Compaq Presario on which I have 7.2 installed it doesn't work.  Oddly,
 I can create an xterm window using the original xterm command that I
 used when I was experimenting with fonts, and the window opens and is
 rendered correctly, but I can't get X to read the .Xdefaults file.  Any
 ideas on why .Xdefauts works on the desktop box but not the laptop?
 
 Rem  


HTH,
Yuri
___
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: another compile error

2009-06-10 Thread Yuri Pankov
On Tue, Jun 09, 2009 at 05:00:20PM +0200, DA Forsyth wrote:
 Hiya
 
 trying to build kernel for 7.2 and get this
 (my earlier problem was my having CFLAGS=... in /etc/src.conf)
 
 MAKE=make sh /usr/src/sys/conf/newvers.sh LERGY72
 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 -nostdinc  -
 I. -I/usr/src/sys -I/usr/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-3dnow -mno-sse -mno-sse2 -mno-sse3 -
 ffreestanding -Werror  vers.c
 linking kernel.debug
 udbp.o(.text+0x59): In function `ng_udbp_disconnect':
 /usr/src/sys/dev/usb/udbp.c:857: undefined reference to 
 `ng_rmnode_self'
 udbp.o(.text+0xc9): In function `udbp_detach':
 /usr/src/sys/dev/usb/udbp.c:450: undefined reference to 
 `ng_rmnode_self'
 udbp.o(.text+0xde):/usr/src/sys/dev/usb/udbp.c:452: undefined 
 reference to `ng_unref_node'
 udbp.o(.text+0x79e): In function `udbp_attach':
 /usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype'
 udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:381: undefined 
 reference to `ng_make_node_common'
 udbp.o(.text+0x813):/usr/src/sys/dev/usb/udbp.c:384: undefined 
 reference to `ng_name_node'
 udbp.o(.text+0x828):/usr/src/sys/dev/usb/udbp.c:385: undefined 
 reference to `ng_unref_node'
 udbp.o(.text+0x993): In function `ng_udbp_rcvmsg':
 /usr/src/sys/dev/usb/udbp.c:705: undefined reference to 
 `M_NETGRAPH_MSG'
 udbp.o(.text+0xa55):/usr/src/sys/dev/usb/udbp.c:733: undefined 
 reference to `ng_address_ID'
 udbp.o(.text+0xa6e):/usr/src/sys/dev/usb/udbp.c:733: undefined 
 reference to `ng_snd_item'
 udbp.o(.text+0xa7d):/usr/src/sys/dev/usb/udbp.c:733: undefined 
 reference to `ng_free_item'
 udbp.o(.text+0xa89):/usr/src/sys/dev/usb/udbp.c:734: undefined 
 reference to `M_NETGRAPH_MSG'
 udbp.o(.text+0xb15): In function `udbp_in_transfer_cb':
 /usr/src/sys/dev/usb/udbp.c:531: undefined reference to 
 `ng_package_data'
 udbp.o(.text+0xb3a):/usr/src/sys/dev/usb/udbp.c:531: undefined 
 reference to `ng_address_hook'
 udbp.o(.text+0xb4e):/usr/src/sys/dev/usb/udbp.c:531: undefined 
 reference to `ng_snd_item'
 udbp.o(.text+0xd33): In function `ng_udbp_rmnode':
 /usr/src/sys/dev/usb/udbp.c:815: undefined reference to 
 `ng_unref_node'
 udbp.o(.text+0xd46):/usr/src/sys/dev/usb/udbp.c:817: undefined 
 reference to `ng_make_node_common'
 udbp.o(.text+0xd7f):/usr/src/sys/dev/usb/udbp.c:820: undefined 
 reference to `ng_name_node'
 udbp.o(.text+0xd90):/usr/src/sys/dev/usb/udbp.c:821: undefined 
 reference to `ng_unref_node'
 udbp.o(.text+0xde3): In function `ng_udbp_rcvdata':
 /usr/src/sys/dev/usb/udbp.c:752: undefined reference to 
 `ng_free_item'
 udbp.o(.rodata+0x20): In function `ng_udbp_connect':
 /usr/src/sys/dev/usb/udbp.c:842: undefined reference to 
 `ng_parse_int32_type'
 udbp.o(.rodata+0x3c): In function `ng_udbp_disconnect':
 /usr/src/sys/dev/usb/udbp.c:853: undefined reference to 
 `ng_parse_struct_type'
 udbp.o(.rodata+0x64):/usr/src/sys/dev/usb/udbp.c:859: undefined 
 reference to `ng_parse_int32_type'
 udbp.o(.rodata+0x70): In function `udbp_detach':
 /usr/src/sys/dev/usb/udbp.c:433: undefined reference to 
 `ng_parse_int32_type'
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/LERGY72.
 *** Error code 1
 
 
 --
DA Fo rsythNetwork Supervisor
 Principal Technical Officer -- Institute for Water Research
 http://www.ru.ac.za/institutes/iwr/

Looks like you are missing `options NETGRAPH' in your kernel config
(check udbp(4), EXAMPLES section).


Yuri
___
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: PDF inventory software

2009-06-08 Thread Yuri Pankov
On Mon, Jun 08, 2009 at 05:17:29PM -0400, Daniel Underwood wrote:
 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.
 
  In the course of reading literature for research, it often happens
 that I find myself wanted to return to something I have previously
 read, but I only recall a few things about the article, often the
 author and a keyword.  Is there some inventory/database software (for
 local use only) that can be easily used for this purpose?  (The
 closest things that comes to mind (conceptually) is image collection
 software.)
 
 What are some of my options here?
 
 Thanks,
 Daniel

Try using sysutils/tracker-client (http://projects.gnome.org/tracker/).
It should do what you and much more.


Yuri
___
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: reclaiming /var capacity?

2009-03-11 Thread Yuri Pankov
On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote:
 Where did my capacity go and how can I get it back?
 
 deathray# du -sh /var
  70M/var
 
 
 deathray# df -h /var
 FilesystemSizeUsed   Avail Capacity  Mounted on
 /dev/da0d 248M214M 15M94%/var
 
 
 Thanks,
 
 --j.

http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF


HTH,
Yuri
___
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: How do I install the standard boot manager?

2009-03-06 Thread Yuri Pankov
On Fri, Mar 06, 2009 at 07:32:01PM -0800, Peter Steele wrote:
 How do I install the standard boot manager on a disk using a command line 
 tool? I believe 
 
 boot0cfg -B /dev/adN 
 
 installs the FreeBSD boot manager, but I want the standard boot manager that 
 matches the option in sysinstall. 

fdisk -B /dev/adN (check EXAMPLES section in boot0cfg manpage).


Yuri
___
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: What's the best way to destroy a geom mirror?

2009-03-05 Thread Yuri Pankov
On Thu, Mar 05, 2009 at 09:35:31AM -0800, Peter Steele wrote:
 
 I've created a USB boot disk that is used to clone itself onto the systems 
 hard drives, setting up mirrored file systems in the process. The main 
 difficulty I'm having is reimaging a system with an existing OS whose drives 
 are already configured in a mirror. I want of course to destroy the mirror 
 and create a complete new one, but I can't find the right process to 
 accomplish this reliably. I am doing the following: 
 
 # Cycle through each /dev/adNN drive and clean it. This has to be 
 # done before the geom_mirror driver is loaded. 
 disks=(`ls /dev/ad* | grep -v s | sed -e s|/dev/|| -e s|ad|| | sort 
 -g`) 
 for ((i = 0 ; i  ${#dis...@]} ; i++)); do 
 disk=ad${disks[i]} 
 dd if=/dev/zero of=/dev/${disk} bs=512 count=79 
 done 
 
 # Partition the drives as needed 
 ... 
 
 # Create the mirror, starting with the first drive in the list 
 gmdisk=ad${disks[0]} 
 gmirror load 
 gmirror label -v -n -b round-robin gm0 ${gmdisk}s1 
 
 This is where the problem occurs. If there was already a mirrored file system 
 previously active on the system being reimaged, the label operation complains 
 that it can't store the metadata on the indicated drive: 
 
 gmirror: Can't store metadata on ad4s1: Operation not permitted. 
 
 If I make sure the existing mirrors are torn down first by iterating through 
 the drives and doing a remove operation, this can solve the problem, but in 
 some cases the mirror is in a suspect state and I've seen the gmirror load 
 command hang idefiinitely. So I don't want to do a load command before I 
 destroy the old mirrors, but I can't seem to find a way to reliably destroy 
 the old mirrors. Can anyone suggest a way to do this? 

Have you tried using 'clear' keyword?


HTH,
Yuri
___
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: How can i open the CD-ROM with line command in FreeBSD

2009-02-27 Thread Yuri Pankov
On Fri, Feb 27, 2009 at 02:06:04PM -0300, SERGIO RODRIGO DE CAMARGO PAULI wrote:
 

man cdcontrol


HTH,
Yuri
___
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: can't work with a file starting with dash space '- ' ?

2009-01-16 Thread Yuri Pankov
On Fri, Jan 16, 2009 at 10:33:13AM +, Anton Shterenlikht wrote:
 By mistake I saved an email attachmed as it was called, probably
 from MS world:
 - Reviewer Comments - FFEMS - Closure paper.pdf
 
 Now I cannot delete, or rename it.
 
 % cp -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf z
 cp: illegal option --  
 usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... 
 target_directory
 % rm -\ Reviewer\ Comments\ -\ FFEMS\ -\ Closure\ paper.pdf 
 rm: illegal option --  
 usage: rm [-f | -i] [-dIPRrvW] file ...
unlink file
 % 
 
 I can view it with xpdf, but that's about all.
 I tried wildcards and quotes, sh, csh, bash, tcsh and superuser but no luck.
 
 How can I delete or rename this file?
 
 many thanks
 anton
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 928 8233 
 Fax: +44 (0)117 929 4423


Try cp/rm -- filename-with-dashes
-- here denotes the end of command options.


HTH,
Yuri
___
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: Problem compiling gnome2

2009-01-09 Thread Yuri Pankov
On Fri, Jan 09, 2009 at 05:14:03PM +0200, rg wrote:
 Hello,

 I am trying to compile gnome2, but libggz fails to compile because of  
 missing library: gcrypt1.5. It does on to complile security/libgcrypt, 
 but evidently the current version 1.4.3 doesn't help much. How can I 
 fight with this beast?

 Thank you.

Follow steps in /usr/ports/UPDATING 20090107 entry before installing
anything else.


HTH,
Yuri
___
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: Sun sucks

2009-01-08 Thread Yuri Pankov
On Thu, Jan 08, 2009 at 05:10:10PM -0500, Ansar Mohammed wrote:
 So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download
 the Timezone Java patch. 
 
 After registering Sun complains that they don't like my ID and I need to
 provide more information. I create another account. Same problem. After 3
 months I finally get an email saying they want clarification on the acronym
 for my company. (no access yet to download Java patch.)
 
  
 
 This sucks man. Is there one central repository where we can get all the
 components required to build Java on FreeBSD?

Try downloading it from URL provided by filesearch.ru search results:

http://www.filesearch.ru/cgi-bin/s?q=tzupdater-1_3_11-2008i.zipt=fw=a


HTH,
Yuri
___
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: mergemaster goof when src upgrading 7.0 - 7.1

2009-01-06 Thread Yuri Pankov
On Wed, Jan 07, 2009 at 07:06:53AM +0100, Peter Boosten wrote:
 Johann Hasselbach wrote:
  I was doing a src upgrade from 7.0 to 7.1
  
  After installkernel, i rebooted, and accidently ran mergemaster
  instead of mergemaster -p before installworld. I ctrl-c'd once I
  realized what I had done, but the damage was done.
  
  It seems to have overwritten my password and group files.
  
 
 I've stated this before: In my opinion this entire 'I want to overwrite
 your passwd file' attitude from mergemaster is nonsense: at installation
 time you're required to add an additional user, and mergemaster wants to
 undo that again.
 
 There are other ways to create new accounts or groups than simply
 overwriting passwd/group files.
 
 Also: most scripts updated by mergemaster during 7.0-7.1 are only
 version numbering diffs. Is there no smarter way to do this, apart from
 typing 'i' every time?

I think you want -U option (auto upgrade files that have not been
modified by user) along with -i (install missing files).

 
 Having to go through mergemaster is the most tedious job I've ever done
 (it would probably be bearable if only one machine was involved).
 
  
  Did I damage anything else?
 
 You might wanna look at hosts, login.conf, ssh config, pam, audit,
 sendmail, syslog.conf, basically everything in /etc.
 
 Peter
 
 -- 
 http://www.boosten.org


Yuri
___
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: Problem with linking kernel

2009-01-05 Thread Yuri Pankov
On Mon, Jan 05, 2009 at 06:38:19PM +0200, Igor wrote:

snip

 #options  INET6   # IPv6 communications protocols
 options   SCTP# Stream Control Transmission Protocol

snip

excerpt from /sys/conf/NOTES:
# Note YOU MUST have both INET and INET6 defined.
# you don't have to enable V6, but SCTP is 
# dual stacked and so far we have not teased apart
# the V6 and V4..


HTH,
Yuri
___
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: make pdf from webpage on webserver (no x11)

2009-01-04 Thread Yuri Pankov
On Sun, Jan 04, 2009 at 07:35:03PM -0500, B. Cook wrote:
 Trying to figure out how to print a webpage on the server, without a gui..

 On the local test webserver that we have we are trying to figure out how  
 we can from php (or anything else) print a webpage to a pdf..

 Anyone have a clue as to how to do this?

 Or is this some major php programming to make it happen?

I'm using textproc/htmldoc to create PDFs from HTML.


HTH,
Yuri
___
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: Nice web interface or music?

2009-01-01 Thread Yuri Pankov
On Thu, Jan 01, 2009 at 02:01:11PM -0500, stan wrote:
 I's like to set up my MP3's so that I can access them from the web server
 on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface
 to this? I'd like something better than just letting Apache display the
 directories.
 
 Sugestins?
 
 -- 
 One of the main causes of the fall of the roman empire was that, lacking
 zero, they had no way to indicate successful termination of their C
 programs.

Try /usr/ports/www/mod_musicindex


Yuri
___
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: cannot compile linphone due to compile error message in gio-fam-backend

2008-12-31 Thread Yuri Pankov
On Thu, Jan 01, 2009 at 11:24:46AM +0800, Zhang Weiwu wrote:
 Hello.
 
 I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but
 as it has been working well for the last several years I got no motivate
 to upgrade it unless have to). The last error message says:
 
 [from gio-fam-backend ]:
 
 cannot find -lgio-2.0
snip

Check 20080323 entry in /usr/ports/UPDATING.


HTH,
Yuri
___
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: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
 joeb wrote:
  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the  
 selected
 virtual console.
 But I can not find any way to return to the xorg/xfce desktop running 
 in the
 virtual console I left from.
  Alt+Fx does take me to the virtual console where x11/xfce is suppose 
 to be,
 but puts me in command line mode.
 The command ps ax shows xorg/xfce is still running.

 How do I get back to the xorg/xfce desktop running in the virtual console I
 left from?

 You should be able to get back into Xorg with Alt F7 or F8. Does this
 not work?

  Steve

X usually runs on ttyv8, so it should be Alt+F9.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question: Howto Cvsup mirror?

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 08:01:17AM -0800, Oliver v.B.K. wrote:
 Hi,
 I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
 ftp mirror is working great(used a repository with cobbler) 
 but with the cvsup mirror I'm quite lost.
 
 I read in the freebsd handbook what cvsup does and how it works but I didn't 
 find anywhere
 explaining how to create a mirror.
 
 Since the mirror server on the network runs centos5.2 I tried running csup 
 instead of compiling cvsup with modula3.
 I tried it out with the supfiles I use on the freebsd7.0 machines and it 
 worked pretty well I guess...
 
 Now... what kind of server should I use ? is there a cvsupd I can use? or a 
 normal CVS server should be enough ?
 
 Thanks
 
  
 Oliver vBK

Check /usr/ports/net/cvsup-mirror


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 12:39:36PM -0800, [EMAIL PROTECTED] wrote:


  Following onto the e-mail I made before, apparently that little 
 permissions

  difference for the directory, .ssh, was the problem. Changing it to 
 644 
 has,

  apparently, fixed the problem.



 Cool :) . I learnt this from my first SSH public-key authentication

 configuration ;)



 Ashish

 --


 Of course I meant to say that changing the perms to 755 fixed it, not 
 644. I'm still reviewing the docs but I think that this directory could 
 be made 700, is that correct? Or, at the least, 750?

From ssh(1):
 ~/.ssh/
 This directory is the default location for all user‐specific con‐
 figuration and authentication information.  There is no general
 requirement to keep the entire contents of this directory secret,
 but the recommended permissions are read/write/execute for the
 user, and not accessible by others.

So 700 is not only possible, but also recommended. :-)


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL not restarted after portupgrade

2008-11-02 Thread Yuri Pankov
On Mon, Nov 03, 2008 at 12:52:53AM -0500, Andrew Berry wrote:
 Hi,

 For some reason, after running portupgrade databases/mysql51-server,  
 MySQL is brought down, but not restarted. It's not a huge issue, as I  
 just have to remember to run the rc.d script after upgrading, but I was 
 wondering if anyone else had seen this? portupgrade seems to work fine 
 with other daemons such as Apache and Courier IMAP.

 Thanks,
 --Andrew

Apache and Courier IMAP are just not stopped during deinstall stage
(IIRC). You can use AFTERINSTALL in /usr/local/etc/pkgtools.conf to
start MySQL after upgrade.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sed html tags

2008-08-26 Thread Yuri Pankov
An wrote:
 unfortunately not... see:
 
 # cat file
 span  111 /span  span   /span
 
 # sed -e 's/\/?span[^]*//g' file
 span  111 /span  span   /span
 
 (...nothing happens, the file is returned with no substitutions done)
 
 
 I could do it with a perl script, which basically does what i would expect
 sed would do:
 
 # cat pscript.pl
 #!/usr/bin/perl -w
 $text = span  111 /span    span   /span span 
 111 /spanspan   /span;
 $text =~ s/span x[^]*[^\(\/span\)]*[\s]*\/span[\s]*//g;
 print $text . \n

$text =~ s#span .*?/span\s*##g;

 # perl pscript.pl
  span   /span span   /span
 
  span xxx . /span  is removed... but i don't seem to be able to do
 it with sed... : (

regexps in sed are greedy and, sadly, you can't use *? as quantifier.
try the following (adding characters that can be inside your ''
tags, of course):
sed 's#span [ a-zA-Z0-9]*/span[ ]*##g'

 Im on fedora c9, maybe that's the problem ?
 
 siran
 
 
 On Mon, Aug 25, 2008 at 8:35 PM, Paul A. Procacci [EMAIL PROTECTED]wrote:
 
 siran wrote:

 Hi, I have the string

 span  111 /span  span   /span

 And i wish to use sed to strip *only* the span  tag and its
 contents... is this possible ? I'm trying this expression, but it
 doesn't work...

 sed 's/span [^\(/span\)]+\/span//g' file

 is there anything like it ?

 I would like to obtain

 



 I hope someone can help,

 thank you,

 siran
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


 sed -E 's/\/?span[^]*//g'

 Myabe that's what you want?



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from p2 to p3 on 7.0

2008-07-14 Thread Yuri Pankov
On Mon, Jul 14, 2008 at 11:42:32AM -0400, Schiz0 wrote:
 Hey,
 
 I'm running 7.0-RELEASE-p2 on a production box. I'm aware that -p3 was
 released, which is a security patch for BIND. Is there any way to
 compile and install the changed files without restarting the system? I
 do run BIND as a caching daemon, so I would like to keep it up to
 date.
 
 Thanks.

Check http://security.freebsd.org/advisories/FreeBSD-SA-08:06.bind.asc
section V. Solution for instructions. Or you could just use
freebsd-update and restart bind afterwards.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named and its hourly reports

2008-07-14 Thread Yuri Pankov
On Tue, Jul 15, 2008 at 12:22:06PM +1000, jonathan michaels wrote:
[...]
 named now reports hourly
 
 Jul 15 06:55:10 hid named[617]: could not listen on UDP socket: permission 
 denied
 Jul 15 06:55:10 hid named[617]: creating IPv4 interface tun0 failed; 
 interface ignored
 Jul 15 07:55:10 hid named[617]: could not listen on UDP socket: permission 
 denied
 Jul 15 07:55:10 hid named[617]: creating IPv4 interface tun0 failed; 
 interface ignored
 Jul 15 08:55:10 hid named[617]: could not listen on UDP socket: permission 
 denied
 Jul 15 08:55:10 hid named[617]: creating IPv4 interface tun0 failed; 
 interface ignored
 Jul 15 09:55:10 hid named[617]: could not listen on UDP socket: permission 
 denied
 Jul 15 09:55:10 hid named[617]: creating IPv4 interface tun0 failed; 
 interface ignored
[...]

http://www.isc.org/sw/bind/arm95/Bv9ARM.ch06.html#id2576660
Check interface-interval:

The server will scan the network interface list every
interface-interval minutes. The default is 60 minutes. The maximum value
is 28 days (40320 minutes). If set to 0, interface scanning will only
occur when the configuration file is loaded. After the scan, the server
will begin listening for queries on any newly discovered interfaces
(provided they are allowed by the listen-on configuration), and will
stop listening on interfaces that have gone away. 


If you don't need bind to listen on tun0, just set interface interval to
0.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: saslauthd on AMD64

2008-07-13 Thread Yuri Pankov
On Sun, Jul 13, 2008 at 04:58:56PM +, Duane Hill wrote:
 On Sun, 13 Jul 2008, Martin Schweizer wrote:

 Hello Duane

 Do you have some inputs (config files etc.)?

 $ ls -l /usr/local/lib/sasl2/
 -rw-r--r--  1 root  wheel 26 Jun 17 22:11 Sendmail.conf
 -rw-r--r--  1 root  wheel  22834 Jun 11 19:16 libcrammd5.a
 -rwxr-xr-x  1 root  wheel815 Jun 11 19:16 libcrammd5.la
 lrwxr-xr-x  1 root  wheel 15 Jun 11 19:16 libcrammd5.so - libcrammd5.so.2
 -rwxr-xr-x  1 root  wheel  24482 Jun 11 19:16 libcrammd5.so.2
 -rw-r--r--  1 root  wheel  63976 Jun 11 19:16 libdigestmd5.a
 -rwxr-xr-x  1 root  wheel838 Jun 11 19:16 libdigestmd5.la
 lrwxr-xr-x  1 root  wheel 17 Jun 11 19:16 libdigestmd5.so - 
 libdigestmd5.so.2
 -rwxr-xr-x  1 root  wheel  57212 Jun 11 19:16 libdigestmd5.so.2
 -rw-r--r--  1 root  wheel  20046 Jun 11 19:16 liblogin.a
 -rwxr-xr-x  1 root  wheel809 Jun 11 19:16 liblogin.la
 lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 liblogin.so - liblogin.so.2
 -rwxr-xr-x  1 root  wheel  20895 Jun 11 19:16 liblogin.so.2
 -rw-r--r--  1 root  wheel  19894 Jun 11 19:16 libplain.a
 -rwxr-xr-x  1 root  wheel809 Jun 11 19:16 libplain.la
 lrwxr-xr-x  1 root  wheel 13 Jun 11 19:16 libplain.so - libplain.so.2
 -rwxr-xr-x  1 root  wheel  20749 Jun 11 19:16 libplain.so.2
 -rw-r--r--  1 root  wheel 68 Jun 17 15:17 smtpd.conf

 $ cat /usr/local/lib/sasl2/smtpd.conf
 pwcheck_method: saslauthd
 mechlist: LOGIN PLAIN CRAM-MD5 DIGEST-MD5

 $ cat /usr/local/etc/saslauthd.conf
 ldap_servers: ldap://ldap.example.com
 ldap_bind_dn: [EMAIL PROTECTED]
 ldap_bind_pw: password
 ldap_search_base: cn=%d
 ldap_filter: mail=%u
 ldap_timeout: 60
 ldap_time_limit: 60

snip

Really just a guess as you are using LDAP. Try the attached patch and 
rebuild cyrus-sasl2-saslauthd. If it doesn't help, try rebuilding sasl*
and openldap-client using WITH_DEBUG defined and post backtrace.


HTH,
Yuri
Index: ports/security/cyrus-sasl2-saslauthd/Makefile
===
RCS file: /home/ncvs/ports/security/cyrus-sasl2-saslauthd/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- ports/security/cyrus-sasl2-saslauthd/Makefile   7 Aug 2007 16:46:22 
-   1.51
+++ ports/security/cyrus-sasl2-saslauthd/Makefile   14 Jul 2008 02:31:44 
-
@@ -62,6 +62,9 @@
 WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
 .endif
 USE_OPENLDAP=  yes
+.if ${WANT_OPENLDAP_VER} = 23
+CFLAGS+=-DLDAP_DEPRECATED
+.endif
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
 .endif
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ports

2008-07-08 Thread Yuri Pankov
On Tue, Jul 08, 2008 at 12:14:54PM -0400, kalin m wrote:
 brand new install of freebsd 7. some httpd and named.
 what are these?
 udp6   0  0  *.54168*.*udp4   
 0  0  *.54167*.*

 thanks

Try using sockstat(1) to find which app is listening there:
sockstat -6p54168
sockstat -4p54167


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hw.snd.pcm0.vchans does not exist under 7.0-release

2008-06-18 Thread Yuri Pankov

On 6/18/2008 9:49 PM, Aline de Freitas wrote:

Hi everyone!

In the 6.x series we could set hw.snd.pcm.vchans to 4 in order to have four
sound virtual channels. But under 7.0 it does not exist.

I've found dev.pcm.0.play.vchans which I did set to 4 but still I have
only /dev/dsp0.0. Does anyone knows how to deal with it under 7.x series?

Thanks,


Sorry for RTFM-style answer, but please read pcm(4) manpage :). Quote:

dev.pcm.%d.[play|rec].vchans
   The current number of VCHANs allocated
   per device.  This can be set to preal-
   locate a certain number of VCHANs.
   Setting this value to ``0'' will dis-
   able VCHANs for this device.

20061126 entry in /usr/src/UPDATING also mentions this change.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0

2008-06-18 Thread Yuri Pankov

On 6/17/2008 1:52 PM, Anton Shterenlikht wrote:

I sent a query to ImageMagick port maintainers about this.

I'm getting errors while trying to upgrade to
ImageMagick 6.4.1.5 on FreeBSD 7.0-release.

Below are the error messages and my ImageMagick configuration.

Please advise
many thanks
anton


[skip]


Meanwhile you can disable tests using `make config -C 
/usr/ports/graphics/ImageMagick`



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual NIC routing (?) problem

2008-06-17 Thread Yuri Pankov

The MadDaemon wrote:

List,

I'm having a problem with a dual-homed host running 7.0-RELEASE with
regards to traffic on one of the interfaces that I'm hoping someone
knows something about.

The goal of this box is to run Nessus on bge0 only (which is plugged
into a trunk port on a switch), keeping fxp0 free as the admin
interface and for serving web pages on my LAN.

Here's ifconfig:

bge0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:19:b9:22:a8:22
inet 0.0.0.0 netmask 0xff00 broadcast 0.0.0.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
ether 00:02:b3:bb:59:17
inet 10.20.10.24 netmask 0xff00 broadcast 172.20.10.255
inet 10.20.10.28 netmask 0x broadcast 172.20.10.28
inet 10.20.10.29 netmask 0x broadcast 172.20.10.29
media: Ethernet autoselect (100baseTX full-duplex)
status: active

/etc/rc.conf section:

# Created: Mon Jun  9 09:32:52 2008
defaultrouter=10.20.10.254
hostname=darkhorse.mydomain.local
ifconfig_fxp0=inet 10.20.10.24  netmask 255.255.255.0
ifconfig_fxp0_alias0=inet 10.20.10.28 netmask 255.255.255.255
ifconfig_fxp0_alias1=inet 10.20.10.29 netmask 255.255.255.255
ifconfig_bge0=inet 0.0.0.0 netmask 255.255.255.0


Try using ifconfig_bge0=up in /etc/rc.conf instead of assigning bogus 
(probably) address.




I'm not sure what other changes need to be made or where, but when I
assign an IP/netmask to bge0, bring up the interface, and try to ping
the gateway (or anything else), I get 100% packet loss.  I've even
tried to assign a new default route, but I get an error stating
there's already a default route.

I know I'm completely missing something here, but I just can't figure
out *what*.

Any help would be most appreciated.


-MD



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb modem on freebsd 7.0

2008-06-16 Thread Yuri Pankov

Abhinav Lele wrote:

Hi,

I am trying to use a usb modem (sony ericsson w810i) (gprs).
The dmesg log shows up that the new device has been detected, but I don't
seem to find that in /dev.

I also tried using /dev/cuad0 in ppp configuration file in /etc/ppp but i am
unable to dial


What can be the problem ? ( I already have done kldload ucmodem )

  ^^^
if that should read `umodem', then device is accessed through `ucom' 
driver, and ucom(4) manpage lists following devices:

FILES
 /dev/cuaU?
 /dev/ttyU?

If none are present, could you paste your dmesg?



-Abhinav



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv4 loopback address is missing, why?

2008-06-11 Thread Yuri Pankov

Len Conrad wrote:


/etc/hosts :

::1 localhost.mydomain.tld localhost
127.0.0.1 localhost.mydomain.tld localhost


/etc/defaults/rc.conf :

ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.

... but ifconfig always shows no inet:

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128


so we added to /etc/rc.conf :

ifconfig_lo0=inet 127.0.0.1 netmask 255.0.0.0

... still not inet4 loopback if (so commented it out).

no errors in /var/log/messages,
dmesg -a shows no error,
... other than services failing to grab ports on 127.0.0.1


thanks
Len


Do you have network_interfaces set to something different than auto in 
/etc/rc.conf?



Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems compiling Abiword and almost any Gtk app to FreeBSD 6.2: fusefs-kmod

2008-06-05 Thread Yuri Pankov
On Mon, Jun 02, 2008 at 09:15:09AM -0400, pedro alves wrote:
 
Hello
I am running FreeBSD 6.2-release on a Thinkpad600.
I am trying to build a decent workstation for my work (text editing
and minor plain web browsing).
I do cvs updates weekly of the ports.
However recently I found that I can't build abiword or gnumeric or any
other gtk2 app, because I get the following an error compiling
fusefs-kmod.
== fusefs-kmod-0.3.9.p1.20080208_1 requires the userland sources to
be installed. Set SRC_BASE if it not in /usr/src.
Well I have source files installed
(sysinstall-Distribution-source-sys  base.).

Try installing *all* sources, not just sys and base ones.

However no change ... I get always the same error using MAKE INSTALL
CLEAN or PORTINSTALL.
Can some one provide an easy to understand method to sold this
annoying problem.
Thanks.
PS: I am an newbie user of FreeBSD.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Yuri Pankov

Anton Shterenlikht wrote:

Hi

What is /usr/local/bin/gsc ?

I run FreeBSD 6.3-STABLE #2 on compaq armada laptop.

When I send a job for printing I see gsc process running:

  PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
[skip]
99954 daemon1 1170 27244K 19000K RUN  0:05 30.08% gsc

% which gsc
/usr/local/bin/gsc
%


First, check if there's manpage with description for gsc :-) You can 
also check which package installed that file:

pkg_info -W /usr/local/bin/gsc
(and as you mentioned printing, I'd think it was installed by 
ghostscript package) and follow the URL in pkg-descr.



However, I cannot find any info on gsc.
The latest I've found is from 5.2-release,
some gsc(4) -- a device driver for a handy scanner.
I doubt this is it.

Could somebody tell me what gsc is and what it does. 


many thanks
anton




HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnash leave a blank page when visit youtube

2008-06-02 Thread Yuri Pankov

Jyun-Yi Liou wrote:

Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ?
www/linux-flashplugin9 always freeze my firefox :-(


I don't see how RESTRICTED prevents you from installing 
linux-flashplugin7. Quoting /usr/ports/Mk/bsd.port.mk:

# RESTRICTED- Prevent the distribution of distfiles and packages to
# the FTP sites or on CDROM (e.g. forbidden by license
# considerations).

What is actual problem (error messages from `make`, please) with 
linux-flashplugin7?



I miss the old days with www/linux-flashplugin7 D-:

btw, graphic/gnash seems pretty stable, but the integration with firefox is
poor in my case.



Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnash leave a blank page when visit youtube

2008-06-02 Thread Yuri Pankov

Jyun-Yi Liou wrote:



2008/6/2 Yuri Pankov [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

What is actual problem (error messages from `make`, please) with
linux-flashplugin7?

the message I got:

===  linux-flashplugin-7.0r73 has known vulnerabilities:
= linux-flashplugin -- unspecified remote code execution vulnerability.
   Reference: 
http://www.FreeBSD.org/ports/portaudit/04c6187d-2d8f-11dd-98c9-00163e16.html 
http://www.freebsd.org/ports/portaudit/04c6187d-2d8f-11dd-98c9-00163e16.html

= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/www/linux-flashplugi
n7.
*** Error code 1

Stop in /usr/ports/www/linux-flashplugin7.

anything I can do further?



If you are absolutely sure you want linux-flashplugin7 installed, 
despite security vulnerability, you can disable portaudit check (this 
message comes from portaudit) with -DDISABLE_VULNERABILITIES (it's 
documented in ports(7) manpage).



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to check if spf record is set

2008-06-02 Thread Yuri Pankov

Zbigniew Szalbot wrote:

Hello,

Pardon my lack of knowledge but how can one check if SPF record is 
correctly set using standard UNIX tools?

dig? host?

$ man dig |grep spf
$ man host |grep spf

yield nothing. Many thanks!



SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do 
the trick.



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh - connect to directory outside of /user/home - permission denied

2008-05-31 Thread Yuri Pankov

Turner Litigation Services wrote:

How do you allow ssh to permit connections to a folder outside of the /home
folder of the user loggin in to ssh?  For example, i want to sync two
folders
(using unison) on different machines and need to ssh to the remote folder ..

but the folder is a shared folder outside of my home folder
(i.e. /user/data/pub).

ssh [EMAIL PROTECTED] works to get me into the user folder and I can
cd
to the folder I need to access (and have proper perms there)

But, I need to connect to the folder directly to use unison (file/directory
synchronization tool).

ssh [EMAIL PROTECTED] /usr/data/pub/ gives permission denied errors.

 ^^
You are specifying a command to run once ssh connects, not the path to 
chdir to.



I've heard the directory path needs to be relative to the home path but the
following does not work either:

ssh [EMAIL PROTECTED] ../../../usr/data/pub/  (where the default
directory for ssh logins is /usr/home/[username]/.)

I've tried formatting variations of the above themes to no avail and suspect

there's a setting somewhere to allow what directories ssh connections can be

made to, or creating a link in [users] home directory to the public
directory.  Your help would be appreciated.



You could use something similar to:
ssh [EMAIL PROTECTED] 'cd /usr/data/pub; unison .'


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disallow remote root / allow remote root by key

2008-05-30 Thread Yuri Pankov

Zbigniew Szalbot wrote:

Hello,

I wonder if it is possible and if so how to go about the following.

Server - Remote root login is disallowed but I need to fetch snaphosts 
produced by rsnapshot and for this I need remote root access.
Backup machine on a dynamic IP - connects to server using key-based 


As user, I guess?

authentication. Can this machine (and only this machine) log in remotely 


Check sshd_config(5) for PermitRootLogin without-password keyword (I 
hope I understood you correctly).



as root?

Is there a better way of handling this?

Thanks!




HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: junk in remote mutt

2008-03-17 Thread Yuri Pankov
On Mon, Mar 17, 2008 at 04:03:54PM -0600, Chad Perrin wrote:
 I'm not sure that's a very good title for this email, but it's what I've
 got.
 
 Since configuring my environment to use UTF-8, I've had a problem while
 checking email on a server.  I log into the server via SSH, then enter
 the `mutt` command.  As I page through the inbox, open and close emails,
 et cetera, I get a bunch of junk on the screen -- characters from the
 previous screen appearing on the current screen.  I have to use Ctrl + L
 to clear it up and return the appearance of the screen to the way it's
 supposed to look.
 
 What can I do to eliminate this problem?  I don't want to have to force a
 screen redraw every time I switch between views, scroll down a page in
 mutt, and so on.  I also don't want to go back to a character set limited
 to plain ol' ASCII (there's a reason I use rxvt-unicode instead of rxvt).
 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 Patrick J. LoPresti: Emacs has been replaced by a shell script which 1)
 Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk
 quota by 100K; and 3) RUNS ED!!

Don't see it here. If you are sure that mutt uses UTF-8 charset (ie,
forced it with 'set charset=utf-8'), make sure it's linked against
ncursesw library (and not just ncurses) - need to use WITH_NCURSES_PORT
on 6.2 and earlier or build it using WITH_SLANG.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which List

2008-03-12 Thread Yuri Pankov

Brad Pitney wrote:

Hello,

which list is best for me to post a Lock Order Reversal which is related the
ral driver?

What about DevFS?

the box was running CURRENT until it was branched for RELENG_7 which was
running code from September 2007 fine until I updated to todays code.


Check current@ archives, these LORs may be (and I think they were) 
already reported.



Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SiS 180 and SATA Hard drives

2008-03-07 Thread Yuri Pankov
On Fri, Mar 07, 2008 at 09:50:23AM +0200, Jaco le Roux wrote:
 Hi, I already sent a message to hardware@, I'm hoping I might find a
 response here
 
 I have an Asus P4S-800D motherboard with SATA hard drives running from
 a SiS 180/181 RAID Controller (VEN_1039  DEV_0180, according to
 Windows XP). They are not set to RAID mode however, it is merely a
 RAID controllor taking charge of the SATA hard drives. My problem is
 the following: when I enter 'sysinstall' and do a Standard Install,
 freebsd does not detect any hard disks. According to the 'ata(4)' man
 page, the SiS 180 controller is supported and I see the controller
 detected/being loaded at boot time. I have links to other people
 experiencing similar problems too:
 
  http://monkey.org/freebsd/archive/freebsd-bugs/200510/msg00208.html
  http://monkey.org/freebsd/archive/freebsd-bugs/200707/msg00265.html
 
  And a few others of which I lost the urls. I have also tried this on
 both RELEASE of 6.3 and 7.0. Does anyone have any ideas?
 
  Thanks, much appreciated

Just a me too.

http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038203.html


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making .bash_history non writeable by user?

2008-02-28 Thread Yuri Pankov
On Thu, Feb 28, 2008 at 06:00:52PM +0530, Girish Venkatachalam wrote:
 
 Hello friends,
 
 My friend wants the user commands history file ~/.bash_history to be non
 writeable by user. He feels that the user should not able to erase the 
 commands
 entered by him. 
 
 A reasonable requirement.
 
 In case the ~/.bash_history file can also be written to
 another location that the root alone can access then perhaps we can
 solve this problem.
 
 But AFAIK bash runs as the user process. How can you make the file
 readable and writeable by root alone? In that case how can the history 
 mechanism function?
 
 Do you guys know a way to get around this problem?
 
 Thanks.
 
 -Girish
 
 -- 
 unix soi qui mal y pense
 
 UNIX to him who evil thinks

Try setting 'sappend' flag on .bash_history with chflags(1).


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unicode Console?

2008-02-20 Thread Yuri Pankov
On Wed, Feb 20, 2008 at 07:28:52PM -0600, Kevin Monceaux wrote:
 Fellow FreeBSD Fans,

 I've been running FreeBSD on a web/mail server, which I only have remote 
 access to, for a while now.  At home I've been running Linux since the 1.xx 
 kernel days but am considering switching my desktop box to FreeBSD.

 I never given much thought to my locale setting until recently.  I'm about 
 to start participating in an online Spanish study group, via e-mail, and 
 might also be following along with an Old English study group.  I'm an old 
 fashioned kinda user and prefer to do as much as I can via the text 
 console.  I compose/read e-mail via Alpine.  After some trial and error I 
 finally convinced my Linux box, currently running Arch Linux, to handle all 
 of the special characters I need via the console.  In the end, it 
 amounted to:

 1.  Add en_US.UTF-8 UTF-8 to /etc/locale.gen

 2.  run locale-gen

 3.  set LANG to en_US.UTF-8

 4.  Switch to a font that contains the symbols I need.  I'm currently
 using one of the Terminus console fonts.  For some reason I had to
 switch to a framebuffer console otherwise after executing
 unicode_start the font was way too dim.

 5.  run unicode_start(added to my .cshrc file)

 After the above I'm able to display various accented characters such as á, 
 é, ì, ö, û, ç, etc. along with the Spanish ñ, inverted punctuation 
 marks ¡, ¿, Old English thorn(þ), eth(ð), ash(æ), etc.  Also, from 
 reading mail from various mailing lists I've noticed that it also handles 
 the Cyrillic alphabet and part of the Greek alphabet.

 From what I've seen of FreeBSD I'd expect it to have console capabilities 
 that are superior to those of Linux.  But, I haven't managed to figure out 
 how to achieve similar functionality via the FreeBSD text consoles.  I'm 
 currently testing FreeBSD(7.0-RC2) under VMware.  Can anyone point me in 
 the right direction?




 Kevin
 http://www.RawFedDogs.net
 http://www.WacoAgilityGroup.org
 Bruceville, TX

 Si hoc legere scis nimium eruditionis habes.
 Longum iter est per praecepta, breve et efficax per exempla!!!

Unicode isn't supported in syscons at all (AFAIK). Check
http://opal.com/jr/freebsd/unicode/ for more complete overview.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildkernel fails at mkdep sound

2008-02-15 Thread Yuri Pankov
On Fri, Feb 15, 2008 at 06:35:04PM +0100, Mon Si wrote:
 Hi,
 
 during kernel build (cvsupped half an hour ago, RELENG_7_0) I get the 
 following error:
 [EMAIL PROTECTED] /usr/src]# make buildkernel KERNCONF=HOST
 [... first part snipped ...]
 --
  stage 3.1: making dependencies
 --
 [... part snipped ...]
 
 make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E CC=cc 
 xargs mkdep -a -f .newdep -O -pipe -march=pentium-m -std=c99 -g -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf 
 -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa 
 -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support 
 -I/usr/src/sys/gnu/fs/xfs -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-3dnow -mno-sse -mno-sse2 
 -mno-sse3 -ffreestanding
 In file included from /usr/src/sys/dev/sound/pcm/sound.h:94,
  from /usr/src/sys/dev/sound/pci/ich.c:28:
 /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such 
 file or directory
 In file included from /usr/src/sys/dev/sound/pci/ich.c:29:
 /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error: ac97_if.h: No such file or 
 directory
 mkdep: compile failed
 *** Error code 1
 
 Browsing the source on CVS I found that thes _if.h-files do not exist, but 
 there are the corresponding files ending in _if.m.
 
 Is this a typo?
 
 Thanks for clarification,
 Simon

You are probably using 'device snd_XX' without including 'device
sound' in your config.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem building loader in RELENG_7

2008-02-15 Thread Yuri Pankov
On Fri, Feb 15, 2008 at 10:37:36PM +0100, Erik Norgaard wrote:
 Hi:

 Just updated my source tree, I'm on FreeBSD bifrost 7.0-PRERELEASE FreeBSD 
 7.0-PRERELEASE #1: Tue Feb 12 09:52:32 CET 2008. Then I did

 # cd /usr/src
 # make -DLOADER_TFTP_SUPPORT=YES


This seems to be a rather weird way to build loader with TFTP support.
You could try the following:

cd /sys/boot; make cleandir; make obj; make -DLOADER_TFTP_SUPPORT

(with binaries somewhere in /usr/obj/usr/src/sys/boot/).


 /usr/obj is empty, and i did make clean before make. Anyone else 
 experiencing similar problems? I tried this also a few days ago with the 
 same problem, it seems it is persistent...

 Thanks, Erik
 -- 
 Erik Nørgaard
 Ph: +34.666334818   http://www.locolomo.org

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem building loader in RELENG_7

2008-02-15 Thread Yuri Pankov
On Sat, Feb 16, 2008 at 01:12:20AM +0300, Yuri Pankov wrote:
 On Fri, Feb 15, 2008 at 10:37:36PM +0100, Erik Norgaard wrote:
  Hi:
 
  Just updated my source tree, I'm on FreeBSD bifrost 7.0-PRERELEASE FreeBSD 
  7.0-PRERELEASE #1: Tue Feb 12 09:52:32 CET 2008. Then I did
 
  # cd /usr/src
  # make -DLOADER_TFTP_SUPPORT=YES
 
 
 This seems to be a rather weird way to build loader with TFTP support.
 You could try the following:
 
 cd /sys/boot; make cleandir; make obj; make -DLOADER_TFTP_SUPPORT
 
 (with binaries somewhere in /usr/obj/usr/src/sys/boot/).
 
 
  /usr/obj is empty, and i did make clean before make. Anyone else 
  experiencing similar problems? I tried this also a few days ago with the 
  same problem, it seems it is persistent...
 
  Thanks, Erik
  -- 
  Erik Nørgaard
  Ph: +34.666334818   http://www.locolomo.org
 
 HTH,
 Yuri

After reading Mike Clarke's reply, I've actually tested it on RELENG_7
(not RELENG_7_0 as before), same errors. Sorry for the noise :-(


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build server for ports and world...

2008-01-18 Thread Yuri Pankov
On Fri, Jan 18, 2008 at 11:32:37PM +, peter harrison wrote:
 I'd like to set up a build server at home to save me time when running 
 portupgrade and building world.
 
 I've read the handbook on this, and I'm happy with the process of NFS 
 mounting /usr/src /usr/obj and /usr/ports etc..
 
 I've two questions though.
 
 First, my home server currently runs 6.2-RELEASE - I update it using 
 freebsd-update and it doesn't have the source for world  kernel.
 Is it possible to put the 7.0 source on this and build for installation on my 
 desktop, or do I need to take the server to 7.0 before I do this?

Yes, it should be possible.

 Second, is there anyway of building packages without installing them?
 I'm not keen to put X and all my desktop gubbins on the server when I only 
 need it to build the packages.

Look at ports-mgmt/tinderbox, does exactly what you want :-)

 Thanks for any help.
 
 
 Peter Harrison.
 -- 
 `That young girl is one of the least benightedly 
 unintelligent organic life forms it has been my profound 
 lack of pleasure not to be able to avoid meeting.' 
 
 - Marvin's first ever compliment about anybody. 

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd-Q

2008-01-11 Thread Yuri Pankov
On Fri, Jan 11, 2008 at 01:38:45PM +0100, Marcin Nowicki wrote:
 Hi,
 
 I've a question about FreeBsd OS, 
 
 mainly FB is 64-bit system ??

http://www.freebsd.org/platforms/

 
 FB support up to 8GB RAM ??

Depends.

 
  
 
 Regards, 
 
  
 
 Marcin Nowicki
 Technical Support 
 OPTIMUS S.A
 LABORATORIUM 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] 
 
  
 
 OPTIMUS S.A. z siedzibą w Warszawie
 ul. Bokserska 66 
 02-690 Warszawa
 Tel. +48 22 375-77-00
 Fax. +48 22 375-77-10
 
 Sąd Rejonowy dla m.st. Warszawy w Warszawie
 XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
 REGON 492707333 KRS 006865 NIP 734-28-67-148
 Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with Groups

2008-01-10 Thread Yuri Pankov
On Thu, Jan 10, 2008 at 11:28:17PM +, Andrew Stevens wrote:
 
 Hi everybody 
 
 Freebsd 6.2 
 sorry this question is a bit thick I know but after getting the usb and cdrom 
 open as root I tried as user and got the following message
 
  A security policy in place prevents this sender from sending this 
  message to this recipient, see message bus configuration file (rejected 
  message had interface org.freedesktop.Hal.Device.Volume member Mount 
  error name (unset) destination org.freedesktop.Hal)
 
 a suggested work around was to add user to storage group
 
 would somebody be kind enough to tell me how to add user to storage group
 
 
 Thanks 
 
 Andrew 

http://www.freebsd.org/gnome/docs/faq2.html#q19


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having problems with SMTP authentication

2007-12-29 Thread Yuri Pankov
On Sat, Dec 29, 2007 at 03:24:42PM -0700, Andrew Falanga wrote:
 On Saturday 29 December 2007 13:51:06 Matthew Seaman wrote:
  Andrew Falanga wrote:
   dnl set SASL options
   TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
   define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
  
   But when I ask my e-mail client to check what the server supports, the
   returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5.  Why is LOGIN not
   listed when it's included in this macro file?  Is there anything missing
   from this section of the handbook that I've missed?
 
  LOGIN will only be enabled over an encrypted connection.  All you need
  to do to enable the stock sendmail to support STARTTLS is tell it to
  use one or more SSL certs.  Adding something like this to
  /etc/mail/`hostname`.mc is how to do that:
 
 this seems to imply you want me to create a file named hostname.mc.  The 
 instructions I followed in the handbook also mentioned that, Many 
 administrators choose to use the output from hostname(1) as the .mc file for 
 uniqueness.  Do I have to make this new file, paste into it all the stuff 
 in freebsd.mc and then add these lines too?
 

Just run `make` in /etc/mail, it will create `hostname`.mc for you, edit
it, and run `make all install restart` (targets are described in
/etc/mail/Makefile).

 
  dnl
  dnl TLS stuff
  dnl
  define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
  define(`confCACERT_PATH', `CERT_DIR')dnl
  define(`confCACERT', `CERT_DIR/cacert.pem')dnl
  define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
  define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
  define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
  define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl
 
  Which means you'ld put the PEM encoded cacert, key and cert into
  /etc/mail/cacert.pem, /etc/mail/key.pem and /etc/mail/key.cert
  respectively.  To generate all of those, there are some pithy
  instructions here:
 
  http://www.sendmail.org/~ca/email/other/cagreg.html
 
 Thanks for all this.
 
 Andy
 
 
  When submitting a new message, most mail clients will automatically
  do STARTTLS if it's available.
 
  Cheers,
 
  Matthew

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: font problems

2007-12-29 Thread Yuri Pankov
On Sat, Dec 29, 2007 at 06:29:55PM -0400, Joey Mingrone wrote:
 Over the holidays I decided to upgrade my ports after several months
 and everything went well except some fonts seems to be messed up.
 Sorry, I'm not really sure how to explain this better.  Here is a
 screenshot of gkrellm: http://jrm.ath.cx/misc/messed_up_fonts.png
 
 As you can see, the fonts are so large they overlap.  I didn't change
 any of my configuration files (xorg.conf, ~/fonts.conf, ~/.gtkrc-2.0,
 etc).  The problem seems to be isolated to gtk applications.  Here is
 the output from /var/log/xorg.log: http://jrm.ath.cx/misc/Xorg.0.log
 
 It seems as though the usual fonts cannot be rendered so some sort of
 defaults are being used.  Thanks for any suggestions.
 
 Joey

Hmm,
(==) RADEON(0): DPI set to (75, 75)
was it always 75? (I see a recent update to xf86-video-ati port).
Anyway, try forcing X to use 96, ie, run it as:
X -dpi 96
(it would be :0 local /usr/local/bin/X -dpi 96 :0 in
/usr/local/lib/X11/xdm/Xservers for xdm).


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install with journaled /?

2007-12-22 Thread Yuri Pankov
On Sat, Dec 22, 2007 at 11:07:29AM +0100, Gabor Kovesdan wrote:
 Hello,

 my problem is that I cannot really turn on gjournal for existing 
 filesystems, just only if the journal is placed onto another partition. So, 
 how can I make a journaled root filesystem? I have to do the partitioning 
 manually, since sysinstall does not support that. But how can I do that 
 easily? The livefs CD does not work, there is no gjournal utility there. 
 I'd give FreeSBIE or Frenzy a try, but their existing releases are based on 
 6.2, not 7.0, thus no gjournal there. Do you have any ideas? How did you 
 solve such a problem?

 Thanks in advance,

 -- 
 Gabor Kovesdan
 FreeBSD Volunteer

 EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
 WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

Only way that I have found - crossinstall system to another HDD, boot
from it and make required changes. Sadly enough, /stand/geom isn't aware
of journal class, returning `Invalid class name'.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My new kernel could not be compiled

2007-12-21 Thread Yuri Pankov
On Friday 21 December 2007 16:42:16 Ray Stinger wrote:
 I have followed the FreeBSD Handbook, and I just want to add the usb2.0
 and sound devices to my kernel. Maybe I canceled too much modules,
 though the make error shows the same msg saying ng_prase_int32 type**
 My kernel configure file:

Could you be more verbose than `msg saying ng_prase_int32 type**'? :-)
It's really hard to guess given so little information. Please paste at least 
full compiler line and exact error messages.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2nd try : tap SIOCIFCREATE failure

2007-11-29 Thread Yuri Pankov
On Wed, Nov 28, 2007 at 03:00:35PM +0100, Alain G. Fabry wrote:
 
 When creating the tap interface, my system gives the following
 
 FreeBSD# uname -a
 FreeBSD FreeBSD 6.2-RELEASE
 FreeBSD# kldstat
 Id Refs AddressSize Name
  1   11 0xc040 6f7554   kernel
  21 0xc0af8000 140c0snd_hda.ko
  32 0xc0b0d000 479a8sound.ko
  41 0xc0b55000 1d278kqemu.ko
  51 0xc0b73000 8ea4 aio.ko
  61 0xc4f44000 9000 if_bridge.ko
  71 0xc5079000 16000linux.ko
  81 0xc60ce000 4000 if_tap.ko
 FreeBSD# ifconfig tap0 create
 ifconfig: SIOCIFCREATE: Invalid argument
 
 
 Trying to get this running so my qemu clients have network access...
 
 Thanks in advance,
 
 Alain

Hrm, getting the same on 5.5/6.2, though it works on 7.0/-CURRENT. Try
building `device tap' in kernel, and if it fails, I'd ask [EMAIL PROTECTED]


HTH,
-- 
Yuri Pankov [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 2.0.0.9 issues on 7.0-BETA3

2007-11-29 Thread Yuri Pankov
On Wed, Nov 28, 2007 at 04:04:57PM -0600, Doug Poland wrote:
 On Wed, Nov 28, 2007 at 03:58:48PM -0500, Jeremy Gransden wrote:
  
  
   I did some googling but nothing interesting turned up.  I find it
   curious that the latest build of Thunderbird works, but linux-firefox
   fails like it's native sibling.
  
   All help is appreciated...
  
  
  
  what are the permissions on ~/.mozilla and its contents
 
 ~/.mozilla700
 ~/.mozzilla/firefox   700
 ~/.mozilla/plugins755
 
 
 -- 
 Regards,
 Doug

Check also ownership on ~/.mozilla (ie, ls -ld ~/.mozilla).

 sudo chown -R root:wheel .mozilla
 firefox
 echo $?
1
 sudo chown -R yuri:users .mozilla
 firefox

Runs fine :-)

-- 
Yuri Pankov [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting rid of xconsole on xdm

2007-11-24 Thread Yuri Pankov
On Sat, Nov 24, 2007 at 04:22:48AM -0500, Aryeh Friedman wrote:
 I am in the middle of setting up a new machine and want to get rid of
 the ^*(*%*@ xconsole on xdm (it doesn't go away on login
 either)... how?

/usr/local/lib/X11/xdm/Xsetup_0


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri Pankov
On Tuesday 20 November 2007 06:24:36 Yuri wrote:
 I just upgraded my system, with 7.0-BETA2 CD.
 After this I updated the sources from CVS and tried to make
 buildworld. But I am getting the  following compilation error.

 What may be wrong?
 Seems like some incompatibility between asembler and compiler?

More like incompatibility with your CFLAGS. Are you using CFLAGS with no 
optimizations (can't guess from pasted log)?


 Yuri

 .../../../crypto/openssl/crypto
 -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL _THREADS
 -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA
 -std= gnu89  -c
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
n g_padlock.c -o eng_padlock.So
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c: In function 'padlock_xcrypt_ecb':
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c:445: error: can't find a register in class
 'GENERAL_REGS' while reloading 'asm '
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e
ng_padlock. c:445: error: 'asm' operand has impossible constraints
 *** Error code 1

 Stop in /usr/src/secure/lib/libcrypto.
 *** Error code 1

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


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-7.0 fails to compile after upgrade

2007-11-19 Thread Yuri Pankov
On Tuesday 20 November 2007 06:40:53 Yuri wrote:
  More like incompatibility with your CFLAGS. Are you using CFLAGS
  with no optimizations (can't guess from pasted log)?

 I didn't specify any special CFLAGS. And my /etc/make.conf is empty.

 Yuri

What about /etc/src.conf and more complete build log (at least whole 
compiler line)?


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >