I've first installed OSS in Ubuntu 10.10 and it was satrting normaly then I've tried to upgrade to 11.04 and I've end up with broken system. Than I've made a fresh install of Natty Narwhaland installed OSS 4.2 2004 (package from OpenSound website) but it doesn't start sound system when booting. I remember that I have forgot to reboot after the reconfiguration of linux-sound-base and I also have my old home directory. Can this things have something to do with my problem.

I've also build OSS from Mercurial but that didn't solve that issue.

I can start Open Sound System with one of these commands:

sudo /etc/init.d/oss start

sudo soundon

I have also problems with VirtualBox kernel modules, each time when I want to run virtual machine I have to build kernel modules:

sudo /etc/init.d/vboxdrv setup

it points at some problems with permissions and I think that maybe OSS has the same problems.

A) Workaround: Add "soundon" to /etc/rc.localB) Fixing this: I suspect you have leftovers of the old OSS install or that you removed it after installing the new version of OSS? Try purging all oss installs ('dpkg -l | grep oss' would show all. 'dpkg --purge (packagename)' would purge), and reinstalling oss.

What exactly do I have to add to /etc/rc.local is it soundon or "soundon" or even something else.

I've tried purging OSS and installing it again before but it didn't solve starting problem. This time it also didn't work ('dpkg -l | grep oss' shows only oss-linux and libsdl1.2debian-oss). I've purge oss-linux and then rebooted and installed OSS again but sound still must be runned manually.

#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing./usr/sbin/soundonexit 0

Upstart is subject to Canonical's contributor agreement, requiring contributors to assign copyright to Canonical, and allowing Canonical to release it under a non-open source license. http://en.wikipedia.org/wiki/Upstart

It seems that Upstart is still "open-source", but the documentation for it is already "closed". It is a kind of "secret esoteric knowledge". You have "services" like in MS Windows, and you do not know how to enable or disable them, and you do not know, of course, which services are enabled. Some of those services might be trojans, rootkits, or bots, and such services should be "invisible" and "undetectable". Otherwise, they can be easily removed.

On Ubuntu 11.04, OSS4 should be one of such services, and you do not know how to enable it.

and open it with the Archive Manager, to see, if the script is on the place: ./etc/rc.d/ossYou can find the OSS package in pacman's cache, e.g. /var/cache/pacman/pkg/oss-4.2_2004-1-i686.pkg.tar.xzif it is downloaded or installed.