PCOWtools updated; bash

September 25th, 2014 by Andre van Eyssen

PCOWtools for Solaris/SPARC has been updated with the latest bash to mitigate the recent exploit. Download tarball has been updated.

Posted in Fault, Solaris | Comments Off

Heartbleed commentary

April 16th, 2014 by Andre van Eyssen


Posted in Uncategorized | Comments Off

MSOSUG Subscription Information

September 18th, 2013 by Andre van Eyssen

To subscribe to the mailing list for MSOSUG – the Melbourne Solaris / OpenSolaris User Group – please head to the listinfo page at: http://mexico.purplecow.org/m/listinfo/msosug

This list caters to general discussion (on-topic) between attendees and has the announcements for each meeting. If you’d like to make sure you don’t miss an announcement, please subscribe.

List traffic is very low – less than 20 posts/month.

Posted in MSOSUG | Comments Off

Modern AMP (Apache, MariaDB, PHP) for Solaris 10

July 10th, 2013 by Andre van Eyssen

Does anyone out there want packages? It isn’t a difficult build these days but I do have packages built.

Posted in Solaris | Comments Off

Hitachi Travelstar 7K1000 sd.conf for Solaris/SPARC

July 7th, 2013 by Andre van Eyssen

Note the vendor ID of “ATA” and five spaces. Formatting is critical, don’t drop the spaces. All VIDs are padded to 8 chars. I’m not sure how WordPress will try to mangle my formatting.

sd-config-list =
"ATA HGST HTS721010A9","physical-block-size:4096";

Posted in Solaris | Comments Off

Local filesystem mounts not visible with ownCloud 5.0.6

May 20th, 2013 by Andre van Eyssen

Fault Description: Local filesystem mounts do not present on ownCloud 5.0.6.

Platform: Solaris 10; SPARC; PCOWstack32; sjsws7; MariaDB; PHP 5.4.15.

Evidence 1: ownCloud log shows:  {“app”:”cache”,”message”:”Insert to cache failed: MDB2 Error: null value violates not-null constraint”,”level”:3,”time”:1369039803}

Evidence 2: DB transaction log shows: INSERT INTO `oc_filecache`(`mimepart`, `mimetype`, `mtime`, `size`, `etag`, `path_hash`, `path`, `parent`, `name`, `encrypted`, `storage`) VALUES(?, ?, ?, ?, ?, ?
, ?, ?, ?, ?, ?)

Notes: Fault is not evident with sqlite default install.

Cause: Pretty obvious. Looks like that constraint shouldn’t exist.

Fix: https://github.com/owncloud/core/pull/2389/files

Fix details: edit db.php, add to mysql section: $options[‘portability’] = $options[‘portability’] – MDB2_PORTABILITY_EMPTY_TO_NULL;


Posted in Uncategorized | Comments Off

Solaris 10 on x86 refuses to boot after exporting raw iSCSI volumes

April 28th, 2013 by Andre van Eyssen

Quick case notes for those who run into the same thing:

Export some raw devices through iSCSI. All are functional and well behaved. Create a zpool on said LUNs from the client machine. Still functional. Reboot the server, locks before displaying grub menu. Notably, these LUNs previously had a zpool on them.

There appears to be an issue with grub’s attempt to locate the root filesystem using  findroot.

The LUNs were previously used (and labelled) by zpool during testing. The combination of partial zpool and the EFI label seems to be the problem. Clean the partition off and replace with a SOLARIS2 partition tag and try again; the grub problem goes away.

There’s obviously room for deeper analysis here, but I’m just throwing this note up in case somebody else hits the same oddity.

Posted in Solaris, UNIX | Comments Off

Illumos-Joyent patch tree – Joyent releases a slab of code for Illumos

April 16th, 2011 by Andre van Eyssen

For those not lurking the mailing lists, Joyent have opened their first real
block of code. New features include:

* ZFS I/O fair-share scheduling for zones
* the Joyent brand, which can be used as a template for other non-SysVR4 or
IPS zone brands
* Reintroduction of sparse zone images
* Crossbow vnics on demand for zones & non-unique vnic naming (unique per
zone, not per system)
* svcs enhancements ( svcs -Z/-z for interrogating zone services, -L for
outputting log files directly (no more ls /var/svc/log | grep… ))
* vfsstat and iostat tweaks and ziostat, iostat(1M) for ZFS I/O
* more per-zone IO kstats
* the zonemon utility for zone kernel state troubleshooting
* DTrace enhancements such as llquantize

You can get digging through the code at:

Posted in Illumos, OpenSolaris, Solaris, UNIX | Comments Off

Solaris 11 Express AI Notes

December 15th, 2010 by Andre van Eyssen

My Automated Installer notes are available now. You can grab them from: http://mexico.purplecow.org/static/ai1.pdf.

This was presented at the final MSOSUG meeting for 2010; thanks to everyone for an entertaining year and looking forwarding to kicking off again in January. Look forward to comments and/or corrections.

Update: This document uses my new document base style; please drop a comment on the layout!

Posted in MSOSUG, OpenIndiana, OpenSolaris, Solaris, UNIX | 7 Comments »

Fix backspace/delete on Solaris 11 Express text console

November 24th, 2010 by Boyd Adamson

As a place to work on my IPS packages, I have a minimal Solaris 11 x86 VM under VirtualBox. By minimal, I mean the “server_install” set that you get by default from the text installer.

I’d like to ssh to it from my normal terminal emulator but I have to use the text console since the bridged networking makes my laptop unstable. Probably an interaction with VPN clients on the machine.

Alas, the out-of-the-box experience on the text console is … suboptimal. Pressing the key on the top right of the keyboard (normally “Backspace” but labeled “delete” on my Mac) sends the “^H” character to the session, while the default terminal device settings from stty(1) expect the delete (^?) character. The upshot of this is that pressing Backspace at the login prompt prints ^H. Nice.

It’s also less than ideal for an emacs user, since ^H (C-h in emacs parlance) is the help key. This can be fixed, but seriously, should I have to?

Anyway, I’ve found a minimal workaround that seems to work for me. Maybe it will help others.

We need to swap the backspace and delete keys on the keyboard. So, first we find which keys backspace and delete are on:

eleven# dumpkeys | grep '\\\\b'
key 11    base h shift H caps H ctrl '\\b' altg nop
key 42   all '\\b'
eleven# dumpkeys | grep '\\\\177'
key 76  all '\\177'

So, Backspace is on key 42 and key 11 (the “H” key) with Control held down. Delete is on key 76. So, for my purposes it’s good enough to swap those two keys.

Turns out that’s surprisingly easy:

# Swap backspace and delete
swap 42 with 76

Just chmod +x that file and run it (as a user logged on at the console) and we’re finished!

To make this persistent across reboots is not much harder. First find the type and layout of your keyboard:

eleven# kbd -l
layout=33 (0x21)

The layout for this keyboard is defined in /usr/share/lib/keytables/type_6/layout_21.

Personally I’ve not made this change persistent since it’s not clear to me that editing these files is supported. Also, I’m not sure what would happen in the case of an upgrade of the system/data/keyboard/keytables package that contains them.

Now, if only someone can help me with getting the meta key to work…

Posted in Solaris | Comments Off

« Previous Entries