5 years agoFix generation of startx helper script
Darshaka Pathirana [Fri, 5 May 2017 14:20:29 +0000 (16:20 +0200)]
Fix generation of startx helper script

`/etc/init.d/startx` is created dynamically on startup.  The $ of ${TTY}
was not escaped so that when generating the helper script the variable
was evaluated which lead to an empty output.

The script fixes permission problems of /dev/ttyX when grml-x is started
via sudo.

Usually /dev/ttyX is owned by root:tty and has 0620 permission but
grml-runtty changes ownership to root:root to overcome other problems.
(It is not clear if these problems are still present and if we still
have to do this but for now we provide this helper script).

${WINDOWMANAGER} is evaluated on generation and can be (and usually is)
empty. But when starting grml-x with the parameter "" this leads to an
immediate exit of grml-x. Removed the surrounding "".

Closes grml/grml#1

5 years agoRelease new version 0.15.3 v0.15.3
Michael Prokop [Fri, 5 May 2017 08:51:21 +0000 (10:51 +0200)]
Release new version 0.15.3

5 years agoMake startx boot option work with systemd
Darshaka Pathirana [Mon, 24 Apr 2017 00:07:08 +0000 (02:07 +0200)]
Make startx boot option work with systemd

The desired behavior (with systemd and the boot option "startx") is to start
the X window system automatically.

This is achieved by getty@tty6.service which starts grml-x as user "grml" on
vt6/tty6 and switches back to vt1/tty1 after exit. (This alone could be
achieved with systemd-unit option Type=oneshot and Restart=no). But when
switiching back to vt6/tty6 (again) we would like to start a zsh (for user
"grml") and restart the zsh if exited. That means that grml-x should only be
started on the very first run and the zsh on every other.

We could not figure out how to change the systemd-unit option "Type"
dynamically, so we kept it on "idle" which means that the "actual execution of
the service binary is delayed until all active jobs are dispatched". That's why
we need to switch to vt6/tty6 (via grml-autoconfig) iff the boot option
"startx" is given.

We also do not know yet how to dynamically change the behavior of the
systemd-unit in a safe way. Rewriting the unit-file (override.conf) after
grml-x exits (i.e. with ExecStopPost) doesn't seem to work reliably (especially
when calling "systemctl daemon-reload" in it). That's why we use a state-file
(/var/run/grml_startx.started) to start up grml-x on the first call and the zsh

This also means that grml-x is started automatically when switching to vt6/tty6
manually (when no "startx" boot option was given) once and the zsh on the
following calls.

Closes grml/grml#1

5 years agoAdjust mdadm-raid + lvm2 messages and service handling for usage with systemd
Michael Prokop [Fri, 21 Apr 2017 12:10:10 +0000 (14:10 +0200)]
Adjust mdadm-raid + lvm2 messages and service handling for usage with systemd

The mdadm-raid unit is masked under systemd, instead it's necessary
to start mdmonitor.

Also lvm2 is masked and needs to be activated via lvm2-lvmetad instead.

5 years agoRelease new version 0.15.2 v0.15.2
Michael Prokop [Thu, 20 Apr 2017 20:24:53 +0000 (22:24 +0200)]
Release new version 0.15.2

5 years agoProvide information about whether Secure Boot is enabled or not
Michael Prokop [Thu, 20 Apr 2017 10:09:55 +0000 (12:09 +0200)]
Provide information about whether Secure Boot is enabled or not

5 years agoRe-enable GPM service startup
Michael Prokop [Thu, 20 Apr 2017 10:12:12 +0000 (12:12 +0200)]
Re-enable GPM service startup

It's still needed, both for file-rc and systemd systems.

5 years agoRelease new version 0.15.1 v0.15.1
Michael Prokop [Fri, 24 Feb 2017 12:46:31 +0000 (13:46 +0100)]
Release new version 0.15.1

5 years agosystemd/grml-autoconfig.service: switch to
Michael Prokop [Fri, 24 Feb 2017 12:30:07 +0000 (13:30 +0100)]
systemd/grml-autoconfig.service: switch to

We define our own systemd target, so enable grml-autoconfig
in the according target.

Closes grml/release-planning#2 @ GH

5 years agoUse https for Homepage + Vcs-Browser entries
Michael Prokop [Fri, 24 Feb 2017 12:18:01 +0000 (13:18 +0100)]
Use https for Homepage + Vcs-Browser entries

5 years agoNo longer depend on acpid, skip acpi(d) specific stuff under systemd
Michael Prokop [Fri, 24 Feb 2017 10:16:26 +0000 (11:16 +0100)]
No longer depend on acpid, skip acpi(d) specific stuff under systemd

systemd provides all the relevant bits via logind, so let's
all our acpi magic when running under systemd.

Closes grml/release-planning#4 @ GH

5 years agoRelease new version 0.15.0 v0.15.0
Michael Prokop [Fri, 13 Jan 2017 13:42:39 +0000 (14:42 +0100)]
Release new version 0.15.0

5 years agoBuild-Depend on debhlper >= 9
Michael Prokop [Fri, 13 Jan 2017 13:42:15 +0000 (14:42 +0100)]
Build-Depend on debhlper >= 9

5 years agoBump debian/compat to 9
Michael Prokop [Fri, 13 Jan 2017 13:41:55 +0000 (14:41 +0100)]
Bump debian/compat to 9

5 years agoBump Standards-Version to 3.9.8
Michael Prokop [Fri, 13 Jan 2017 13:41:43 +0000 (14:41 +0100)]
Bump Standards-Version to 3.9.8

5 years agoDrop grml_nocolors + grml_colors magic, instead rely on lsb-functions
Michael Prokop [Fri, 13 Jan 2017 12:56:19 +0000 (13:56 +0100)]
Drop grml_nocolors + grml_colors magic, instead rely on lsb-functions

grml-etc-core git commit 2ee956e includes color handling
inside lsb-functions, simplify its usage inside grml-autoconfig's
autoconfig.functions therefore.

5 years agoSource /etc/grml_nocolors with nocolor boot option mika/systemd
Michael Prokop [Fri, 13 Jan 2017 12:37:50 +0000 (13:37 +0100)]
Source /etc/grml_nocolors with nocolor boot option

Otherwise we still end up with colors in the output because
$NORMAL isn't defined properly.

5 years agoRely on /proc/1/comm to identify running systemd
Michael Prokop [Fri, 13 Jan 2017 12:36:20 +0000 (13:36 +0100)]
Rely on /proc/1/comm to identify running systemd

/proc/[pid]/comm is available since Linux 2.6.33 so
we should be able to rely on that.

Inside /proc/1/cmdline might end up additional boot options,
e.g. when booting with "nocolor" boot option it ends up as
"/sbin/initnocolor" and then our check breaks.

5 years agoIntroduce service_wrapper to avoid direct /etc/init.d calls
Michael Prokop [Fri, 30 Dec 2016 23:02:28 +0000 (00:02 +0100)]
Introduce service_wrapper to avoid direct /etc/init.d calls

While at it drop support for any other syslog daemon than rsyslog.
rsyslog is the package we ship via GRMLBASE anyway.

Known issues:

* /etc/init.d/loadcpufreq depends on systemd-sysv-generator (which
  we disable via grml-live to avoid automatic LSB script startups)
* startx boot option doesn't work yet

5 years agoEnable acpid.socket if we're running under systemd
Michael Prokop [Fri, 30 Dec 2016 22:36:05 +0000 (23:36 +0100)]
Enable acpid.socket if we're running under systemd

5 years ago/etc/default/rcS no longer exists in recent initscripts versions
Michael Prokop [Fri, 30 Dec 2016 22:14:01 +0000 (23:14 +0100)]
/etc/default/rcS no longer exists in recent initscripts versions

Instead rely on /etc/adjtime for UTC vs localtime handling.

5 years agoInitial systemd support
Michael Prokop [Tue, 12 Jan 2016 10:46:06 +0000 (11:46 +0100)]
Initial systemd support

5 years agoDrop deprecated features
Michael Prokop [Fri, 4 Nov 2016 14:42:46 +0000 (15:42 +0100)]
Drop deprecated features

Those are all very outdated functions which either have
no purpose on nowadays systems or shouldn't have any users

* config_configfs
* config_distcc
* config_fast
* config_fix_passwd
* config_fwtimeout
* config_fwtimeout
* config_ipv6
* config_ld_mod
* config_modem
* config_modules
* config_mouse
* config_small
* config_tohd
* config_wondershaper
* fix_unionfs

7 years agoRelease new version 0.14.0 v0.14.0
Michael Prokop [Thu, 11 Dec 2014 17:04:37 +0000 (18:04 +0100)]
Release new version 0.14.0

7 years agoconfig_cpu: set ondemand governor only if available
Michael Prokop [Thu, 11 Dec 2014 10:29:31 +0000 (11:29 +0100)]
config_cpu: set ondemand governor only if available

Nowadays we enable and use the ondemand governor by default in
our kernel configuration. More recent systems providing Intel
Haswell CPUs (e.g. the i7-3520M CPU as present in the Lenovo X230
laptops as well as the CPU present in IBM flex chassis) use
pstates/intel_pstate and disable the ondemand governor at all, so
only performance and powersave are available (unless you set
intel_pstate=disable at boot time).

Also see
Thanks to Yves-Alexis Perez for the pointer.

8 years agoRelease new version 0.13.3 v0.13.3
Michael Prokop [Mon, 27 Oct 2014 23:46:34 +0000 (00:46 +0100)]
Release new version 0.13.3

8 years agoSupport getfile.retries=... boot option
Michael Prokop [Mon, 27 Oct 2014 22:29:36 +0000 (23:29 +0100)]
Support getfile.retries=... boot option

The netscript=... and netscript=... boot options might fail to
download the provided argument during bootup in certain
environments. Retrieving the IP address via DHCP might take just
too long (hello Spanning Tree Protocol!), so the last run of the
netscript retrieval is executed without having the network
configuration available yet.  Explicitly setting the number of
retries via getfile.retries=... to something higher than the
default (being 10) allows the user to work around this issue.

Thanks: Sipwise GmbH for sponsoring my development time
Thanks: Christian Hofstaedtler for reviewing

8 years agoBump Standards-Version to 3.9.6
Michael Prokop [Mon, 27 Oct 2014 21:05:58 +0000 (22:05 +0100)]
Bump Standards-Version to 3.9.6

8 years agoRelease new version 0.13.2 v0.13.2
Michael Prokop [Sat, 19 Apr 2014 21:27:19 +0000 (23:27 +0200)]
Release new version 0.13.2

8 years agoCode cleanup, drop config_dma + check_partitions [Closes: issue1305]
Michael Prokop [Sat, 19 Apr 2014 21:25:37 +0000 (23:25 +0200)]
Code cleanup, drop config_dma + check_partitions [Closes: issue1305]

This code shouldn't be needed since ages any longer, let's
try to get rid of it.

8 years agoRelease new version 0.13.1 v0.13.1
Michael Prokop [Wed, 2 Apr 2014 09:46:14 +0000 (11:46 +0200)]
Release new version 0.13.1

8 years agoDrop checks for "forensic" boot option
Michael Prokop [Wed, 2 Apr 2014 09:30:09 +0000 (11:30 +0200)]
Drop checks for "forensic" boot option

There's no need for checking for "forensic" boot option any longer,
since we can control all the boot options separately and the "forensic"
boot menu entry sets all the according boot options on its own
(see git commit 61d5ddd8de04 in grml-live.git).

8 years agoRelease new version 0.13.0 v0.13.0
Michael Prokop [Thu, 20 Mar 2014 15:12:50 +0000 (16:12 +0100)]
Release new version 0.13.0

8 years agoRun wrap-and-sort -a on debian directory
Michael Prokop [Thu, 20 Mar 2014 15:12:24 +0000 (16:12 +0100)]
Run wrap-and-sort -a on debian directory

8 years agoBump Standards-Version to 3.9.5
Michael Prokop [Thu, 20 Mar 2014 15:12:09 +0000 (16:12 +0100)]
Bump Standards-Version to 3.9.5

8 years agoAdded some extra information about DCS directory on a live medium
Andreas "Jimmy" Gredler [Tue, 18 Mar 2014 19:48:45 +0000 (12:48 -0700)]
Added some extra information about DCS directory on a live medium

8 years agoDrop code related to scripts handling on DCSDIR, breaking it for GRMLCFG labeled...
Andreas "Jimmy" Gredler [Sat, 15 Mar 2014 17:13:47 +0000 (10:13 -0700)]
Drop code related to scripts handling on DCSDIR, breaking it for GRMLCFG labeled devices

Removed again an if clause in the function which finds DCSDIR. It was
redundant as this case is handled before and it broke the use case of
running scripts on a GRMLCFG labeled device. Because it changed to
$DCSDIR instead of $DCSDIR/scripts.

8 years agoDrop .sp workaround, fix some typos in manpages and remove duplicated text
Andreas "Jimmy" Gredler [Sat, 15 Mar 2014 08:19:03 +0000 (01:19 -0700)]
Drop .sp workaround, fix some typos in manpages and remove duplicated text

Manpage was including the text .5v at the end of some paragraphs. This
was caused by an old hack in the Makefile which removed the text .sp,
which was accidently added to the end of some paragraphs. (sed -i
's/\.sp//') Looks like this hack is not needed any longer, when
disabling it the .5v disappears as well (which might have been the text
".sp 5v")

8 years agoRelease new version 0.12.1 v0.12.1
Michael Prokop [Tue, 25 Feb 2014 10:07:43 +0000 (11:07 +0100)]
Release new version 0.12.1

8 years agovbautomation takes shared folder name without prefix + improve timing
Michael Prokop [Tue, 25 Feb 2014 10:04:29 +0000 (11:04 +0100)]
vbautomation takes shared folder name without prefix + improve timing

Use VBoxControl to check for available shared folders.
By default the VBoxService starts up but it takes some time until
the automount folder is available, so give it some further time.

8 years agoRelease new version 0.12.0 v0.12.0
Michael Prokop [Mon, 24 Feb 2014 14:48:21 +0000 (15:48 +0100)]
Release new version 0.12.0

8 years agoSupport automatic execution of scripts on VirtualBox shared folders
Michael Prokop [Mon, 24 Feb 2014 14:24:22 +0000 (15:24 +0100)]
Support automatic execution of scripts on VirtualBox shared folders

If an executable /media/sf_automation/$distri is present (where
$distri defaults to "grml" if unset) it is automatically executed
during bootup. The '/media/sf_automation' directory corresponds
to a shared folder named "automation" inside VirtualBox (which
has the auto-mount option set inside the VirtualBox configuration
to be useful).

The feature can be disabled via boot option 'novbautomation' and
the path to the automation directory can be controlled via boot
option 'vbautomation' (e.g. 'vbautomation='/media/sf_foobar', so
don't forget the "/media/sf_").

This feature provides a nice way to automate things during bootup
inside VirtualBox without having to adjust any boot options,
while still being able to control the behaviour from the host
system via setup of shared folders.

8 years agoRelease new version 0.11.5 v0.11.5
Michael Prokop [Fri, 7 Feb 2014 07:58:56 +0000 (08:58 +0100)]
Release new version 0.11.5

8 years agoconfig_debs(): fix typo (s/Tring/Trying/)
Michael Prokop [Fri, 7 Feb 2014 07:58:17 +0000 (08:58 +0100)]
config_debs(): fix typo (s/Tring/Trying/)

8 years agoRelease new version 0.11.4 v0.11.4
Michael Prokop [Wed, 5 Feb 2014 12:14:14 +0000 (13:14 +0100)]
Release new version 0.11.4

8 years agoFix keyboard entries for lang=ch
Michael Prokop [Wed, 5 Feb 2014 12:09:40 +0000 (13:09 +0100)]
Fix keyboard entries for lang=ch

'setxkbmap de_CH' doesn't work, so go for 'ch'

8 years agoRelease new version 0.11.3 v0.11.3
Michael Prokop [Tue, 4 Feb 2014 12:53:17 +0000 (13:53 +0100)]
Release new version 0.11.3

8 years agoconfig_mixer: ignore "Console" devices for amixer
Michael Prokop [Tue, 4 Feb 2014 11:15:55 +0000 (12:15 +0100)]
config_mixer: ignore "Console" devices for amixer

Strings like 'Console,0' indicate a device where "amixer ... unmute"
results in:

| amixer: Invalid command!

So ignore such devices.

8 years agoRelease new version 0.11.2 v0.11.2
Michael Prokop [Mon, 3 Feb 2014 15:20:14 +0000 (16:20 +0100)]
Release new version 0.11.2

8 years agoReport result of scripts execution
Michael Prokop [Mon, 6 Jan 2014 14:55:26 +0000 (15:55 +0100)]
Report result of scripts execution

9 years agoRelease new version 0.11.1 v0.11.1
Michael Prokop [Thu, 26 Sep 2013 19:56:44 +0000 (21:56 +0200)]
Release new version 0.11.1

9 years agoGenerate symlink /etc/mtab pointing to /proc/mounts [Closes: issue1277]
Michael Prokop [Thu, 26 Sep 2013 19:12:32 +0000 (21:12 +0200)]
Generate symlink /etc/mtab pointing to /proc/mounts [Closes: issue1277]

We don't have /etc/mtab on our rootfs by default and Debian's
initscript package provides a way to generate the /etc/mtab
symlink via its /etc/init.d/ init script. We don't
use this init script in Grml's live system though (e.g. to not
enable swap partitions by default).

Also /etc/init.d/ creates an *empty* /etc/mtab file
on bootup if /etc/mtab doesn't exist yet. Last but not least
live-boot's /lib/live/boot/ as well as brltty's
/scripts/init-premount/brltty [see #724695] do some further hacks
- so let's just force generation of symlink /etc/mtab pointing to
/proc/mounts to make sure the system is in a sane state.

While at it drop deprecated /live/cow related code for /etc/mtab

Thanks: Michael Biebl for the initial hint
regarding the "df: no file systems processed" issue

9 years agoRelease new version 0.11.0 v0.11.0
Michael Prokop [Mon, 10 Jun 2013 14:40:02 +0000 (16:40 +0200)]
Release new version 0.11.0

9 years agosupport new boot option encpasswd to provide hashed password, refactor passwd/ssh...
Michael Prokop [Mon, 10 Jun 2013 14:33:30 +0000 (16:33 +0200)]
support new boot option encpasswd to provide hashed password, refactor passwd/ssh code accordingly

Share code and features between passwd, ssh and encpasswd boot options.
To match the behaviour with the ssh boot option the passwd boot option
now also sets the password for user root - and not only for user 'grml'.

See for sample hashes.

Thanks: Peter Palfrader for the idea

9 years agoSet UTC as default time zone [Closes: issue1261]
Michael Prokop [Sun, 2 Jun 2013 10:16:46 +0000 (12:16 +0200)]
Set UTC as default time zone [Closes: issue1261]

Using CET/CEST as standard timezone is bad for a system targeted
for  international users, so let's choose UTC instead.

9 years agoDrop all floppy related code and documentation
Michael Prokop [Mon, 25 Mar 2013 11:12:03 +0000 (12:12 +0100)]
Drop all floppy related code and documentation

Accessing /dev/fd0 is still causing some headaches and
people shouldn't be forced to boot with 'noautoconfig'.
Floppy disks shouldn't really matter in 2013 any longer,
so let's get just rid of it.

9 years agoRelease new version 0.10.3 v0.10.3
Michael Prokop [Mon, 25 Mar 2013 09:12:24 +0000 (10:12 +0100)]
Release new version 0.10.3

9 years agosave-config: fix syntax error [Closes: issue1247]
Michael Prokop [Mon, 25 Mar 2013 09:11:15 +0000 (10:11 +0100)]
save-config: fix syntax error [Closes: issue1247]

Thanks: Falko Mach

9 years agoRelease new version 0.10.2 v0.10.2
Michael Prokop [Thu, 21 Feb 2013 10:02:14 +0000 (11:02 +0100)]
Release new version 0.10.2

9 years agoRun blkid under timeout command as well when accessing floppy device
Michael Prokop [Thu, 21 Feb 2013 09:57:01 +0000 (10:57 +0100)]
Run blkid under timeout command as well when accessing floppy device

The floppy device support could probably go away anyway, but at
least until after the stable release let's keep it...

Thanks: Florian Apolloner for bugreport and testing

9 years agoRelease new version 0.10.1 v0.10.1
Michael Prokop [Thu, 10 Jan 2013 12:46:55 +0000 (13:46 +0100)]
Release new version 0.10.1

9 years agoFurther adaptions regarding new /lib/live directory
Michael Prokop [Thu, 10 Jan 2013 12:46:11 +0000 (13:46 +0100)]
Further adaptions regarding new /lib/live directory

Also adjust save-config, grml-autoconfig and docs/tests for
the new directory.

9 years agoRelease new version 0.10.0 v0.10.0
Michael Prokop [Thu, 10 Jan 2013 12:33:15 +0000 (13:33 +0100)]
Release new version 0.10.0

9 years agoAdjust live media path for new live-boot version
Michael Prokop [Thu, 10 Jan 2013 12:31:36 +0000 (13:31 +0100)]
Adjust live media path for new live-boot version

Debian's live-boot changed the path from /live/image to
/lib/live/mount/medium, so adopt our code to support those
new versions without breaking older ISOs.

9 years agoFix displaying information about virtual environment
Michael Prokop [Wed, 9 Jan 2013 14:50:21 +0000 (15:50 +0100)]
Fix displaying information about virtual environment

This was non-sense.

10 years agoRelease new version 0.9.60 v0.9.60
Michael Prokop [Sun, 4 Nov 2012 11:15:05 +0000 (12:15 +0100)]
Release new version 0.9.60

10 years agoCMDLINE handling: do not use 'local' outside a function
Michael Prokop [Sun, 4 Nov 2012 11:14:13 +0000 (12:14 +0100)]
CMDLINE handling: do not use 'local' outside a function

Reported by Dietmar Segbert <> on the
Grml user mailing list.

10 years agoRelease new version 0.9.59 v0.9.59
Michael Prokop [Tue, 2 Oct 2012 08:00:48 +0000 (10:00 +0200)]
Release new version 0.9.59

10 years agoBump Standards-Version to 3.9.4
Michael Prokop [Tue, 2 Oct 2012 07:44:25 +0000 (09:44 +0200)]
Bump Standards-Version to 3.9.4

10 years agoconfig_display_ssh_fingerprints: adjust check for present host keys
Michael Prokop [Tue, 2 Oct 2012 07:43:45 +0000 (09:43 +0200)]
config_display_ssh_fingerprints: adjust check for present host keys

find doesn't return an error if there are no matches.

10 years agoDrop unused aumix from Recommends
Michael Prokop [Mon, 1 Oct 2012 17:42:51 +0000 (19:42 +0200)]
Drop unused aumix from Recommends

We don't use aumix at all anymore.

10 years agoRelease new version 0.9.58 v0.9.58
Michael Prokop [Thu, 27 Sep 2012 08:46:24 +0000 (10:46 +0200)]
Release new version 0.9.58

10 years agoDefault DCSDIR to /live/image also in noautoconfig/forensic mode
Michael Prokop [Thu, 27 Sep 2012 08:39:07 +0000 (10:39 +0200)]
Default DCSDIR to /live/image also in noautoconfig/forensic mode

Otherwise booting with "" doesn't do what the
documentation says.

10 years agoDo not limit supported file names of scripts to run-parts defaults
Michael Prokop [Thu, 27 Sep 2012 08:24:03 +0000 (10:24 +0200)]
Do not limit supported file names of scripts to run-parts defaults

A file named won't be covered by "run-parts $DIRECTORY",
which is stupid and unexpected behaviour.

10 years agoDisplay SSH server key fingerprints
Michael Prokop [Tue, 25 Sep 2012 14:53:53 +0000 (16:53 +0200)]
Display SSH server key fingerprints

Useful if using the ssh boot option or providing your own
configuration files/script shipping SSH server keys.

Thanks: Peter Palfrader for the idea

10 years agoRelease new version 0.9.57 v0.9.57
Michael Prokop [Wed, 5 Sep 2012 10:42:32 +0000 (12:42 +0200)]
Release new version 0.9.57

10 years agoFix return code handling of config_testcd() + slightly refactor code
Michael Prokop [Wed, 5 Sep 2012 07:11:29 +0000 (09:11 +0200)]
Fix return code handling of config_testcd() + slightly refactor code

The usage of a variable inside a *sub*shell ("RC=$?") breaks
checking for this variable later in the code ("if $RC -ne 0 ..."),
so testcd didn't do what we expect it to do.

While at it slightly refactor the code to match the look'n'feel
of grml-autoconfig.

10 years agoRelease new version 0.9.56 v0.9.56
Michael Prokop [Mon, 3 Sep 2012 11:51:12 +0000 (13:51 +0200)]
Release new version 0.9.56

10 years agoProvide checks for vmware-detect/imvirt/virt-what for setting environment variables
Michael Prokop [Mon, 3 Sep 2012 09:44:15 +0000 (11:44 +0200)]
Provide checks for vmware-detect/imvirt/virt-what for setting environment variables

The check for VirtualBox no longer works. While at it provide
environment variables to detect common virtual environments.

Acked-by: Evgeni Golov
10 years agoReplace 'modprobe -l' command with modinfo(8) command line
Michael Prokop [Mon, 3 Sep 2012 08:50:02 +0000 (10:50 +0200)]
Replace 'modprobe -l' command with modinfo(8) command line

Thanks kmod for deprecating 'modprobe -l'.

Thanks: Evgeni Golov for the idea with modinfo
Acked-by: Evgeni Golov
10 years agoRelease new version 0.9.55 v0.9.55
Michael Prokop [Tue, 24 Jul 2012 10:45:15 +0000 (12:45 +0200)]
Release new version 0.9.55

10 years agosave-config: Adjust for working with current Grml versions [Testing: issue1188]
Michael Prokop [Tue, 24 Jul 2012 10:42:31 +0000 (12:42 +0200)]
save-config: Adjust for working with current Grml versions [Testing: issue1188]

We need to support /live/rofs and /live/overlay and integrate
the code of the deprecated findchanged script.

10 years agoRelease new version 0.9.54 v0.9.54
Michael Prokop [Mon, 2 Jul 2012 12:24:51 +0000 (14:24 +0200)]
Release new version 0.9.54

10 years agoconfig_hostname: fix syntax error and wrong eend call
Michael Prokop [Mon, 2 Jul 2012 12:24:37 +0000 (14:24 +0200)]
config_hostname: fix syntax error and wrong eend call

10 years agotests/ verify that autoconfig.functions can be read, otherwise fail
Michael Prokop [Mon, 2 Jul 2012 12:21:52 +0000 (14:21 +0200)]
tests/ verify that autoconfig.functions can be read, otherwise fail

If autoconfig.functions can't be parsed (e.g. because of syntax errors)
then the test suite returns with exit code 0.

10 years agoRelease new version 0.9.53 v0.9.53
Michael Prokop [Thu, 28 Jun 2012 15:32:21 +0000 (17:32 +0200)]
Release new version 0.9.53

10 years agovim modelines: set shiftwidth to 2
Michael Prokop [Fri, 22 Jun 2012 20:35:48 +0000 (22:35 +0200)]
vim modelines: set shiftwidth to 2

This was just crazy, finally make it more saneā€¦

10 years agoNo longer execute hostname command if hostname option is not present
Michael Prokop [Fri, 22 Jun 2012 20:32:00 +0000 (22:32 +0200)]
No longer execute hostname command if hostname option is not present

There's no need to execute the hostname command if the boot
option hostname is not present as /etc/init.d/ is
executed on Grml during bootup. We keep the config_hostname()
only because we support setting it to a random hostname if no
argument was specified to the boot option and to keep using
grml-hostname as main interface for changing hostnames

10 years agoRelease new version 0.9.52 v0.9.52
Michael Prokop [Fri, 22 Jun 2012 17:23:37 +0000 (19:23 +0200)]
Release new version 0.9.52

10 years agoFix to set VNC password for correct user
Dominik Schips [Fri, 22 Jun 2012 12:32:48 +0000 (14:32 +0200)]
Fix to set VNC password for correct user

10 years agoRelease new version 0.9.51 v0.9.51
Michael Prokop [Sun, 20 May 2012 12:37:40 +0000 (14:37 +0200)]
Release new version 0.9.51

10 years agoBump Standards-Version to 3.9.3.
Michael Prokop [Sun, 20 May 2012 12:37:15 +0000 (14:37 +0200)]
Bump Standards-Version to 3.9.3.

10 years agoAdd a README file for Github
Markus Ulrich [Thu, 17 May 2012 01:17:11 +0000 (03:17 +0200)]
Add a README file for Github

10 years agoRemove standard language settings for grml_small (type: POSIX)
Markus Ulrich [Thu, 17 May 2012 00:32:13 +0000 (02:32 +0200)]
Remove standard language settings for grml_small (type: POSIX)

Change default language function to exporting the language from
quickconfig or bootoption or set language to 'en'.
Drop the checkgrmlsmall check in the language config functions.

10 years agoRelease new version 0.9.50 v0.9.50
Michael Prokop [Wed, 9 May 2012 10:17:40 +0000 (12:17 +0200)]
Release new version 0.9.50

10 years agoRun grml-x with specified window-manager. Thanks to Wolfgang Scheicher for
Ulrich Dangel [Mon, 27 Feb 2012 22:10:57 +0000 (23:10 +0100)]
Run grml-x with specified window-manager. Thanks to Wolfgang Scheicher for
the bug report.

10 years agoFix typo in grml-autoconfig.1.txt - use services instead of service
Ulrich Dangel [Sat, 11 Feb 2012 14:44:41 +0000 (15:44 +0100)]
Fix typo in grml-autoconfig.1.txt - use services instead of service

10 years agoMention root user in all according ssh messages
Michael Prokop [Tue, 7 Feb 2012 11:08:12 +0000 (12:08 +0100)]
Mention root user in all according ssh messages

10 years agoSet root password to specified/generated ssh password. mru/root_passwd
Ulrich Dangel [Mon, 6 Feb 2012 20:33:49 +0000 (21:33 +0100)]
Set root password to specified/generated ssh password.

When using Grml as a rescue distribution for dedicated server it is
typically necessary to change the root password manually as user
expect to be able to login into the rescue system directly as root.

This patch modified the behaviour of the ssh bootoption and will set
the root password to the same value as for the grml user.

10 years agoRelease new version 0.9.49 v0.9.49
Michael Prokop [Sun, 29 Jan 2012 12:34:18 +0000 (13:34 +0100)]
Release new version 0.9.49