Re: [OpenIndiana-discuss] OMNIOS

2012-04-27 Thread Paolo Marcheschi

HI

I tried it on a virtualbox machine, and it seems nothing special. :-\
It has its own repository :

http://pkg.omniti.com/omnios/release/en/catalog.shtml

uname -a

SunOS Omnios 5.11 omnios-79686dc i86pc i386 i386pc Solaris


Paolo

On 04/23/12 06:07 PM, James Carlson wrote:

Richard Elling wrote:

On Apr 23, 2012, at 6:27 AM, paolo marcheschi wrote:

Is that related with Openindiana ?, Are there any advantages with it ?

It is designed for the server market, not the desktop market.

A small amount of searching locates a manifesto:

http://lethargy.org/~jesus/writes/the-desktop-and-server-oil-and-water


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Cannot open: Illegal byte sequence with a file containing a question mark

2012-04-27 Thread Flo

Hello,

@all,
thank you very much for your help and the very usefull explanation!

Greeting,
Florian


Am 2012-04-26 17:31, schrieb James Carlson:

Flo wrote:

If that shows that the property is set on, then that's what's causing
the failure.  Sadly, it's configurable only when creating a file system,
so if you wanted to change it, you'd have to create a new file system
and copy everything over.


utf8only is on. I created a new folder with utf8only=off and this worked!

Are there any disadvantages with utf8only disabled?
I use Napp-It and Napp-It enables it automatically


You'd probably want to talk with the author of Napp-It to find out why
he set that parameter.

More generally speaking, there are a few file-system-level choices that
you can make that determine how names are treated.  Allowing only UTF8
is one of them.  Selecting case-insensitive matches is another.

Which one you choose depends mostly on what you're doing with those
files.  UTF8 has some great advantages -- it's an unambiguous encoding
of UNICODE characters, so it fixes the usual national language character
set problems you have with something like ISO 8859.  And because the
character values are exactly equal for at least the ASCII characters, it
mostly works without having to think too much about it.

One of the downsides, as you've found, is that it's a somewhat
restrictive format.  UNIX has traditionally allowed you to use any
arbitrary byte value other than hex 00 (NUL) and 2F (/) in the name of a
file (obviously, 2F is used for path separation), and in any sequence.
Because UNIX allows anything here, two users with different LANG
settings will see different characters when they look at the same files.

UTF8, though, has rules for how multibyte characters are formed, and
those rules result in the possibility that some arbitrary sequences of
bytes are not necessarily legal encodings.

That leads to an application compatibility problem.  If an application
issues an open(2) (or creat(2)) system call with a file name that has a
legal UNIX name but has an illegal UTF8 sequence, what do you do?
Failing the system call means a break in compatibility.  Allowing the
access means that the integrity of the file names is compromised.
That's why there's an option, and why the normal ZFS default for the
option is off -- to preserve compatibility.

There's probably a deeper issue here concerning what was going on with
the 'tar' program you were running.  I had _thought_ that file names
inside the tar format were encoded using UTF8, which would imply that
the problem is that 'tar' erroneously translated that to a national
language code point when trying to create the file.  If so, then that
could just be a configuration problem on your part -- e.g., attempting
to use a national language character set when the rest of your world is
set up for UTF8.

But maybe I'm wrong about that.  Someone who knows the internals of tar
better should probably look at it.




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] USB Modem CDC on OI under VMWare 4.x and 5.1

2012-04-27 Thread Gabriele Bulfon
Hi,
I have this problem since Solaris 10, then OpenSolaris, now OI or any other 
illumos kernel distro.
If I connect an USB Modem CDC to a native hardware running illumos, the modem 
is correctly
configured, and using tip /dev/cua/0 let me communicate with it perfectly.
Under VMWare (4.x or 5.x), I add the USB Interface to the VM, then add the 
specific USB Device
to the VM.
VMWare let me see that the added device is the correct one (Multitech .).
I can add both while the illumos VM is running, then I can see the device 
configured under cgfadm,
and find the /dev/cua/0 linked to the device.
But then, the communication fails: tip /dev/cua/0 returns Device not found 
and Device busy.
I tried unconfiuring and disconnecting via cfgadm, then reconnecting with 
cfgadm, but no way.
The /var/adm/messages shows the system finds the device and configures it.
The only strange line is before the usb device creation, saying Driver not 
found, but then after
the device is linked and connected.
Any idea?
Gabriele.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] file corruption with nfs sharing

2012-04-27 Thread Richard PALO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

As mentioned in the bug report updates, this seems to be an ACL
anomaly in combination with OpenOffice 3.3 calc when updating an
existing spreadsheet via an oi_151a3 workstation using nfs.

Is anybody else working with OpenOffice (scalc) on a network share
with mixed nfs/cifs that can confirm as well, firstly the perceived
ACL problem, and secondly the data corruption?

Thanks in advance

 the bug report: https://www.illumos.org/issues/2644
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.13 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPmrTZAAoJECAB22fHtp27AHcH/1YaPIOcUTHWejw5T/zUUD3w
3ZINKtOppp7UUXTxaHEbLkfB3umm0qu+pf8xzmEz0w7thMaM+caug+E3MeMr2EFT
5WbuiBeV+cOmgScP3I12uskgrojXKuMbPFNAb0ceePNlBuk8bL48aZ7JuUDfYQ8j
lqtP2Om9uHfo/qB8urXbRpDu8qlIY4YIPSdKDsTcxLZBAcOmuKXB9/GCJi+ilKlI
69CKCBAGlj5TW1vUUwwVr/sl0TkP+OjiwUOvTHgzgWASVfzhPLxi8xtz3AvhFJG5
3GWn1+bmO61hNVjc+7GOW+Cm25XcaljWem1vS1UGLVvZz/58oK3XbdbaPAfROrk=
=J0Q5
-END PGP SIGNATURE-


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Best way to share files between host and VMs?

2012-04-27 Thread Ron Parker
Hi list,

I'm running oi_151a3 with VirtualBox 4.1.12 and a number of VM's. My
VM's include several Linux's of various vintages including an in-house
embedded distribution and Windows 7.

It would be convenient to be able to share GB of data between my host
and the various VM's instead of copying all of that around between the
host and VM's. However the performance of NFS mounting something from
the host into the VM's is painful. Compiles that should take a couple
minutes take over 30 just to ./configure. I am painfully aware of the
contention and performance issues related to OpenIndiana, VirtualBox
and NFS but have no idea how to resolve them.

Something in me screams there has to be a better way. My VM's have two
NIC's configured. One is NAT to reach the local network. I can't
bridge them. The other is host-only to communicate with the host and
occasionally with other VM's.

What is the best way to share data between an OI host and
Linux/Windows VirtualBox VM's?

Thanks,

Ron

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Qmail-to-go on openindiana?

2012-04-27 Thread Gary Gendel

On 4/26/12 10:53 PM, Christopher Chan wrote:

On Thursday, April 26, 2012 08:30 PM, Gary Gendel wrote:

On 4/26/12 5:01 AM, Christopher Chan wrote:

On 26/04/12 12:17 AM, Gary Gendel wrote:


That isn't what spamdyke is trying to accomplish here. This checks to
see if the sender is trying to spoof the MTA. What spamdyke is 
trying to

do is to blacklist emails based upon the ip address embedded in the
sending domain name. For example:

If I get mail from 208.1.48.3 and it's reverse domain lookup 
resolves to

customer.208.001_48.3.sample.com and sample.com is on my list it is
blocked.



Again, it's available with the following configuration parameter:

   check_reverse_client_hostname_access type:table

Table should have key sample.com and RHS = REJECT, blah

Table details:

http://www.postfix.org/access.5.html

Chris, I'm still unclear on how to do this.  How could you write a 
regular express to check to see if the connecting ip address is 
buried in the reverse dns lookup.


In my example, spamdyke would reject 
customer.208.001_48.3.sample.com, but 
customer.108.001_48.3.sample.com would not be rejected because it 
doesn't match the ip address of the sending MTA.  This prevents 
rejecting reverse dns names with strings of arbitrary numbers in them.


Gary,

I am sorry, but things are a bit unclear here. Is it don't block 
misconfigured clients but do block clients with proper rdns in this 
domain?


What do you mean by customer.108.001_48.3.sample.com would not be 
rejected because it doesn't match the ip address of the sending MTA? 
That customer.108.001_48.3.sample.com A would not map back to the ip 
of server whose PTR record points to customer.108.001_48.3.sample.com?


This is the scenario...

I get a connection from ip address 1.2.3.4.  The reverse DNS lookup 
returns foo.001_002-3_4.example.com.


If I have .example.com in an ip-in-rdns-keyword-blacklist option list, 
spamdyke will scan the reverse domain looking for the ip address in the 
reverse domain list, find it, and reject the mail.  Notice that it does 
a contextual scan so it recognizes that 001 is the same as 1, the 
elements can be separated by various symbols, etc.


Now, if I have a connection 1.2.3.4 and the reverse DNS lookup returns 
foo.43.1.23.4.example.com spamdyke will let that pass since the specific 
ip address would not be found.


All I was saying is that using regular expressions, I can't see how you 
could do this distinction.  The worst case would be if I did something 
draconian like putting .net on the list. Regular expressions would 
reject anything with the appropriate sequence of arbitrary numbers and 
punctuation whereas Spamdyke would limit it to an sequence that matches 
the sending ip. Spamdyke has a option to automatically do this for 
domains that end in country codes.  A regular expression would be overly 
optimistic and potentially reject a lot of good sending MTAs.


I also have a honeypot set up.  Any email that is received by that does 
some analysis and automatically puts it in a spamdyke blacklist, where 
it will remain as long as it isn't renewed (sent to the honeypot) before 
an expiration time is met.


I have built up a lot of infrastructure using spamdyke that gives me a 
superior spam rejection with no reported false positives.  Bottom line 
is that I'm not ready to lose this capability until I have a replacement 
for spamdyke's menu of options, ease of configuration and performance.


Gary


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Best way to share files between host and VMs?

2012-04-27 Thread Travis Lawrie
oi, napp-it, esxi, vt-d, compatible hba in it mode, passthrough, cifs
shares, nfs shares, store vms on vdevs, all in one ftw

Sent from my iPhone

On Apr 27, 2012, at 8:11 AM, Ron Parker rdpar...@gmail.com wrote:

 Hi list,

 I'm running oi_151a3 with VirtualBox 4.1.12 and a number of VM's. My
 VM's include several Linux's of various vintages including an in-house
 embedded distribution and Windows 7.

 It would be convenient to be able to share GB of data between my host
 and the various VM's instead of copying all of that around between the
 host and VM's. However the performance of NFS mounting something from
 the host into the VM's is painful. Compiles that should take a couple
 minutes take over 30 just to ./configure. I am painfully aware of the
 contention and performance issues related to OpenIndiana, VirtualBox
 and NFS but have no idea how to resolve them.

 Something in me screams there has to be a better way. My VM's have two
 NIC's configured. One is NAT to reach the local network. I can't
 bridge them. The other is host-only to communicate with the host and
 occasionally with other VM's.

 What is the best way to share data between an OI host and
 Linux/Windows VirtualBox VM's?

 Thanks,

 Ron

 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Best way to share files between host and VMs?

2012-04-27 Thread Ron Parker
On Fri, Apr 27, 2012 at 11:24 AM, Travis Lawrie tlawri...@gmail.com wrote:
 oi, napp-it, esxi, vt-d, compatible hba in it mode, passthrough, cifs
 shares, nfs shares, store vms on vdevs, all in one ftw

Alas this is on my laptop.

But I am making some progress. Here are some numbers. The first two
are approximate (on the low side) I didn't care to re-run them to get
exact numbers since they are 2 orders of magnitude slower.

Tools and src, dest mounted via NFS: ~30m
Tools local, src, dest mounted via NFS: ~18m
All local: 14s
Tools, dest local, src mounted via SMB/CIFS: 21.5s

Notice the seconds as opposed to minutes.

Now if I can figure out if it's possible to get symlinks working via
SMB/CIFS I can put it all back on the host and try it out.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Best way to share files between host and VMs?

2012-04-27 Thread Michael Stapleton
Are All the VMs on the same host? How about VBox shared folders?
Mike



On Fri, 2012-04-27 at 12:01 -0500, Ron Parker wrote:

 On Fri, Apr 27, 2012 at 11:24 AM, Travis Lawrie tlawri...@gmail.com wrote:
  oi, napp-it, esxi, vt-d, compatible hba in it mode, passthrough, cifs
  shares, nfs shares, store vms on vdevs, all in one ftw
 
 Alas this is on my laptop.
 
 But I am making some progress. Here are some numbers. The first two
 are approximate (on the low side) I didn't care to re-run them to get
 exact numbers since they are 2 orders of magnitude slower.
 
 Tools and src, dest mounted via NFS: ~30m
 Tools local, src, dest mounted via NFS: ~18m
 All local: 14s
 Tools, dest local, src mounted via SMB/CIFS: 21.5s
 
 Notice the seconds as opposed to minutes.
 
 Now if I can figure out if it's possible to get symlinks working via
 SMB/CIFS I can put it all back on the host and try it out.
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Best way to share files between host and VMs?

2012-04-27 Thread Ron Parker
On Fri, Apr 27, 2012 at 12:09 PM, Michael Stapleton
michael.staple...@techsologic.com wrote:
 Are All the VMs on the same host? How about VBox shared folders?

They are. I can try it. But I do have some VM's without VirtualBox
guest extensions.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] oi_151a3 live installation failed

2012-04-27 Thread Alex Lam S.L.
Just had another installation on a different system and got the same
OpenIndiana did not complete normally screen.

This time I use the Live USB image for installation.


Alex.



OM Apr 27 21:34:09 System reports enough physical memory for
installation, swap is optional
TDDM_E Apr 27 21:34:13 ddm_get_slice_attributes(): Can't get slice attr,err=19
TDDM_E Apr 27 21:34:14 ddm_get_slice_attributes(): Can't get slice attr,err=19
OM Apr 27 21:34:41 Timezone setting will be TZ=UTC
OM Apr 27 21:34:41 Set timezone
OM Apr 27 21:35:48 Disk was changed
OM Apr 27 21:35:48 Disk contains valid Solaris partition
OM Apr 27 21:35:48 whole_disk = 1
OM Apr 27 21:35:48 diskname set = c3t1d0
OM Apr 27 21:35:48 Set fdisk attrs
OM Apr 27 21:35:49 Set zfs root pool device
OM Apr 27 21:35:49 creating zpool
OM Apr 27 21:35:49 /usr/sbin/zfs get -Hp -o value available rpool
OM Apr 27 21:35:49 Attempting to create swap and dump on ZFS volumes
OM Apr 27 21:35:56 Target Instantiation finished successfully
OM Apr 27 21:35:56 Transfer process initiated
OM Apr 27 21:35:56 CPIO transfer mechanism selected
TRANSFER_MOD Apr 27 21:36:02 -- Starting transfer process, Fri, 27
Apr 2012 21:36:02 + --
TRANSFER_MOD Apr 27 21:36:02 Building cpio file lists
TRANSFER_MOD Apr 27 21:36:02 Scanning /var/run/tmpjBwClY/.
TRANSFER_MOD Apr 27 21:36:07 Scanning //.
TRANSFER_MOD Apr 27 21:36:08 Scanning //usr
TRANSFER_MOD Apr 27 21:36:16 Scanning //opt
TRANSFER_MOD Apr 27 21:36:16 Scanning //dev
TRANSFER_MOD Apr 27 21:36:17 Scanning /mnt/misc/.
TRANSFER_MOD Apr 27 21:36:18 Scanning /.cdrom/.
TRANSFER_MOD Apr 27 21:36:18 Beginning cpio actions
TRANSFER_MOD Apr 27 21:42:07 -- Completed transfer process, Fri, 27
Apr 2012 21:42:07 + --
ICT Apr 27 21:42:07 current task: ict_set_lang_locale
ICT Apr 27 21:42:07 ict_set_lang_locale Succeeded
ICT Apr 27 21:42:07 current task: ict_configure_user_directory
ICT Apr 27 21:42:07 ict_configure_user_directory Succeeded
ICT Apr 27 21:42:07 current task: ict_set_user_profile
ICT Apr 27 21:42:07 ict_set_user_profile Issuing Command: /bin/cp
/etc/skel/.profile /a/export/home/admin/.profile
ICT Apr 27 21:42:07 ict_set_user_profile Issuing Command: /bin/cp
/etc/skel/.bashrc /a/export/home/admin/.bashrc
ICT Apr 27 21:42:07 ict_set_user_profile Succeeded
OM Apr 27 21:42:07 Setting up swap mount in /a/etc/vfstab
ICT Apr 27 21:42:07 current task: ict_set_host_node_name
ICT Apr 27 21:42:07 ict_set_host_node_name Succeeded
OM Apr 27 21:42:07 /usr/sbin/zpool set bootfs=rpool/ROOT/openindiana rpool
ICT Apr 27 21:42:08 current task: ict_installboot
ICT Apr 27 21:42:09 ict_installboot Succeeded
OM Apr 27 21:42:09 Running install-finish script
ICT Apr 27 21:42:10 Starting Python script of Install Completion Tasks
ICT Apr 27 21:42:10 BASEDIR: /a
ICT Apr 27 21:42:10 USER_SPEC_DBGLVL:
ICT Apr 27 21:42:10 NU_GOS: admin
ICT Apr 27 21:42:10 NU_LOGIN: admin
ICT Apr 27 21:42:10 NU_GID: 10
ICT Apr 27 21:42:10 NU_UID: 101
ICT Apr 27 21:42:10 current task:create_smf_repository
ICT Apr 27 21:42:10 current task:create_mnttab
ICT Apr 27 21:42:10 current task:cleanup_unneeded_files_and_dirs
ICT Apr 27 21:42:10 current task:generate_sc_profile
ICT Apr 27 21:42:10 Detected UK-English keyboard layout
ICT Apr 27 21:42:10 Created System Configuration profile
/a/etc/svc/profile/sc_profile.xml
ICT Apr 27 21:42:10 current task:delete_misc_trees
ICT Apr 27 21:42:10 current task:set_boot_device_property
ICT Apr 27 21:42:10 Setting console boot device property to text
ICT Apr 27 21:42:10 current task:add_splash_image_to_grub_menu
ICT Apr 27 21:42:10 current task:remove_livecd_coreadm_conf
ICT Apr 27 21:42:10 current task:set_partition_active
ICT Apr 27 21:42:10 current task:set_partition_active_x86
ICT Apr 27 21:42:10 current task:get_rootdev_list
ICT Apr 27 21:42:10 current task:set_boot_active
ICT Apr 27 21:42:10 current task:bootadm_update_menu
ICT Apr 27 21:42:10 update GRUB boot menu on device /dev/rdsk/c3t1d0s0
ICT Apr 27 21:42:11 bootadm_update_menu output: bootadm: cannot get
(hd?,?,?) for menu. menu not on bootdisk: /dev/rdsk/c3t1d0s0
ICT Apr 27 21:42:11 current task:remove_bootpath
ICT Apr 27 21:42:11 current task:fix_grub_entry
ICT Apr 27 21:42:11 current task:add_operating_system_grub_entry
ICT Apr 27 21:42:12 current task:update_dumpadm_nodename
ICT Apr 27 21:42:12 current task:explicit_bootfs
ICT Apr 27 21:42:12 current task:_get_root_dataset
ICT Apr 27 21:42:12 current task:enable_happy_face_boot
ICT Apr 27 21:42:12 current task:copy_splash_xpm
ICT Apr 27 21:42:12 current task:smf_correct_sys_profile
ICT Apr 27 21:42:12 current task:add_sysidtool_sys_unconfig
ICT Apr 27 21:42:12 current task:enable_nwam
ICT Apr 27 21:42:12 current task:remove_specific_packages
ICT Apr 27 21:44:55 current task:set_flush_content_cache_false
ICT Apr 27 21:44:56 current task:set_root_password
ICT Apr 27 21:44:56 current task:create_new_user
ICT Apr 27 21:44:56 current task:set_homedir_map
ICT Apr 27 21:44:56 current task:setup_rbac
ICT Apr 27