Run on terminal:
- Code: Select all
$ dmesg | grep oss
It may tell you something, if OSS failed to start.
You may also try to start something else with /etc/rc.local script to see, if it works
https://wiki.archlinux.org/index.php/Rc ... 2Frc.localEDIT: You may want to read this:
https://help.ubuntu.com/community/RcLocalHowtoAnother exotic innovation:
http://en.wikipedia.org/wiki/UpstartIt seems to be a kind of "backdoor", which might be used for installing trojans on Ubuntu, see:
http://www.theregister.co.uk/2011/02/09 ... _problems/Imagine a kind of Linux Stuxnet
http://en.wikipedia.org/wiki/StuxnetUpstart 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.
On Arch Linux, everything is still under your control
https://wiki.archlinux.org/index.php/Arch_Boot_ProcessTo enable OSS4, you have to add "oss" to DAEMONS array in /etc/rc.conf script:
- Code: Select all
DAEMONS=(... oss ...)
This should ensure that OSS4 starts automatically on boot
https://wiki.archlinux.org/index.php/OSS#InstallIf "oss" is in your DAEMONS array, it should be started with /etc/rc.d/oss script on boot.
- Code: Select all
$ cat /etc/rc.d/oss
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy 'Starting Open Sound System'
if /usr/sbin/soundon
then
add_daemon oss
stat_done
else
stat_fail
fi
;;
stop)
stat_busy 'Stopping Open Sound System'
if /usr/sbin/soundoff
then
rm_daemon oss
stat_done
else
stat_fail
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac
The script /etc/rc.d/oss is in the OSS package for Arch Linux. It should be installed automatically, when you install OSS4 with pacman:
- Code: Select all
# pacman -S oss
see:
https://wiki.archlinux.org/index.php/OSS#InstallYou can simply download the OSS package
- Code: Select all
$ sudo pacman --sync --downloadonly oss
and open it with the Archive Manager, to see, if the script is on the place: ./etc/rc.d/oss
You can find the OSS package in pacman's cache, e.g. /var/cache/pacman/pkg/oss-4.2_2004-1-i686.pkg.tar.xz
if it is downloaded or installed.
The Arch developers seem to be going to adopt Upstart to make Arch Linux more flexible, modern and advanced.
Upstart is already in AUR
https://aur.archlinux.org/packages.php?ID=24506PulseAudio has already been adopted in Arch Linux. It had been tested in AUR too.