From 66bfd651af618bf30f01037b2b5b79a1725c1bba Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 18 Feb 2015 12:03:57 +0100 Subject: itzks-systems-smartboard: Start SMARTBoardService daemon in user context (not as root) and provide proper udev rules to grant normal users sufficient access to SMART whiteboard devices. --- etc/schroot/chroot.d/precise-i386-smartboard-ITZkS | 2 +- etc/schroot/slxdesktop.ITZkS/copyfiles | 4 ++++ etc/schroot/slxdesktop.ITZkS/fstab | 27 ++++++++++++++++++++++ etc/schroot/slxdesktop.ITZkS/nssdatabases | 11 +++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 etc/schroot/slxdesktop.ITZkS/copyfiles create mode 100644 etc/schroot/slxdesktop.ITZkS/fstab create mode 100644 etc/schroot/slxdesktop.ITZkS/nssdatabases (limited to 'etc') diff --git a/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS b/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS index eb1ace3..f61334d 100644 --- a/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS +++ b/etc/schroot/chroot.d/precise-i386-smartboard-ITZkS @@ -5,5 +5,5 @@ description=Ubuntu precise/i386 with SMART Notebook directory=/srv/schroot/precise-i386-smartboard-ITZkS groups=root,teachers,admins,sudo root-groups=root,admins,sudo -profile=desktop +profile=slxdesktop.ITZkS personality=linux32 diff --git a/etc/schroot/slxdesktop.ITZkS/copyfiles b/etc/schroot/slxdesktop.ITZkS/copyfiles new file mode 100644 index 0000000..22b2961 --- /dev/null +++ b/etc/schroot/slxdesktop.ITZkS/copyfiles @@ -0,0 +1,4 @@ +# Files to copy into the chroot from the host system. +# +# +/etc/resolv.conf diff --git a/etc/schroot/slxdesktop.ITZkS/fstab b/etc/schroot/slxdesktop.ITZkS/fstab new file mode 100644 index 0000000..481db98 --- /dev/null +++ b/etc/schroot/slxdesktop.ITZkS/fstab @@ -0,0 +1,27 @@ +# fstab: static file system information for chroots. +# Note that the mount point will be prefixed by the chroot path +# (CHROOT_PATH) +# +# +/proc /proc none rw,bind 0 0 +/sys /sys none rw,bind 0 0 +/dev /dev none rw,bind 0 0 +/dev/pts /dev/pts none rw,bind 0 0 +/home /home none rw,bind 0 0 +/tmp /tmp none rw,bind 0 0 +/srv /srv none rw,bind 0 0 +/skole /skole none rw,rbind 0 0 + +# If you use gdm3, uncomment this line to allow Xauth to work +#/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0 +# For PulseAudio and other desktop-related things +/var/lib/dbus /var/lib/dbus none rw,bind 0 0 + +# It may be desirable to have access to /run, especially if you wish +# to run additional services in the chroot. However, note that this +# may potentially cause undesirable behaviour on upgrades, such as +# killing services on the host. +#/run /run none rw,bind 0 0 +#/run/lock /run/lock none rw,bind 0 0 +#/dev/shm /dev/shm none rw,bind 0 0 +#/run/shm /run/shm none rw,bind 0 0 diff --git a/etc/schroot/slxdesktop.ITZkS/nssdatabases b/etc/schroot/slxdesktop.ITZkS/nssdatabases new file mode 100644 index 0000000..722a451 --- /dev/null +++ b/etc/schroot/slxdesktop.ITZkS/nssdatabases @@ -0,0 +1,11 @@ +# System databases to copy into the chroot from the host system. +# +# +passwd +shadow +group +gshadow +services +protocols +networks +hosts -- cgit v1.2.3