Tagged: open-source

Man Assaulted for being an Open Source Advocate? WTF!

March 6, 2009 Posted by mitch | open-source, thoughts | 0 Comments

So, I was reading my daily dose of digg and I came across a story about a guy with one very upset windows support "tech" yelling at him in a gas station. And, I have to say, its ridiculous. I mean... its been the case for many years that Microsoft has created a whole ecosystem around fixing their Broken OS(tm). But to say that Open Source is the reason these people are loosing their jobs? Pfft, if they couldn't see that this Open Source(tm) thing wasn't a fad, then they deserve to loose their job. The Technology Field isn't about just one Technology (Broken OS spoken of previously), its about many different ones, that all work together (some better than others... see previous comments) and form what's commonly just referred to as "technology". Which also has a saying, which even those asshats would know, is that its constantly changing, as soon as something makes it to market... its outdated within a month. Just the nature of the beast, and you learn to roll with it. I would also say that being able to roll with it, and not locking myself down to any one particular technology is the reason I've gotten as far as I have in my own career. I definitely have my preferences(see my blog...), but that guy just needs to find his cheese.


Samba fileserver and Mac OS X Clients

February 19, 2009 Posted by mitch | open-source, work | 0 Comments

I ran into a slight issue today with OS X (Leopard), where it would ignore the file permissions forced by my samba file server... In order to maintain users and groups with the correct permissions, I have shares setup like:

[share]
comment = share Volume
path = /srv/SHARE
browseable = yes
writeable = yes
Valid Users =@DOMAIN+"Domain Users"
create mask = 0660
force create mode = 0660
directory mask = 0770
force directory mode = 0770
force group =@DOMAIN+Domain Users
hide files = /__TMP__/.DS_Store/lost+found/

so, I should get files that look like:

-rw-rw---- 1 root root 0 Feb 19 15:07 test1

But the default umask on OS X is 022, so I would get files showing up like:

-rw-r--r-- 1 root root 0 Feb 19 15:07 test2

On the above share... This would prevent other users from changing the files....
Turns out, Apple started pushing for more POSIX compliance and as a result their files would turn up with the permissions assigned to the file on the local system or with their default umask as its created. In a shared world... not always ideal, but I don't want to have to change the umask on all of the OSX clients.... found an option in samba that I added under the [global] section as follows:

[global]
.....
# Make OS X Leopard play nice with others
unix extensions = off

This fixed my problem.


Bacula with a Sony Storstation LIB-162

January 17, 2009 Posted by mitch | open-source, work | 0 Comments

I'm a computer systems consultant by profession... and I've come across the need to setup a backup system. I've used Bacula before, and I rather like it. I've used various different libraries with it, an MSL from HP and a StorVault from Dell, but this is my first time using a Storstation from Sony. I started setting it up, and I almost had it setup and a tried to start labeling the media... and I got this:


Sending label command for Volume "A0BJ3B" Slot 1 ...
3307 Issuing autochanger "unload slot 7, drive 0" command.
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal 15: Termination.

I was setting this up on an Ubuntu 8.04 LTS server and it all had gone well until this.

Turns out the library is to slow and I had to make some modifications with the config. In the bacula-sd.conf and make the drive config look like this: (its counter intuitive I would think it should have been in the AutoChanger config... but its part of the Drive config.


Device {
Name = Drive-1
Drive Index = 0
Media Type = AIT-4
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Maximum Changer Wait = 600
}

The key is the Maximum Changer Wait. Default is 120 seconds... I tried 300 and that didn't work... but 600 is working for me.

I thought I'd post it tho, because I didn't find anyone talking(in english) about this library with bacula...


Random Quote:

What we learn with pleasure we never forget.

- Alfred Mercier