Re: jail - beginner questions
The address 192.168.0.11 must be assigned to a interface in the host FreeBSD. You can do it before starting the jail, or when the jail is being started. To assign the address before starting the jail do somthing like this: # ifconfig lnc0 alias 192.168.0.11/24 where lnc0 is the name of nic in the host FreeBSD Great. Here is what I did: sorb# mkdir -p /usr/jails/vm1 sorb# cd /usr/src sorb# setenv D /usr/jails/vm1 sorb# make installworld DESTDIR=$D sorb# make distribution DESTDIR=$D sorb# cat /etc/rc.conf jail_enable=YES jail_list=vm1 jail_vm1_rootdir=/usr/jails/vm1 jail_vm1_hostname=vm1.localdomain jail_vm1_ip=192.168.0.11 jail_vm1_interface=lnc0 jail_vm1_devfs_enable=YES jail_vm1_devfs_ruleset=vm1_ruleset ^D sorb#mount -t devfs devfs $D /dev sorb# /etc/rc.d/jail start vm1 Configuring jails:. Starting jails:ifconfig: interface lnc0 does not exist vm1.localdomain. See, I do not understand how this works. If I use a real physical interface then it works: sorb# ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=389bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC ether 00:1a:4d:7b:cf:d6 inet X.X.X.X netmask 0xff00 broadcast X.X.X.255 inet 192.168.0.11 netmask 0x broadcast 192.168.0.11 media: Ethernet autoselect (100baseTX full-duplex) status: active where X.X.X.X is my public internet IP address. But I do not like this. I do not want to expose my jail's private IP address to the internet. Am I too paranoid? Should I just add rules like ipfw add 1000 allow all from X.X.X.X to 192.168.0.11 ipfw add 1001 allow all from 192.168.0.11 to X.X.X.X ipfw add 1002 deny all from any to 192.168.0.11 ipfw add 1003 deny all from 192.168.0.11 to any and be happy? Or would it be better to create a virtual ethernet interface for my jails? Somehow? d.) It requires to use firewall either ipfw or pf. For example you can add to your /etc/pf.conf: nat on lnc0 from 192.168.0.11 to any - 192.168.37.133 But the firewall requires more lines then this one to work correcly with all network traffic. And you have to know exactly what you want to get for using it. I'm using ipfw. I think I'll use natd+divert on the host. Thank you very much! I feel I'm over the hard part. :-) Laszlo ___ 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
8.0-RC3 USB lock up on mounting two partitions from one USB drive
When mounting two partitions from a USB dirve, it can cause the drive access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time and USB hard drive activity light is off. After more than 1-2 minutes, mount returns, and the drive activity light is blinking, thus removing is going on. term2# ls /dist ### this will cause dUSB dirve hanging again -- no avtivity. Similarly, ls will finish in a couple of miniutes or longer, the rm command continues; but for a while, the drive activity will stop again. Reboot machine, repeat the above steps, and result will be the same. Reboot machine again, and just mount one partition, then doing rm -rf * without involve the second partition, rm will finish quickly. Has anyone obseved this behave on 8.0-RC? -Jin ___ 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
login accounts with no sendmail access
Hi all, I hope you'll forgive a sendmail question that's not FreeBSD specific - immediate application is for a Debian Linux system running sendmail 8.13 - but I assume it's most likely applicable to a similar FreeBSD system. We need to (re)create a number of user accounts for Samba to service a nest of windows boxes, but do not want these accounts to be able to send or receive email, rather restricting mail access to only a few accounts, on a box that runs DNS, apache2, mail, audio streaming (fwiw) and Samba access to various fileshares, including users' home directories. I figure we can deny each would-be email address using both From: and To: entries in /etc/mail/access, but I'm wondering if there's an easier way that doesn't involve creating such entries for each new account? (Please don't even mention LDAP) cheers, Ian ___ 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: jail - beginner questions
Laszlo Nagy gand...@shopzeus.com writes: I do not want to expose my jail's private IP address to the internet. Use loopback interface and 127.x.x.x address. -- WBR, bsam ___ 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
Wiki down?
Can any of you access http://wiki.freebsd.org ? Seems down from here I'm getting a 503 error. ___ 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: 8.0-RC3 USB lock up on mounting two partitions from one USB drive
Hi, I'm not sure if this is an USB issue or not. If you get READ/WRITE errors and the drive simply dies then it might be the case. Else it is a system issue. There are quirks for mass storage which you can add to sys/dev/usb/storage/umass.c . --HPS On Wednesday 18 November 2009 08:33:07 Guojun Jin wrote: Did newfs on those partition and made things worsen -- restore completely fails: (I had experienced another similar problem on an IDE, which works well for 6.4 and 7.2, but 8.0.) This dirve works fine under FreeBSD 6.4. Is something new in 8.0 making disk partition schema changed? g_vfs_done():da0s3d[READ(offset=98304, length=16384)]error = 6 g_vfs_done():da0s3d[WRITE(offset=192806912, length=16384)]error = 6 fopen: Device not configured cannot create save file ./restoresymtable for symbol table abort? [yn] (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0xa, scs i status == 0x0 (da0:umass-sim0:0:0:0): removing device entry ugen1.2: DMI at usbus1 umass0: DMI Ultra HDD, class 0/0, rev 2.00/1.19, addr 2 on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: DMI Ultra HDD 1.19 Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) Device da0s3d went missing before all of the data could be written to it; expect data loss. 99 23:19 sysinstall 100 23:20 newfs /dev/da0s3d 101 23:20 newfs /dev/da0s3e 102 23:21 mount /dev/da0s3d /mnt 103 23:21 cd /mnt 104 23:21 dump -0f - /home | restore -rf - 105 23:27 history 15 -Original Message- From: Guojun Jin Sent: Tue 11/17/2009 11:05 PM To: freebsd-sta...@freebsd.org Cc: questi...@freebsd.org; freebsd-...@freebsd.org Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB drive When mounting two partitions from a USB dirve, it can cause the drive access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time and USB hard drive activity light is off. After more than 1-2 minutes, mount returns, and the drive activity light is blinking, thus removing is going on. term2# ls /dist ### this will cause dUSB dirve hanging again -- no avtivity. Similarly, ls will finish in a couple of miniutes or longer, the rm command continues; but for a while, the drive activity will stop again. Reboot machine, repeat the above steps, and result will be the same. Reboot machine again, and just mount one partition, then doing rm -rf * without involve the second partition, rm will finish quickly. Has anyone obseved this behave on 8.0-RC? -Jin ___ 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: Wiki down?
Matias wrote: Can any of you access http://wiki.freebsd.org ? Seems down from here I'm getting a 503 error. Same here, I am sure it is probably something temporary though. ___ 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
Don't work RTL8102EL
Hello. Has faced a problem. I can not start network card 8102EL re0: RealTek 8101E/8102E/8102EL PCIe 10/100baseTX port 0xd800-0xd8ff mem 0xfdfff000-0xfdff,0xfdfe-0xfdfe irq 17 at device 0.0 on pci1 re0: Using 1 MSI messages re0: Chip rev. 0x2480 re0: MAC rev. 0x0040 re0: Unknown H/W revision: 0x24c0 device_attach: re0 attach returned 6 ___ 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: Don't work RTL8102EL
On Wed, 18 Nov 2009 07:48:01 +0100, cheshirski@gmail.com wrote: Hello. Has faced a problem. I can not start network card 8102EL re0: RealTek 8101E/8102E/8102EL PCIe 10/100baseTX port 0xd800-0xd8ff hi, am not absolutely sure, but i faced a very similar problem; take a look in http://www.rfc1925.net/FreeBSD-on-SL500.html for solution. maybe it is sufficient for your needs. cheers Alessandro -- If 386BSD had been available when I started on Linux, Linux would probably never had happened. Linus Torvalds ___ 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: ELF library not found error
This was not an upgrade but rather a fresh install. I included compat7x-amd64-7.2.702000.200906.1 in the install. I've found other packages that are giving the same error. Recompiling all of the ports is something I want to avoid. The install is done through an automated process that builds a FreeBSD 8 image using a custom script, combining our custom kernel with a bunch of binary packages we want to include in the image. The result is a tarball image, and that image can then be taken and installed directly onto our target systems via a USB boot stick. We've used the same technique for 7.0 and it's worked fine. I was just thinking though: We do build our custom kernel, and the build is being done, for now, on our 7.0 build server. I got the binary ports from the net, and I assume at least some have been built on an 8.0 system. Can you combine binaries of ports that have been built on an 8.0 system with a custom kernel that was built on a 7.0 system? -Original Message- From: Norbert Papke [mailto:npa...@acm.org] Sent: Tuesday, November 17, 2009 10:47 PM To: freebsd-questions@freebsd.org Cc: Peter Steele Subject: Re: ELF library not found error On November 17, 2009, Peter Steele wrote: I've installed an 8.0 RC3 system and included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. However, for both 2.5 and 3.1 I get the error: ELF interpreter /libexec/ld-elf.so.1 not found What might cause this error? If you upgraded from 7.x, you need to install the misc/compat7x port. Even better, rebuild all your ports. It will save you a lot of grief in the long run. Cheers, -- Norbert Papke. npa...@acm.org http://saveournet.ca Protecting your Internet's level playing field ___ 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: ELF library not found error
I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the error for Python 2.5 and 3.1, as well as several other applications that were giving that error. I'm still getting the error for a few other packages though, e.g. wireshark: # pkg_add /mnt/ports/wireshark-1.2.2.tbz pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but 'tiff-3.9.1' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'pcre-8.00', but 'pcre-7.9' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', but 'xcb-util-0.3.6' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'libxml2-2.7.6', but 'libxml2-2.7.5' is installed root@:~ # wireshark ELF interpreter /libexec/ld-elf.so.1 not found If both the 6.x and 7.x compatibility packages are installed and this error still occurs, what's the culprit? -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Peter Steele Sent: Wednesday, November 18, 2009 5:14 AM To: freebsd-questions@freebsd.org Subject: RE: ELF library not found error This was not an upgrade but rather a fresh install. I included compat7x-amd64-7.2.702000.200906.1 in the install. I've found other packages that are giving the same error. Recompiling all of the ports is something I really want to avoid. The install is done through an automated process that builds a FreeBSD 8 image using a custom script, combining our kernel with a bunch of binary packages we want to include in the image. The result is a tarball image, and that image can then be taken and installed directly onto our target systems via a USB boot stick. We've used the same technique for 7.0 and it's worked fine. I was just thinking though: We do build our custom kernel, and the build is being done, for now, on our 7.0 build server. I got the binary ports from the net, and I assume at least some have been built on an 8.0 system. Can you combine binaries of ports that have been built on an 8.0 system with a custom kernel that was built on a 7.0 system? -Original Message- From: Norbert Papke [mailto:npa...@acm.org] Sent: Tuesday, November 17, 2009 10:47 PM To: freebsd-questions@freebsd.org Cc: Peter Steele Subject: Re: ELF library not found error On November 17, 2009, Peter Steele wrote: I've installed an 8.0 RC3 system and included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. However, for both 2.5 and 3.1 I get the error: ELF interpreter /libexec/ld-elf.so.1 not found What might cause this error? If you upgraded from 7.x, you need to install the misc/compat7x port. Even better, rebuild all your ports. It will save you a lot of grief in the long run. Cheers, -- Norbert Papke. npa...@acm.org http://saveournet.ca Protecting your Internet's level playing field ___ 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 ___ 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: jail - beginner questions
I really think that it should be corrected to: cd /usr/src make distribution DESTDIR=$D That's almost certainly correct, but it notes: Notes [1] This step is not required on FreeBSD 6.0 and later. But then I get this error in syslog: bind: Can't assign requested address That's a general ntworking error. We'd need to see your ifconfig(8)/netstat(8) -rn and rc.conf(5) network settings to figure that out. ~BAS ___ 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 permissions take time to take effect?
In the last episode (Nov 17), James Phillips said: I wanted to create a shared directory writable by all users. When it initially failed, I assumed there may be a blanket ban on writing to directories owned by root. Today, I was able to write to the root-owned Share directory. However, when I re-created the directory owned by a special-purpose Share user, I ran into the same problem again. $ cd $ pwd /home/james $ cd /home/Share $ ls -la total 4 drwxrwxr-x 2 root users 512 Nov 14 09:39 . drwxr-xr-x 5 root wheel 512 Nov 14 09:39 .. $ grep users /etc/group users:*:100:james,backup $ cat test.txt What? now it worked? You are probably in the users group. Running either the groups or id command will say for sure. $ ls test.txt $ rm test.txt ***After creating a special Share user*** $ cd /home/Share $ ls -la total 4 drwxrwxr-x 2 Share Share 512 Nov 17 21:04 . drwxr-xr-x 5 root wheel 512 Nov 17 21:04 .. $ cat test.txt cannot create test.txt: Permission denied $ grep Share /etc/group Share:*:1003:james,backup $ If you are currently either the james or backup user, and added the Share group membership on another tty, then you may need to log out and back in for the system to assign your new group membership to your session. Filesystem permissions take effect immediately, but group memberships are assigned once, at login. -- Dan Nelson dnel...@allantgroup.com ___ 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
adding USB hard-disk
I have an external USB hard disk, wich already has unix dirs and files on it. When plugging into a OpenSuse10.3, the dirs and files are immediatly available under /media/disk-1 as unix dirs and files. When plugging into a FreeBSD7.2 system: on console I do get the messages: umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, class 0/0,rev. 2.00 /0.01, addr 2 on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: ST330083 1A 4.60 Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) # camcontrol devlist ST330083 1A 4.60 at scbus0 target0 lun 0 (da0,pass0) # ls -la /dev | grep da crw-r- 1 root operator0, 113 Nov 18 14:40 da0 crw-r- 1 root operator0, 117 Nov 18 14:40 da0s1 crw-r- 1 root operator0, 118 Nov 18 14:40 da0s2 crw-r- 1 root operator0, 119 Nov 18 14:40 da0s3 but # mount /dev/da0s1 /mnt takes a while (drive spins), then mount: /dev/da0s1 : Invalid argument same result for all slices Why is this and how to remedy? (I can mount an USB memory stick with mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt) ___ 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
getting program.core, where and how?
Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry signature.asc Description: OpenPGP digital signature
Re: getting program.core, where and how?
On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry procstat -f pid -- Adam Vande More ___ 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
getting program.core, where and how?
How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. find directory -name filename See man find for details; look particularly at the 'x' option. Robert Huff ___ 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: getting program.core, where and how?
El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Core will be written to the working directory and not to the directory where the binary comes from. With ulimit(1) you can set the core file size, even to zero, and you can ask for the actual value. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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: Invitation to connect on LinkedIn
On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: LinkedIn Andrei Antoukh requested to add you as a connection on LinkedIn: -- Why isn't LinkedIn in FreeBSD.org's spam blocker? -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ 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: adding USB hard-disk
On Wed, 18 Nov 2009 16:16:32 +0100 n dhert ndh...@gmail.com wrote: I have an external USB hard disk, wich already has unix dirs and files on it. When plugging into a OpenSuse10.3, the dirs and files are immediatly available under /media/disk-1 as unix dirs and files. When plugging into a FreeBSD7.2 system: on console I do get the messages: umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, class 0/0,rev. 2.00 /0.01, addr 2 on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: ST330083 1A 4.60 Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) # camcontrol devlist ST330083 1A 4.60 at scbus0 target0 lun 0 (da0,pass0) # ls -la /dev | grep da crw-r- 1 root operator0, 113 Nov 18 14:40 da0 crw-r- 1 root operator0, 117 Nov 18 14:40 da0s1 crw-r- 1 root operator0, 118 Nov 18 14:40 da0s2 crw-r- 1 root operator0, 119 Nov 18 14:40 da0s3 but # mount /dev/da0s1 /mnt takes a while (drive spins), then mount: /dev/da0s1 : Invalid argument same result for all slices Why is this and how to remedy? (I can mount an USB memory stick with mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt) How is the drive formatted? From man mount: SEE ALSO getfacl(1), setfacl(1), nmount(2), acl(3), mac(4), ext2fs(5), fstab(5), procfs(5), kldload(8), mount_cd9660(8), mount_msdosfs(8), mount_nfs(8), mount_ntfs(8), mount_nullfs(8), mount_nwfs(8), mount_portalfs(8), mount_smbfs(8), mount_udf(8), mount_unionfs(8), umount(8) HTH Robert ___ 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: getting program.core, where and how?
Matthias Apitz schrieb am 18.11.2009 16:59 (localtime): El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Core will be written to the working directory and not to the directory where the binary comes from. With ulimit(1) you can set the core file size, even to zero, and you can ask for the actual value. Thanks for the answer, that's what I assumend ;) But how can i find out what the working directory is? Thanks, -Harry signature.asc Description: OpenPGP digital signature
Date/time formats in ps
I'm looking at the man page for the ps command -- specifically at the part involving the date and time format for the start output field -- and am scratching my head. It says that the default format string for the date and time when a task was started, if it was started within the past 24 hours, is %l:ps.1p. But to me, it looks as if the correct format is %l:%M%p. Is the man page wrong, or am I missing something here? --Brett Glass ___ 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: ELF library not found error
On November 18, 2009, Peter Steele wrote: I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the error for Python 2.5 and 3.1, as well as several other applications that were giving that error. I'm still getting the error for a few other packages though, e.g. wireshark: # pkg_add /mnt/ports/wireshark-1.2.2.tbz pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but 'tiff-3.9.1' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'pcre-8.00', but 'pcre-7.9' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', but 'xcb-util-0.3.6' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'libxml2-2.7.6', but 'libxml2-2.7.5' is installed root@:~ # wireshark ELF interpreter /libexec/ld-elf.so.1 not found If both the 6.x and 7.x compatibility packages are installed and this error still occurs, what's the culprit? Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? -- Norbert Papke. npa...@acm.org http://saveournet.ca Protecting your Internet's level playing field ___ 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: getting program.core, where and how?
Adam Vande More schrieb am 18.11.2009 16:52 (localtime): On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry procstat -f pid Ahh :) Thanks a lot! -Harry signature.asc Description: OpenPGP digital signature
gmirror and geli/gshsec
Is it possible to use geli/gshsec on a gmirrored disk partitions? Such as: Filesystem SizeUsed Avail Capacity Mounted on /dev/mirror/gm0a 29G260M 26G 1%/ devfs 1.0K1.0K 0B 100%/dev /dev/mirror/gm0e146G 31M134G 0%/data /dev/mirror/gm0d 39G1.2G 34G 3%/usr I want to mirror /data and also encrypt it. Regards. ___ 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: flashplugin
David Collins wrote: I have periodically tested with getting flash working, and everytime I try it fails and I go back to undoing everything I have done and re-installing gnash. Gnash works but it does have a few niggles. I tried the following: This is what I did for a 7.2 box. Note that there are compatibility # pkg_info -orx linux linux-stuff # pkg_delete -rx linux # cd /compat/linux # find . -type f -ls # rm -rf * # sysctl compat.linux.osrelease=2.6.16 OVERRIDE_LINUX_BASE_PORT= f10 OVERRIDE_LINUX_NONBASE_PORTS= f10 to /etc/make.conf. # portinstall www/nspluginwrapper # nspluginwrapper -v -a -i * Finally, fire up Firefox and check that it has loaded the flash plugin by typing 'about:plugins' into the URL bar. Find a site with flash content[*], and enjoy. Everything installed easily and about:plugins has Shockwave Flash and FutureSplash Player as enabled. But, when I go to youtube.com all I get a black screen and the video doesn't load. Does anyone have any ideas why flash isn't working? Set linux_enable=YES in /etc/rc.conf and make sure you are mounting linprocfs: /etc/fstab: # DeviceMountpointFStypeOptionsDumpPass# linproc/compat/linux/proc linprocfs rw00 Check dmesg(8) or other system logs after trying to use flash and see if anything is being logged. ___ 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
get accounting info for running process
Hello. Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. ___ 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: ELF library not found error
Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? I was thinking the same thing--too much version mismatching going on. I'm going to take your suggestion though and compile all of the ports we want to use, and then convert them back into packages. I tried that with one port that was failing and this solved the problem. ___ 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: [Solved] Do permissions take time to take effect?
--- On Wed, 11/18/09, Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Nov 17), James Phillips said: I wanted to create a shared directory writable by all users. When it initially failed, I assumed there may be a blanket ban on writing to directories owned by root. Today, I was able to write to the root-owned Share directory. However, when I re-created the directory owned by a special-purpose Share user, I ran into the same problem again. SNIP! You are probably in the users group. Running either the groups or id command will say for sure. Yes, I was using the cd and pwd combination as a poor replacement. It is possible to re-assign the home directory. $ groups james Share $ id uid=1001(james) gid=1001(james) groups=1001(james),1003(Share) (I have since deleted the users group: it is a Debian thing, and I had NIS set up to NOT export the membership information) SNIP! If you are currently either the james or backup user, and added the Share group membership on another tty, then you may need to log out and back in for the system to assign your new group membership to your session. Filesystem permissions take effect immediately, but group memberships are assigned once, at login. This here was the problem. I was not logging out after the changes. However, I am in the habit of logging out at the end of the day. As a result, I would get the updated permissions when I log in the next day. Thank-you for your help, James Phillips __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ___ 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: ELF library not found error
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote: Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? I was thinking the same thing--too much version mismatching going on. I'm going to take your suggestion though and compile all of the ports we want to use, and then convert them back into packages. I tried that with one port that was failing and this solved the problem. When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final steps recommended is to recompile all ports. The compatX packages are a stop gap until your transition is complete, and can/should be removed once all your ports have been updated. If you choose not to recompile/refectch all your ports, you are faced with the possibility of library and port dependancy breakages as each installed port updates to newer and possibly incompatible versions. Cheers. -- Jonathan Chen j...@chen.org.nz -- A little learning is a dangerous thing but a lot of ignorance is just as bad. - Bob Edwards ___ 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: get accounting info for running process
In the last episode (Nov 18), cronfy said: Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. It's available to userland programs via the kern.proc.all syscall. it returns an array of struct kinfo_proc, one for each process. One of the elements is ki_rusage, which contains the data that the sa command uses. The ps command can easily be extended to print these fields. See this patch at http://lists.freebsd.org/pipermail/freebsd-hackers/2009-March/027918.html for an example. (I still need to file that PR...) -- Dan Nelson dnel...@allantgroup.com ___ 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: NFS and crossmount
On Monday 16 November 2009 06:10:23 Patrik Usher wrote: I'm chaning fileserver to a FreeBSD 7.2 from my old linux and can't find how to define the option crossmnt (crossmount) for NFS. Does anyone know if it's supported under FreeBSD 7 and if so, how to define it ? I don't believe a similar option is available. You need a line in /etc/exports for each filesystem (mountpoint) you wish to export. JN ___ 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
RecvQ Size from fd?
Is it possible to get the amount of data in the receive queue from a socket file descriptor (userland app)? I see that netstat gets a list of struct socket* and from there you can find the answer from the so_rcv sockbuf. But I can't find a way to match a socket fd up to the struct sock. Thanks, Ryan -- Ryan P Sommers ry...@rpsommers.com ___ 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: 8.0-RC3 USB lock up on mounting two partitions from one USB drive
It looks like a system issue since it also happens to the SATA drive. The USB drive seems having more difficulty. I will back up rest partitions, Then redo the slice and partition to see if problem goes away. If so, then 8.0-R has a backward compatibility issue on the partition table or format to older FreeBSD release. -Original Message- From: Hans Petter Selasky [mailto:hsela...@c2i.net] Sent: Wednesday, November 18, 2009 3:14 AM To: freebsd-...@freebsd.org Cc: Guojun Jin; freebsd-sta...@freebsd.org; questi...@freebsd.org Subject: Re: 8.0-RC3 USB lock up on mounting two partitions from one USB drive Hi, I'm not sure if this is an USB issue or not. If you get READ/WRITE errors and the drive simply dies then it might be the case. Else it is a system issue. There are quirks for mass storage which you can add to sys/dev/usb/storage/umass.c . --HPS On Wednesday 18 November 2009 08:33:07 Guojun Jin wrote: Did newfs on those partition and made things worsen -- restore completely fails: (I had experienced another similar problem on an IDE, which works well for 6.4 and 7.2, but 8.0.) This dirve works fine under FreeBSD 6.4. Is something new in 8.0 making disk partition schema changed? g_vfs_done():da0s3d[READ(offset=98304, length=16384)]error = 6 g_vfs_done():da0s3d[WRITE(offset=192806912, length=16384)]error = 6 fopen: Device not configured cannot create save file ./restoresymtable for symbol table abort? [yn] (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0xa, scs i status == 0x0 (da0:umass-sim0:0:0:0): removing device entry ugen1.2: DMI at usbus1 umass0: DMI Ultra HDD, class 0/0, rev 2.00/1.19, addr 2 on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: DMI Ultra HDD 1.19 Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) Device da0s3d went missing before all of the data could be written to it; expect data loss. 99 23:19 sysinstall 100 23:20 newfs /dev/da0s3d 101 23:20 newfs /dev/da0s3e 102 23:21 mount /dev/da0s3d /mnt 103 23:21 cd /mnt 104 23:21 dump -0f - /home | restore -rf - 105 23:27 history 15 -Original Message- From: Guojun Jin Sent: Tue 11/17/2009 11:05 PM To: freebsd-sta...@freebsd.org Cc: questi...@freebsd.org; freebsd-...@freebsd.org Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB drive When mounting two partitions from a USB dirve, it can cause the drive access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time and USB hard drive activity light is off. After more than 1-2 minutes, mount returns, and the drive activity light is blinking, thus removing is going on. term2# ls /dist ### this will cause dUSB dirve hanging again -- no avtivity. Similarly, ls will finish in a couple of miniutes or longer, the rm command continues; but for a while, the drive activity will stop again. Reboot machine, repeat the above steps, and result will be the same. Reboot machine again, and just mount one partition, then doing rm -rf * without involve the second partition, rm will finish quickly. Has anyone obseved this behave on 8.0-RC? -Jin ___ 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
Measuring disk I/O
A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are myisam tables. I'm a little bit worried that the mysql process is using a lot of disk access. I don't know too much about hard disks but my feeling is that too much disk use could slow the machine down or cause a premature hard disk failure. WD Raptor model. I don't know if my concerns are well-founded, but I would like to measure impact on the hard disk somehow. I don't know how to see disk I/O. I do know how to use top. How do I measure disk I/O? Any other thoughts? ___ 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: Invitation to connect on LinkedIn
On 2009-Nov-18 10:13:17 -0600, David Kelly dke...@hiwaay.net wrote: On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: LinkedIn Andrei Antoukh requested to add you as a connection on LinkedIn: -- Why isn't LinkedIn in FreeBSD.org's spam blocker? I have raised this with postmaster@ and he is investigating how to block this spam. -- Peter Jeremy pgpPzDB5BrVIV.pgp Description: PGP signature
Re: no sshd on new server...
On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you answered no there? i didn't see this question -- or don't remember seeing it. Well, it't not SUCH a question. :-) In the dialog Post Configuration where you can set the services that should be run on startup, there's a choice SSH which will put the correct setting in /etc/rc.conf, causing the SSH server to generate the keys at its first start. Or maybe I'm wrong and the setting was in the Networking menu... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no sshd on new server...
On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you answered no there? i didn't see this question -- or don't remember seeing it. Well, it't not SUCH a question. :-) In the dialog Post Configuration where you can set the services that should be run on startup, there's a choice SSH which will put the correct setting in /etc/rc.conf, causing the SSH server to generate the keys at its first start. Or maybe I'm wrong and the setting was in the Networking menu... i'm running a 'do-over' with v 8.0, and this time i did get asked about ssh one trouble is that i havent done a by-disk install since 5.3 need coffee! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: no sshd on new server...
Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you answered no there? i didn't see this question -- or don't remember seeing it. Well, it't not SUCH a question. :-) Yes, there is: http://twitpic.com/q0wxq But see note below. In the dialog Post Configuration where you can set the services that should be run on startup, there's a choice SSH which will put the correct setting in /etc/rc.conf, causing the SSH server to generate the keys at its first start. Or maybe I'm wrong and the setting was in the Networking menu... Yes, it is in Configure - Networking also as a checkbox. Regarding the question during setup, this may not appear depending on the type of installation. For me, I always select Standard and then Custom from the Select Distributions list. At the end of the install there is always this dialog: http://twitpic.com/q0xs7 with questions on networking, ftp server, ssh and so on. I am so accustomed to pressing these keys all the time I definitely don't know whether there is a difference in the other sysinstall routes :) ___ 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: Measuring disk I/O
Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are myisam tables. I'm a little bit worried that the mysql process is using a lot of disk access. I don't know too much about hard disks but my feeling is that too much disk use could slow the machine down or cause a premature hard disk failure. WD Raptor model. I don't know if my concerns are well-founded, but I would like to measure impact on the hard disk somehow. I don't know how to see disk I/O. I do know how to use top. How do I measure disk I/O? Any other thoughts? Perhaps gstat(8) will help you get started: # gstat -a dT: 1.001s w: 1.000s L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 4176114 10261 14.9 62607 25.4 96.8| ar0 4177115 10389 17.8 62607 26.5 100.0| ar0.eli 1 34 34527 30.8 0 00.0 99.1| ar0.elie 2 66 4 16 20.5 62607 26.6 98.0| ar0.elif 1 77 77 9845 12.1 0 00.0 93.0| ar0.elig ...or on ZFS: # zpool iostat 1 capacity operationsbandwidth pool used avail read write read write -- - - - - - - storage 1.39T 440G 0771 0 96.4M storage 1.39T 440G 0 1.05K 4.42K 126M Steve ___ 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: Measuring disk I/O
On Wed, Nov 18, 2009 at 3:54 PM, Steve Bertrand st...@ibctech.ca wrote: Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are myisam tables. I'm a little bit worried that the mysql process is using a lot of disk access. I don't know too much about hard disks but my feeling is that too much disk use could slow the machine down or cause a premature hard disk failure. WD Raptor model. I don't know if my concerns are well-founded, but I would like to measure impact on the hard disk somehow. I don't know how to see disk I/O. I do know how to use top. How do I measure disk I/O? Any other thoughts? Perhaps gstat(8) will help you get started: # gstat -a dT: 1.001s w: 1.000s L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 4176114 10261 14.9 62607 25.4 96.8| ar0 4177115 10389 17.8 62607 26.5 100.0| ar0.eli 1 34 34527 30.8 0 00.0 99.1| ar0.elie 2 66 4 16 20.5 62607 26.6 98.0| ar0.elif 1 77 77 9845 12.1 0 00.0 93.0| ar0.elig ...or on ZFS: # zpool iostat 1 capacity operationsbandwidth pool used avail read write read write -- - - - - - - storage 1.39T 440G 0771 0 96.4M storage 1.39T 440G 0 1.05K 4.42K 126M Steve systat -io is a nice visualization. If you're really io bound there are some things you can do config wise to help. However if you really are pushing a lot data, you need to be running scsi or ssd drives. It takes A LOT of striped sata drives to match the performance of a single good 15K scsi. if you're able to run ahci, that will help some as well. -- Adam Vande More ___ 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: Measuring disk I/O
In the last episode (Nov 18), Steve Bertrand said: Nerius Landys wrote: A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are myisam tables. I'm a little bit worried that the mysql process is using a lot of disk access. I don't know too much about hard disks but my feeling is that too much disk use could slow the machine down or cause a premature hard disk failure. WD Raptor model. I don't know if my concerns are well-founded, but I would like to measure impact on the hard disk somehow. I don't know how to see disk I/O. I do know how to use top. How do I measure disk I/O? Any other thoughts? Perhaps gstat(8) will help you get started: # gstat -a dT: 1.001s w: 1.000s L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 4176114 10261 14.9 62607 25.4 96.8| ar0 4177115 10389 17.8 62607 26.5 100.0| ar0.eli 1 34 34527 30.8 0 00.0 99.1| ar0.elie 2 66 4 16 20.5 62607 26.6 98.0| ar0.elif 1 77 77 9845 12.1 0 00.0 93.0| ar0.elig iostat -x gives similar output, although only to the device level, not the slice. There's also top's 'io' mode (press m), which will show per-process i/o stats of varying usability (I/O to zfs doesn't seem to show up). ...or on ZFS: # zpool iostat 1 capacity operationsbandwidth pool used avail read write read write -- - - - - - - storage 1.39T 440G 0771 0 96.4M storage 1.39T 440G 0 1.05K 4.42K 126M -- Dan Nelson dnel...@allantgroup.com ___ 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: Re: [solved] Re: Re: Re: diskless - NFS root mount problem
On 11/16/09, Mario Pavlov free...@abv.bg wrote: indeed you get bonus points if you firewall yourself :) and of course this is not the first time I do that so my score is pretty good however my favourite is to forget about net.inet.ip.forwarding when I upgrade routers with many clients :) Tim, thanks for your hints...but I don't understand this one: 2nd, you buildworld and installworld into the diskless root, but never use it. You're using disk space you can reclaim. how so I never use it and can reclaim diskspace ? The Monday's email you sent at 11:22 (by datestamp on gmail), you wrote: mkdir /storage0/diskless cd /usr/src export DESTDIR=/storage0/diskless make buildworld buildkernel installworld distribution installkernel --- You clearly 'make buildworld installworld' but your later exports have /storage0/diskless and /usr being exported. shouldn't it be either /storage0/diskless (as a root filesystem and everything underneath it) or if you want to unecessarily break it up, exporting /storage0/diskless/usr ? Understand? ___ 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
device hint - disable firewire or sbp driver
Any way via tunables, environment, sysctl or device hints that one can disable firewire on the install medium of recent (7.2 and newer) Install CD/DVDs? more than one person is having problems with kernel panics on startup due to firewire, and I can't google my way out of this one. Any advice from the pros? ___ 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: no sshd on new server...
On Wed, 18 Nov 2009 23:35:54 +0200, Manolis Kiagias son...@otenet.gr wrote: Polytropon wrote: Well, it't not SUCH a question. :-) Yes, there is: http://twitpic.com/q0wxq Hmmm... I've installed 8.0-RC1 from CD and can't remember to have seen this dialog... need more memory. :-) Anyway, I'm always going the Custom install route because I don't know what Standard and Express do - I've never tried them. Maybe I should and see what happens... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no sshd on new server...
On Wed, Nov 18, 2009 at 01:33:21PM -0800, Gary Kline wrote: On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline kl...@thought.org wrote: On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: Gary Kline wrote: There is a question during sysinstall: Would you like to enable ssh login? Guess you answered no there? i didn't see this question -- or don't remember seeing it. Well, it't not SUCH a question. :-) In the dialog Post Configuration where you can set the services that should be run on startup, there's a choice SSH which will put the correct setting in /etc/rc.conf, causing the SSH server to generate the keys at its first start. Or maybe I'm wrong and the setting was in the Networking menu... i'm running a 'do-over' with v 8.0, and this time i did get asked about ssh one trouble is that i havent done a by-disk install since 5.3 no joy on 8.0rcx. i got stuck in an infinite loop and decided to go back to my 7.2 DVD. there i know i can get out to the net ; i always installed zsh. there are TWO kinds of gateways. one gateway is my local 10.47.0.1; the other is my wide area 209.* that runs thru my pfsense firewall. i =am= getting more familiar with this rats nets of details. i t hink we are severely oversue for a better way of doing a barebone install on virgin hardware. =sigh= -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ 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: Bad Blocks... Should I RMA?
In message 44my2n45zd@be-well.ilk.org, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Ronald F. Guilmette r...@tristatelogic.com writes: Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=51READY,DSC ,ERROR error=40UNCORRECTABLE LBA=256230591 This is *not* necessarily a big deal, despite what your other response told you. Errors on reads do not mean that your drive's bad-sector table is full; only errors on write indicate that. If you can try manufacturer's drive diagnostics, do that. If you can't, then it's harder to fix things up, but not impossible; write back if you really can't use a low-level diag. Well, OK, so I ran the long test in Seagate Seatools. Result: It noticed exactly and only _one_ bad sector, which I of course told it to repair/remap. The kicker: The specific bad secror was somewhat near to the one that was indicated in the FreeBSD /var/log/messages errors, _however_ it was most definitely a different LBA sector #. So at that point I was kinda worried, cuz now I was looking at two bad sectors. Still, I didn't really want to have to RMA a drive that's less than one year old, so I used dd and copied /dev/zero to the whole drive. Then I used dd again to copy the wole drive to /dev/null. No errors at all in either case. Then I ran the Seatools long diagnostic again. Result: Zero errors. So I decided to keep the drive. Yes, there's some bad sectors, but I think they are all locked out now. I'm hoping this isn't a mistake. Only time will tell. Regards, rfg ___ 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: flashplugin
This is what I did for a 7.2 box. Note that there are compatibility # pkg_info -orx linux linux-stuff # pkg_delete -rx linux # cd /compat/linux # find . -type f -ls # rm -rf * # sysctl compat.linux.osrelease=2.6.16 OVERRIDE_LINUX_BASE_PORT= f10 OVERRIDE_LINUX_NONBASE_PORTS= f10 to /etc/make.conf. # portinstall www/nspluginwrapper # nspluginwrapper -v -a -i * Finally, fire up Firefox and check that it has loaded the flash plugin by typing 'about:plugins' into the URL bar. Find a site with flash content[*], and enjoy. Set linux_enable=YES in /etc/rc.conf and make sure you are mounting linprocfs: /etc/fstab: # DeviceMountpointFStypeOptionsDumpPass# linproc/compat/linux/proc linprocfs rw00 Mounted linprocfs and it worked perfectly! Method tested and works on another 7.2 box Thanks :) ___ 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: get accounting info for running process
On Wed, 18 Nov 2009 20:18:08 +0300, cronfy cro...@sprinthost.ru wrote: Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. man procfs(5), specifically, the status file. % cat /proc/2143/status Xorg ... 1255690702,469845 177507,790130 115403,436713 ... ^starttime^^^ ^usertime ^system time^ -- Mel ___ 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
Loader does not load after reinstall with previous mirrored disk attached
Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this very random problem in the future. Additionally, I believe this is far too unlikely this will happen to many others to consider it to be a problem, thus submitting a PR. The story, cut down from its original 3 hour length: For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB SATA and 250GB IDE disks, respectively. When I lost the need to run OpenSolaris (Flash), I purchased a second 500GB SATA disk. I added the original SATA disk to gmirror, and synced the 250GB FreeBSD install to the 500GB SATA drive. Once that finished, I removed the 250GB disk, and installed the second 500GB disk, adding it to the mirror. All was fine, except I was not using all of the drive space available. This past weekend, I decided to create a slice to cover the remaining 250GB, initially to try ZFS, which failed for the following reason. Here is where question 1 comes into play. 1.) What is the correct way to completely break a gmirror setup, replacing /dev/mirror/gm0 with the original /dev/adN configuration? Is the assumption that once you initialize gmirror, you will never need/want to go back to a single disk setup? Is there a clean way to fix boot0 so it does not look for a mirror, short of 'vfs.root.mountfrom' in loader.conf? After rendering my system unbootable since I use a USB keyboard, and was not able to do anything at the 'mountroot' prompt, I decided it may be a good time for me to finally upgrade to 64-bit, where I purchased an additional 4GB RAM and burned a bootonly amd64 disc. It wasn't a big deal for me since I knew my data was mirrored and available. However, I did consider purchasing a PS/2 keyboard to fix the system... But, let's be honest, who can resist an upgrade? :-) Here is the real reason for my post (besides archival purposes). Because I never disconnected the secondary disk (from the original mirror), it caused the loader to hang upon boot - no errors, just a blinking cursor on the top-left side. One answer I received about this, which makes perfect sense considering what I saw when I was trying to figure out what was happening (until I disconnected the second disk to avoid writing over it accidentally), is that the new loader and the previous loader were in conflict at boot. Once the secondary disk was disconnected, the system booted fine. Which brings me to my second question: 2.) loader problem? In hindsight, I can expect the loader to hang with two MBRs, but should this be expected? If the loader did not get confused, any insight to what may have actually happened, since I could not see any output whatsoever? Regards, -- Glen Barber ___ 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: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE
In message 20091116180102.61682...@gmx.de, you wrote: Am Sun, 15 Nov 2009 15:19:29 -0800 schrieb Ronald F. Guilmette r...@tristatelogic.com: I _did_ go and read the Handbook section that Manolis Kiagias kindly posted a link to, and I have now tried _both_ of the two ways described there to re-enable CNTL-ALT-BACKSPACE functionality for the X server, and sadly I must report that for me, at least _neither_ of those methods worked Put the following to your xorg.conf: snip Section ServerFlags Option DontZap off Option AllowEmptyInput off Option AutoAddDevices off EndSection Section InputDevice Option XkbOptions terminate:ctrl_alt_bksp EndSection /snip This works for me very reliable (xorg-7.4_2). Ummm... yes. Thanks. That does seem to work nicely. Thanks a bunch. ___ 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: Loader does not load after reinstall with previous mirrored disk attached
Glen Barber wrote: Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this very random problem in the future. Additionally, I believe this is far too unlikely this will happen to many others to consider it to be a problem, thus submitting a PR. The story, cut down from its original 3 hour length: For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB SATA and 250GB IDE disks, respectively. When I lost the need to run OpenSolaris (Flash), I purchased a second 500GB SATA disk. I added the original SATA disk to gmirror, and synced the 250GB FreeBSD install to the 500GB SATA drive. Once that finished, I removed the 250GB disk, and installed the second 500GB disk, adding it to the mirror. All was fine, except I was not using all of the drive space available. This past weekend, I decided to create a slice to cover the remaining 250GB, initially to try ZFS, which failed for the following reason. Here is where question 1 comes into play. 1.) What is the correct way to completely break a gmirror setup, replacing /dev/mirror/gm0 with the original /dev/adN configuration? Is the assumption that once you initialize gmirror, you will never need/want to go back to a single disk setup? Is there a clean way to fix boot0 so it does not look for a mirror, short of 'vfs.root.mountfrom' in loader.conf? After rendering my system unbootable since I use a USB keyboard, and was not able to do anything at the 'mountroot' prompt, I decided it may be a good time for me to finally upgrade to 64-bit, where I purchased an additional 4GB RAM and burned a bootonly amd64 disc. It wasn't a big deal for me since I knew my data was mirrored and available. However, I did consider purchasing a PS/2 keyboard to fix the system... But, let's be honest, who can resist an upgrade? :-) Here is the real reason for my post (besides archival purposes). Because I never disconnected the secondary disk (from the original mirror), it caused the loader to hang upon boot - no errors, just a blinking cursor on the top-left side. One answer I received about this, which makes perfect sense considering what I saw when I was trying to figure out what was happening (until I disconnected the second disk to avoid writing over it accidentally), is that the new loader and the previous loader were in conflict at boot. Once the secondary disk was disconnected, the system booted fine. Which brings me to my second question: 2.) loader problem? In hindsight, I can expect the loader to hang with two MBRs, but should this be expected? If the loader did not get confused, any insight to what may have actually happened, since I could not see any output whatsoever? Regards, Hi Glen, I recently, successfully, broke a gmirror by simply issuing gmirror clear on all the disks, three in my case. Since gmirror stores metadata in the last sector of the disks (according to the gmirror man page) and everything else is untouched, issuing a gmirror clear reverts the disks to single disk usage, and since the data isn't striped, the system will be able to read the data and mount the filesystem(s). This is my experience. However, I have found no documentation about breaking a gmirror, and I may just have been lucky. The data I had was properly backed up, so if it hadn't worked, I could have restored it, and since I needed the extra space, I gave it a try. So, like I said, this worked for me, but I can't back my clam, neither by documentation nor reports from others, so I would still recommend backing your data up before issuing gmirror clear. Cheers, Rolf Nielsen ___ 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: Loader does not load after reinstall with previous mirrored disk attached
On Wed, Nov 18, 2009 at 8:35 PM, Glen Barber glen.j.bar...@gmail.comwrote: Hello, First off, this is not a real I need help post, though there are a few questions that I'd like to get insight on, if possible - it is more for informative purposes in the archives, should someone run into this very random problem in the future. Additionally, I believe this is far too unlikely this will happen to many others to consider it to be a problem, thus submitting a PR. The story, cut down from its original 3 hour length: For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB SATA and 250GB IDE disks, respectively. When I lost the need to run OpenSolaris (Flash), I purchased a second 500GB SATA disk. I added the original SATA disk to gmirror, and synced the 250GB FreeBSD install to the 500GB SATA drive. Once that finished, I removed the 250GB disk, and installed the second 500GB disk, adding it to the mirror. All was fine, except I was not using all of the drive space available. This past weekend, I decided to create a slice to cover the remaining 250GB, initially to try ZFS, which failed for the following reason. Here is where question 1 comes into play. 1.) What is the correct way to completely break a gmirror setup, replacing /dev/mirror/gm0 with the original /dev/adN configuration? Is the assumption that once you initialize gmirror, you will never need/want to go back to a single disk setup? Is there a clean way to fix boot0 so it does not look for a mirror, short of 'vfs.root.mountfrom' in loader.conf? I usually find this easier to run from fixit cd. I don't remember exact order but something like deactivate stop clear. clear is last for sure because that will remove metadata. Remember to change fstab. -- Adam Vande More ___ 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: Loader does not load after reinstall with previous mirrored disk attached
Hi Rolf and Adam, Since you both seemingly responded with the same solution, I'll respond including the more verbose response: On Wed, Nov 18, 2009 at 10:01 PM, Rolf Nielsen listrea...@lazlarlyricon.com wrote: I recently, successfully, broke a gmirror by simply issuing gmirror clear on all the disks, three in my case. Since gmirror stores metadata in the last sector of the disks (according to the gmirror man page) and everything else is untouched, issuing a gmirror clear reverts the disks to single disk usage, and since the data isn't striped, the system will be able to read the data and mount the filesystem(s). This makes sense, and hopefully I will not have to try it for some time, next time I need to break a mirror, I will try 'clear'-ing it first. Thanks, -- Glen Barber ___ 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: Bad Blocks... Should I RMA?
In message 20091116182358.ga95...@slackbox.xs4all.nl, Roland Smith rsm...@xs4all.nl wrote: On Sun, Nov 15, 2009 at 04:06:55PM -0800, Ronald F. Guilmette wrote: =20 In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS) which is actually not very old... purchased 12/11/2008. snip same single block. Here's the relevant lines from /var/log/messages: =20 Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51READ= Y,DSC,ERROR error=3D40UNCORRECTABLE LBA=256230591 Nov 15 15:24:43 coredump kernel: ad4: FAILURE - READ_DMA status=3D51READ= Y,DSC,ERROR error=3D40UNCORRECTABLE LBA=256230591 Nov 15 15:24:46 coredump kernel: ad4: FAILURE - READ_DMA status=3D51READ= Y,DSC,ERROR error=3D40UNCORRECTABLE LBA=256230591 =20 ... Install the smartmontools port, and check the drive with 'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, RMA it immediately, as it is about to fail. If see other errors reported, RMA it. OK, I went to do this, but first (I figured) I had to umount the drive. So I did that first and... Yikes! Just umount'ing it caused an error, allegedly in LBA sector 0! Yikes! Nov 18 19:04:06 coredump kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 Ignoring that for the moment, I went ahead and ran smartctl -a /dev/ad4 as you suggested. Results are attached below. I have no idea how to read this stuff, and would be happy to be tutored a bit on this. But anyway, because of the *new* error I just got (LBA=0) I have decided now that I *will* RMA the drive back after all. (Getting an error reading logical sector zero is just too scary for me!) Note that the original problematic sector was 256230591, however the one that Seatools had found to be bad (and had allegedly re-mapped for me) was 256230614... a number which also appears several times in the report below. I don't really understand what I'm looking at here. If in fact Seatools did actually repair (re-map?) a sector for me, then shouldn't Reallocated_Sector_Ct have some positive non-zero value? == smartctl version 5.38 [amd64-portbld-freebsd7.2] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 Device Model: ST3500320AS Serial Number:5QM2H3V3 Firmware Version: SD15 User Capacity:500,107,862,016 bytes Device is:In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is:Wed Nov 18 19:12:56 2009 PST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 650) seconds. Offline data collection capabilities:(0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities:(0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 1) minutes. Extended self-test routine recommended polling time:( 119) minutes. Conveyance self-test routine recommended polling time:( 2) minutes. SCT capabilities: (0x103b) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 107 100 006Pre-fail Always
Re: jail - beginner questions
On Wed, Nov 18, 2009 at 09:09:32AM +0100, Laszlo Nagy wrote: Great. Here is what I did: sorb# mkdir -p /usr/jails/vm1 sorb# cd /usr/src sorb# setenv D /usr/jails/vm1 sorb# make installworld DESTDIR=$D sorb# make distribution DESTDIR=$D sorb# cat /etc/rc.conf jail_enable=YES jail_list=vm1 jail_vm1_rootdir=/usr/jails/vm1 jail_vm1_hostname=vm1.localdomain jail_vm1_ip=192.168.0.11 jail_vm1_interface=lnc0 jail_vm1_devfs_enable=YES jail_vm1_devfs_ruleset=vm1_ruleset ^D sorb#mount -t devfs devfs $D /dev sorb# /etc/rc.d/jail start vm1 Configuring jails:. Starting jails:ifconfig: interface lnc0 does not exist vm1.localdomain. See, I do not understand how this works. If I use a real physical interface then it works: sorb# ifconfig re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=389bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC ether 00:1a:4d:7b:cf:d6 inet X.X.X.X netmask 0xff00 broadcast X.X.X.255 inet 192.168.0.11 netmask 0x broadcast 192.168.0.11 media: Ethernet autoselect (100baseTX full-duplex) status: active I thought that your physical interface is the lnc0 on the host FreeBSD. The jail startup script doesn't create any interfaces itself. It uses any interface that extists in the host OS, and sets the ip address on it. So, you can use either re0 or lo0. where X.X.X.X is my public internet IP address. But I do not like this. I do not want to expose my jail's private IP address to the internet. Am I too paranoid? Should I just add rules like ipfw add 1000 allow all from X.X.X.X to 192.168.0.11 ipfw add 1001 allow all from 192.168.0.11 to X.X.X.X ipfw add 1002 deny all from any to 192.168.0.11 ipfw add 1003 deny all from 192.168.0.11 to any and be happy? Or would it be better to create a virtual ethernet interface for my jails? Somehow? If you want to hide your jail then you can use the interface lo0. jail_vm1_interface=lo0 Suppose that your public ip address is 192.168.201.50. Then start the natd: # natd -a 192.168.201.50 and add to ipfw these divert rules: # ipfw add 10 divert natd all from any to 192.168.201.50 in # ipfw add 20 divert natd all from 192.168.0.11 to any out after that add to ipfw rules to allow the traffic diverted above or you can allow all for testing: # ipfw add 30 allow all from any to any Now your jail is hidden from the outer network. But inside the jail the network is working. ___ 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: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem
oh yes, I got what you meant now true, I used /usr from the server because I wanted to have all my ports available to the client. Is there a nice way to install ports only in the diskless distribution ? thank you. Regards Mario On 11/16/09, Mario Pavlov wrote: indeed you get bonus points if you firewall yourself :) and of course this is not the first time I do that so my score is pretty good however my favourite is to forget about net.inet.ip.forwarding when I upgrade routers with many clients :) Tim, thanks for your hints...but I don't understand this one: 2nd, you buildworld and installworld into the diskless root, but never use it. You're using disk space you can reclaim. how so I never use it and can reclaim diskspace ? The Monday's email you sent at 11:22 (by datestamp on gmail), you wrote: mkdir /storage0/diskless cd /usr/src export DESTDIR=/storage0/diskless make buildworld buildkernel installworld distribution installkernel --- You clearly 'make buildworld installworld' but your later exports have /storage0/diskless and /usr being exported. shouldn't it be either /storage0/diskless (as a root filesystem and everything underneath it) or if you want to unecessarily break it up, exporting /storage0/diskless/usr ? Understand? - Вижте водещите новини от Vesti.bg! http://www.vesti.bg ___ 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
GUI for file permissions management
Someone asked me recently whether a GUI for file permissions management (front end for stuff like umask, chmod, and maybe even login.conf or adduser.conf configuration) exists. I know that some filesystem browser applications like Nautilus provide at least some of that kind of functionality, but wondered if there was a somewhat simple, stand-alone GUI that covered that kind of thing out there. I seem to be using the wrong search terms for Google and `cd /usr/ports; make search key=foo`, because I haven't been able to nail down anything like that. Must one be a KDE or Gnome user to get that kind of tool? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp3XAigpEkuy.pgp Description: PGP signature