grml-scripts.git
12 years agogrml-chroot: properly handle multiple chroots [Closes: issue659] mika/grml_chroot_multi
Michael Prokop [Fri, 13 Jan 2012 00:57:46 +0000 (01:57 +0100)]
grml-chroot: properly handle multiple chroots [Closes: issue659]

Iff /tmp is available inside the chroot then use /tmp/grml-chroot
for storing information about active grml-chroot sessions.

This patch is based on work by Marc Haber and addresses the following issue
reported by him in http://bts.grml.org/grml/issue659:

| grml-chroot does not properly handle the situation when the user decides to
| chroot into the same chroot multiple times (for example, in different windows).
| When the first chroot terminates, the unconditional umount leaves the other
| chroots without mounted /proc, /dev etc.

Sadly this isn't bullet proof though.
Quoting Gebi from the according discussion on IRC (with his permission):

02:48 < gebi> you know that /tmp was to bind mounted too if you want to use X?
02:49 < gebi> not a good idea to use a bind mounted /tmp inside of the chroot for saving state which ultimatly goes back to the
              base image
02:50 < gebi> mrud: but you e.g HAVE to mount --bind /tmp chroot/tmp to use X in chroot
02:51 < gebi> so it would be no fun to use chroot/tmp as state dir for grml-chroot, because on unmounting your files would not be
              there anymore
02:51 < gebi> because hidden by the mount --bind

Thanks to Ulrich Dangel and Michael Gebetsroither for
code review and improvement suggestions.

12 years agoRelease new version 2.0.5 v2.0.5
Michael Prokop [Fri, 13 Jan 2012 00:01:50 +0000 (01:01 +0100)]
Release new version 2.0.5

12 years agogrml-hostname: improve regex for hostname matching [Closes: issue1005]
Michael Prokop [Thu, 12 Jan 2012 23:58:34 +0000 (00:58 +0100)]
grml-hostname: improve regex for hostname matching [Closes: issue1005]

Do not trust on output of hostname(1) as this might not
necessarily be what's used inside /etc/hosts. This
is supposed to work on Grml systems as well as on Debian.

While at it also use same formating WRT whitespace chars
when replacing the localhost line(s).

12 years agoRelease new version 2.0.4 v2.0.4
Michael Prokop [Mon, 9 Jan 2012 15:33:02 +0000 (16:33 +0100)]
Release new version 2.0.4

12 years agoTry to determine live-media-path and fallback to first squashfs file.
Ulrich Dangel [Tue, 27 Dec 2011 22:34:47 +0000 (23:34 +0100)]
Try to determine live-media-path and fallback to first squashfs file.

Add missing semicolon to inline perl code.

12 years agoRelease new version 0.2.3 v2.0.3
Michael Prokop [Thu, 8 Dec 2011 13:37:05 +0000 (14:37 +0100)]
Release new version 0.2.3

12 years agorun-welcome: use different beep sequence
Michael Prokop [Wed, 7 Dec 2011 12:08:44 +0000 (13:08 +0100)]
run-welcome: use different beep sequence

Don't sound too similar to avira…

12 years agoRelease new version 2.0.2 v2.0.2
Michael Prokop [Sat, 26 Nov 2011 17:10:22 +0000 (18:10 +0100)]
Release new version 2.0.2

12 years agoAdd welcome beep (disable with nobeep)
Christian Hofstaedtler [Fri, 25 Nov 2011 14:10:08 +0000 (15:10 +0100)]
Add welcome beep (disable with nobeep)

12 years agoRemove X11R6 from run-welcome PATH
Christian Hofstaedtler [Thu, 17 Nov 2011 08:50:14 +0000 (09:50 +0100)]
Remove X11R6 from run-welcome PATH

12 years agoRemove wm-ng
Christian Hofstaedtler [Tue, 15 Nov 2011 14:37:36 +0000 (15:37 +0100)]
Remove wm-ng

12 years agodrop XF86Audio{LowerVolume,Mute,RaiseVolume} scripts [Closes: issue626]
Michael Prokop [Mon, 7 Nov 2011 13:13:11 +0000 (14:13 +0100)]
drop XF86Audio{LowerVolume,Mute,RaiseVolume} scripts [Closes: issue626]

they don't work on recent hardware reliably anymore and
would require a rewrite anyway...

12 years agogrml-chroot: write /etc/debian_chroot [Closes: issue953]
Christian Hofstaedtler [Mon, 7 Nov 2011 11:56:24 +0000 (12:56 +0100)]
grml-chroot: write /etc/debian_chroot [Closes: issue953]

12 years agoRelease version 2.0.1. v2.0.1
Christian Hofstaedtler [Fri, 14 Oct 2011 15:03:18 +0000 (17:03 +0200)]
Release version 2.0.1.

12 years agogrml-runtty MUST set PATH
Christian Hofstaedtler [Fri, 14 Oct 2011 10:08:47 +0000 (12:08 +0200)]
grml-runtty MUST set PATH

12 years agoRelease new version 2.0.0. v2.0.0
Christian Hofstaedtler [Thu, 13 Oct 2011 20:36:29 +0000 (22:36 +0200)]
Release new version 2.0.0.

12 years agoRemove grml-start (which was a tiny grml-info)
Christian Hofstaedtler [Thu, 13 Oct 2011 20:35:40 +0000 (22:35 +0200)]
Remove grml-start (which was a tiny grml-info)

12 years agoUpdate Debian packaging
Christian Hofstaedtler [Thu, 13 Oct 2011 20:30:12 +0000 (22:30 +0200)]
Update Debian packaging

12 years agoRemove various scripts
Christian Hofstaedtler [Thu, 13 Oct 2011 18:53:07 +0000 (20:53 +0200)]
Remove various scripts

Removed:
align, pong, attach-screen, bincompare.pl, cicqhist, code2html, dir2html,
exifinfo, fex, find-hidden-word-text, find-text, findchanged, findwaste,
firevim, get_3ware, getsf, hgrep.sh, irclog2html-2.1.pl, say, search,
sepdate.pl, sepdate.rb, sepdate.sh, twebgal, unbleach.pl, urlgrep.awk,
usbtree, wwwis, xsay, PrintAnalyzer, alignmargins, apt-check-sigs, bt-hid,
dpkg-rebuild, grml-tpm, mkdosswapfile, ndiswrapper.sh, prepare_ramdisk.sh,
prepare_tmpfs.sh, suspenduser.sh, suspenduser_gui.sh, swspeak-setup

12 years agoDrop grml-postfix
Christian Hofstaedtler [Thu, 13 Oct 2011 17:52:43 +0000 (19:52 +0200)]
Drop grml-postfix

12 years agoRemove some unneeded Suggests
Christian Hofstaedtler [Thu, 13 Oct 2011 17:52:16 +0000 (19:52 +0200)]
Remove some unneeded Suggests

12 years agofix typo in wm-ng
Christian Hofstaedtler [Thu, 13 Oct 2011 17:48:47 +0000 (19:48 +0200)]
fix typo in wm-ng

12 years agoModify soundtest to use ALSA's speaker-test
Christian Hofstaedtler [Wed, 12 Oct 2011 21:04:40 +0000 (23:04 +0200)]
Modify soundtest to use ALSA's speaker-test

This way we no longer need to distribute grml.ogg!

12 years agoRelease new version 1.4.7 v1.4.7
Christian Hofstaedtler [Mon, 26 Sep 2011 21:48:32 +0000 (23:48 +0200)]
Release new version 1.4.7

12 years agoAdd description of lodgeit to grml-scripts(1)
Christian Hofstaedtler [Mon, 26 Sep 2011 21:46:13 +0000 (23:46 +0200)]
Add description of lodgeit to grml-scripts(1)

12 years agoFix spelling error in grml-scripts.1
Christian Hofstaedtler [Mon, 26 Sep 2011 21:42:20 +0000 (23:42 +0200)]
Fix spelling error in grml-scripts.1

Found by lintian.

12 years agoFix lintian W: debian-rules-missing-recommended-target
Christian Hofstaedtler [Mon, 26 Sep 2011 21:39:53 +0000 (23:39 +0200)]
Fix lintian W: debian-rules-missing-recommended-target

12 years agoRemove gsuggest
Christian Hofstaedtler [Mon, 26 Sep 2011 21:23:59 +0000 (23:23 +0200)]
Remove gsuggest

As the required Perl module hasn't been updated for some time, this
script was broken anyway.

12 years agoRemove Conflicts grml-etc-core version from 2006
Christian Hofstaedtler [Mon, 26 Sep 2011 21:12:36 +0000 (23:12 +0200)]
Remove Conflicts grml-etc-core version from 2006

This is so old, I'd say we don't need to support upgrades from that.

12 years agoRemove version from grml-autoconfig Suggests
Christian Hofstaedtler [Mon, 26 Sep 2011 21:12:20 +0000 (23:12 +0200)]
Remove version from grml-autoconfig Suggests

12 years agoMove Conflicts grml-autoconfig << 0.9.19 to Breaks
Christian Hofstaedtler [Mon, 26 Sep 2011 21:09:56 +0000 (23:09 +0200)]
Move Conflicts grml-autoconfig << 0.9.19 to Breaks

12 years agoRemove Conflicts on purely-virtual scanmodem
Christian Hofstaedtler [Mon, 26 Sep 2011 21:08:58 +0000 (23:08 +0200)]
Remove Conflicts on purely-virtual scanmodem

12 years agoRun our TTYs with our own tty runner
Christian Hofstaedtler [Sun, 21 Aug 2011 15:36:28 +0000 (17:36 +0200)]
Run our TTYs with our own tty runner

This should fix most of our environment problems. It's a bit saddening
that current Linux still tries to emulate typewriters, and we have to
deal with this shit. Therefore we deal with it like in ancient times.

12 years agoAdd debian/control headers Origin, Bugs
Christian Hofstaedtler [Wed, 27 Jul 2011 19:30:29 +0000 (21:30 +0200)]
Add debian/control headers Origin, Bugs

12 years agoRelease new version 1.4.6. v1.4.6
Michael Prokop [Wed, 6 Jul 2011 23:53:39 +0000 (01:53 +0200)]
Release new version 1.4.6.

12 years agowm-ng: make sure fluxbox is present, otherwise fall back to x-window-manager or error...
Michael Prokop [Wed, 6 Jul 2011 23:51:31 +0000 (01:51 +0200)]
wm-ng: make sure fluxbox is present, otherwise fall back to x-window-manager or error out.

If fluxbox is not installed but wm-ng is present
then make sure wm-ng tries to fall back to
the configured x-window-manager, unless it
points back to fluxbox or wm-ng again.
Otherwise error out with an according error message.

12 years agoAdd lodgeit to grml-scripts
Ulrich Dangel [Fri, 24 Jun 2011 21:47:33 +0000 (23:47 +0200)]
Add lodgeit to grml-scripts

12 years agoBump Standards-Version to 3.9.2.
Michael Prokop [Mon, 6 Jun 2011 21:50:21 +0000 (23:50 +0200)]
Bump Standards-Version to 3.9.2.

Signed-off-by: Michael Prokop <mika@grml.org>
12 years agoRelease new version 1.4.5 v1.4.5
Christian Hofstaedtler [Sun, 29 May 2011 12:32:32 +0000 (14:32 +0200)]
Release new version 1.4.5

12 years agoRemove cpufreq-detect.sh.
Christian Hofstaedtler [Tue, 24 May 2011 19:33:35 +0000 (21:33 +0200)]
Remove cpufreq-detect.sh.

grml-autoconfig no longer relies on it.

12 years agoAlways execute grml-quickconfig if available.
Ulrich Dangel [Tue, 24 May 2011 16:57:57 +0000 (18:57 +0200)]
Always execute grml-quickconfig if available.

Remove the test for grml-small as grml-quickconfig only displays the
available commands anyway.

12 years agoRelease new version 1.4.4. v1.4.4
Christian Hofstaedtler [Mon, 9 May 2011 21:12:31 +0000 (23:12 +0200)]
Release new version 1.4.4.

12 years agoenable powernow-k8 for more AMD CPUs
Christian Hofstaedtler [Sat, 7 May 2011 09:16:09 +0000 (11:16 +0200)]
enable powernow-k8 for more AMD CPUs

13 years agoRelease new version 1.4.3. v1.4.3
Christian Hofstaedtler [Tue, 19 Apr 2011 13:34:17 +0000 (15:34 +0200)]
Release new version 1.4.3.

13 years agoupdate lintian overrides for newer lintian version
Christian Hofstaedtler [Tue, 19 Apr 2011 13:21:50 +0000 (15:21 +0200)]
update lintian overrides for newer lintian version

13 years agoremove perl shebang hack from wwwis
Christian Hofstaedtler [Tue, 19 Apr 2011 13:21:08 +0000 (15:21 +0200)]
remove perl shebang hack from wwwis

perl is always in /usr/bin/perl on Debian.

13 years agoremove tinyp2p
Christian Hofstaedtler [Tue, 19 Apr 2011 13:09:45 +0000 (15:09 +0200)]
remove tinyp2p

Undocumented, unmaintained, and probably didn't see any users in Grml.

13 years agovarious man page fixes
Christian Hofstaedtler [Tue, 19 Apr 2011 13:09:22 +0000 (15:09 +0200)]
various man page fixes

13 years agoupdate package description
Christian Hofstaedtler [Tue, 19 Apr 2011 13:09:10 +0000 (15:09 +0200)]
update package description

13 years agoMerge remote branch 'grml-scripts-split/split/grml-scripts'
Ulrich Dangel [Mon, 18 Apr 2011 21:23:59 +0000 (23:23 +0200)]
Merge remote branch 'grml-scripts-split/split/grml-scripts'

Conflicts:
debian/changelog
debian/control
usr_bin/grml-screen

13 years agoRelease new version 1.4.2. v1.4.2
Michael Prokop [Mon, 28 Feb 2011 11:33:28 +0000 (12:33 +0100)]
Release new version 1.4.2.

13 years agogrml-screen/grml-init-screen: no longer use vt-is-UTF8 but instead default to UTF...
Michael Prokop [Mon, 28 Feb 2011 11:19:51 +0000 (12:19 +0100)]
grml-screen/grml-init-screen: no longer use vt-is-UTF8 but instead default to UTF-8. [Closes: issue959]

Nowadays we're using UTF-8 anyway and because of the
console-tools -> kbd transition the vt-is-UTF8 binary is no
longer available let's get rid of this additional check.

13 years agoRelease new version 1.4.1. v1.4.1
Michael Prokop [Mon, 21 Feb 2011 12:27:00 +0000 (13:27 +0100)]
Release new version 1.4.1.

13 years agoMove lzop from Depends to Suggests.
Michael Prokop [Mon, 21 Feb 2011 12:25:10 +0000 (13:25 +0100)]
Move lzop from Depends to Suggests.

Currently there's a transition from lzop to lzo2 going on in Debian.
If we depend on lzop it breaks our daily builds.

13 years agoOnly clean compile dir if it exists
Sebastian Boehm [Tue, 28 Dec 2010 13:36:53 +0000 (14:36 +0100)]
Only clean compile dir if it exists

13 years agoAdd debian/source/format
Sebastian Boehm [Thu, 23 Dec 2010 01:06:02 +0000 (02:06 +0100)]
Add debian/source/format

13 years agoAdd automatically generated files to .gitignore
Sebastian Boehm [Thu, 23 Dec 2010 01:05:05 +0000 (02:05 +0100)]
Add automatically generated files to .gitignore

13 years agoAdd pointer to grml-scripts-core to description
Sebastian Boehm [Thu, 23 Dec 2010 01:12:00 +0000 (02:12 +0100)]
Add pointer to grml-scripts-core to description

13 years agoSplit grml-scripts into grml-scripts and grml-scripts-core
Sebastian Boehm [Thu, 23 Dec 2010 00:37:12 +0000 (01:37 +0100)]
Split grml-scripts into grml-scripts and grml-scripts-core

Move some core packages from grml-scripts to grml-scripts-core:
 - cpu-screen and cpu-screen.sh
 - ip-screen
 - lesspipe.sh
 - code2color
 - grml-screen

13 years agoRelease new version 1.4.0. v1.4.0
Michael Prokop [Mon, 8 Nov 2010 13:51:06 +0000 (14:51 +0100)]
Release new version 1.4.0.

13 years agoBump Standards-Version to 3.9.1.
Michael Prokop [Mon, 8 Nov 2010 14:28:47 +0000 (15:28 +0100)]
Bump Standards-Version to 3.9.1.

13 years agogrml-screen: output errors to stderr
Michael Gebetsroither [Mon, 8 Nov 2010 13:37:38 +0000 (14:37 +0100)]
grml-screen: output errors to stderr

13 years agoadd depends to lockfile-progs for grml-screen racecondition fix
Michael Gebetsroither [Sun, 7 Nov 2010 08:38:56 +0000 (09:38 +0100)]
add depends to lockfile-progs for grml-screen racecondition fix

13 years agogrml-screen: internal state cleanup for racecondition fix
Michael Gebetsroither [Sun, 7 Nov 2010 08:37:55 +0000 (09:37 +0100)]
grml-screen: internal state cleanup for racecondition fix

13 years agogrml-screen: move lockfile to /var/lock where it belongs
Michael Gebetsroither [Sun, 7 Nov 2010 08:37:29 +0000 (09:37 +0100)]
grml-screen: move lockfile to /var/lock where it belongs

13 years agogrml-screen: do not get confused by externally created pidfiles
Michael Gebetsroither [Sat, 6 Nov 2010 19:17:12 +0000 (20:17 +0100)]
grml-screen: do not get confused by externally created pidfiles

13 years agogrml-screen: fix for screen race-conditions on boot [Closes: issue921]
Michael Gebetsroither [Sat, 6 Nov 2010 19:03:58 +0000 (20:03 +0100)]
grml-screen: fix for screen race-conditions on boot [Closes: issue921]

13 years agogrml-mutt: provide example settings for smtp_{url,pass}.
Michael Prokop [Wed, 9 Jun 2010 10:40:52 +0000 (12:40 +0200)]
grml-mutt: provide example settings for smtp_{url,pass}.

Thanks to Michel Isard for suggestion.

13 years agoRelease version 1.3.2. v1.3.2
Michael Prokop [Thu, 27 May 2010 22:47:55 +0000 (00:47 +0200)]
Release version 1.3.2.

13 years agogrml-chroot: exit with according exit code.
Michael Prokop [Tue, 25 May 2010 14:55:14 +0000 (16:55 +0200)]
grml-chroot: exit with according exit code.

13 years agoUpdate changelog.
Michael Prokop [Wed, 5 May 2010 13:58:10 +0000 (15:58 +0200)]
Update changelog.

13 years agoUpdate iimage version to 38.
Michael Prokop [Wed, 5 May 2010 13:56:39 +0000 (15:56 +0200)]
Update iimage version to 38.

iimage v38 uses convert with -resize instead of -geometry, addressing an annnoying resizing issue.

14 years agoFix tabs inside caps-ctrl. v1.3.1
Michael Prokop [Mon, 29 Mar 2010 07:00:19 +0000 (09:00 +0200)]
Fix tabs inside caps-ctrl.

14 years agoUpdate changelog for new release. v1.3.0
Michael Prokop [Wed, 24 Mar 2010 00:16:10 +0000 (01:16 +0100)]
Update changelog for new release.

14 years agogrml-lock: avoid shell syntax warning if gdialog/zenity aren't available.
Michael Prokop [Mon, 22 Mar 2010 22:31:48 +0000 (23:31 +0100)]
grml-lock: avoid shell syntax warning if gdialog/zenity aren't available.

14 years agoUpdate caps-ctrl (thx, wuehlmaus).
Michael Prokop [Sun, 21 Mar 2010 22:24:56 +0000 (23:24 +0100)]
Update caps-ctrl (thx, wuehlmaus).

14 years agogrml-hostname: address xauth issue. v1.2.10
Michael Prokop [Mon, 1 Mar 2010 11:34:41 +0000 (12:34 +0100)]
grml-hostname: address xauth issue.

14 years agoDrop deprecate package grml-scanpartitions from Suggests.
Michael Prokop [Mon, 1 Mar 2010 02:17:31 +0000 (03:17 +0100)]
Drop deprecate package grml-scanpartitions from Suggests.

14 years agoUpdate changelog for release. v1.2.9
Michael Prokop [Sun, 28 Feb 2010 22:28:29 +0000 (23:28 +0100)]
Update changelog for release.

14 years agocaps-ctrl: use backticks, drop colors module.
Michael Prokop [Sun, 28 Feb 2010 01:14:44 +0000 (02:14 +0100)]
caps-ctrl: use backticks, drop colors module.

14 years agozsh-login: do not disable grml-quickconfig for serial console v1.2.8
Michael Prokop [Sat, 27 Feb 2010 01:27:57 +0000 (02:27 +0100)]
zsh-login: do not disable grml-quickconfig for serial console

14 years agogrml-setlang: do not set LC_CTYPE any longer.
Michael Prokop [Fri, 26 Feb 2010 20:27:52 +0000 (21:27 +0100)]
grml-setlang: do not set LC_CTYPE any longer.

14 years agogrml-info: improve support for customisation v1.2.7
Michael Prokop [Sat, 20 Feb 2010 23:32:41 +0000 (00:32 +0100)]
grml-info: improve support for customisation

14 years agoDrop deprecated override entries.
Michael Prokop [Fri, 19 Feb 2010 22:34:25 +0000 (23:34 +0100)]
Drop deprecated override entries.

14 years agoFix typo in copyright, fix hyphen-used-as-minus-sign in manpages.
Michael Prokop [Fri, 19 Feb 2010 22:34:00 +0000 (23:34 +0100)]
Fix typo in copyright, fix hyphen-used-as-minus-sign in manpages.

14 years agogrml-lock: add support for graphical version via gdialog/zenity. v1.2.6
Michael Prokop [Fri, 19 Feb 2010 22:25:22 +0000 (23:25 +0100)]
grml-lock: add support for graphical version via gdialog/zenity.

14 years agogrml-lock: use vlock also for X session. v1.2.5
Michael Prokop [Fri, 19 Feb 2010 16:02:06 +0000 (17:02 +0100)]
grml-lock: use vlock also for X session.

14 years agoInstall grml-setservices manpages. v1.2.4
Michael Prokop [Tue, 16 Feb 2010 01:21:31 +0000 (02:21 +0100)]
Install grml-setservices manpages.

14 years agoSlightly rework zsh-login.
Michael Prokop [Tue, 16 Feb 2010 01:17:41 +0000 (02:17 +0100)]
Slightly rework zsh-login.

14 years agoBump Standards-Version to 3.8.4 v1.2.3
Michael Prokop [Mon, 15 Feb 2010 00:32:02 +0000 (01:32 +0100)]
Bump Standards-Version to 3.8.4

14 years agoRelease new version 1.2.3.
Michael Prokop [Mon, 15 Feb 2010 00:29:00 +0000 (01:29 +0100)]
Release new version 1.2.3.

14 years agoSuggest libwebservice-google-suggest-perl for gsuggest.pl
Ulrich Dangel [Sat, 30 Jan 2010 14:15:27 +0000 (15:15 +0100)]
Suggest libwebservice-google-suggest-perl for gsuggest.pl

14 years agoMoved grml-quickconfig to extra debian package.
Ulrich Dangel [Sat, 30 Jan 2010 14:03:26 +0000 (15:03 +0100)]
Moved grml-quickconfig to extra debian package.

14 years agoUse correct name in manpage for grml-exec-wrapper
Ulrich Dangel [Sat, 30 Jan 2010 14:01:04 +0000 (15:01 +0100)]
Use correct name in manpage for grml-exec-wrapper

14 years agoUpdate changelog for release. v1.2.2
Michael Prokop [Sun, 10 Jan 2010 17:31:11 +0000 (18:31 +0100)]
Update changelog for release.

14 years agoUpdate changelog.
Michael Prokop [Sun, 10 Jan 2010 15:14:00 +0000 (16:14 +0100)]
Update changelog.

14 years agoRemove deprecated bt-audio script.
Michael Prokop [Sun, 10 Jan 2010 15:13:24 +0000 (16:13 +0100)]
Remove deprecated bt-audio script.

14 years agoUpdate changelog for release 1.2.1. v1.2.1
Michael Prokop [Fri, 27 Nov 2009 11:36:59 +0000 (12:36 +0100)]
Update changelog for release 1.2.1.

14 years agoiso-term: invoke xterm setting ZSH_NO_DEFAULT_LOCALE=1 (see issue706).
Michael Prokop [Fri, 27 Nov 2009 11:34:31 +0000 (12:34 +0100)]
iso-term: invoke xterm setting ZSH_NO_DEFAULT_LOCALE=1 (see issue706).

14 years agoRequire xlock in grml-lock if DISPLAY is set. [Closes: issue768]
Ulrich Dangel [Fri, 6 Nov 2009 18:19:28 +0000 (19:19 +0100)]
Require xlock in grml-lock if DISPLAY is set. [Closes: issue768]