Configuration Instructions for Bedrock Linux 1.0alpha1
- rcS.clients and rcK.clients
rc.conf file is located at
/opt/bedrock/etc/rc.conf. This is sourced as a
bourne shell script, so be careful with your syntax - there
should be no spaces around the equals signs used for
establishing a setting. Change the text to the right of the
equals sign to set the value.
Sets timezone, using the POSIX TZ environmental variable standard. Should be in the form of
Sets whether the hardware clock is set to local time or UTC.
Traditionally *nix systems use UTC, but Windows uses local. If
you are dual-booting with Windows, local may be preferable.
Bedrock uses mdev to manage device files in
However, some applications - such as X11 - are signed to work
specifically with udev and no other device manager. If
DEVICE_MANAGER is set to
udev, and it
finds udev available in client, it will attempt to switch to
udev during boot.
This sets the path in which client commands will be made
available in other clients. This should be unique to the
client and not shared via bind mounting. The default is
When first attempting to access a client, Bedrock will have to
set up the various items which should be shared. If this is
done at the last second, it will cause a slight delay. Setting
AUTO_BRS=1 will have Bedrock run brs in the
background at boot and after every brc, ensuring that, when one
tries to access a client, it will already be set up.
BR_CREATE_MISSING=1, and Bedrock finds a client
is missing a file or directory which needs to be bind mounted
onto to share, Bedrock will attempt to create it automatically.
AUTO_BRS is not set to 1,
occasionaly have to set up clients. If
BRC_MOUNT_WARN is set to
will notify the user that a slight delay may be noticed as it
sets up the client in these instances. If
BRC_MOUNT_WARN is set to
all, it will
print out a notice for every item it needs to mount.
In order to ensure chrooting is not used as a priviledge
exploit or otherwise abused yet still accessible to non-root
users, capchroot limits the directories which can be accessed
by those listed in this file. Simply list the directories each
client is in in the file located at
Future versions of Bedrock will merge this file into
brclients.conf contains information about the
Bedrock clients needed by the various Bedrock utilities.
Each's section should start with the clients name between square brackets. The clients configuration options all start with a keyword, followed by whitespace, followed by the configuration option.
This sets the path to the client from a parent client.
Sets a command used to update the client. To run multiple
commands, put each command on its own
rather than attempting to combine them with semicolons or
double-ampersands. If the client cannot be updated through
simple commands (such as the core Bedrock itself) or you would
rather it not be updated for some other reason, you can leave
out the update lines.
To set an item which should be shared, simply use
mount followed by whitespace and the path of the
[squeeze] path /var/chroot/squeeze update apt-get update update apt-get upgrade mount /proc mount /sys mount /home
In order to ensure non-root users can set up clients, each item
which needs to be shared should be set it
/etc/fstab with the option
To use the Bedrock Linux meta-shell
brsh, create a
file in your home directory called
which contains the contents that should be in your
$SHELL environment. For example, if you would
like to use
rcS.clients and rcK.clients
To have a client daemon start or stop at boot/shutdown, place
the relevant command to do this in
/etc/init.drc/K.clients, respectively. For
example, to start Debian squeeze's cups daemon at boot, place
the following in your
brc squeeze /etc/init.d/cups start