Tails developers [Sun, 8 Apr 2012 18:23:57 +0000 (20:23 +0200)]
Adding support for the findiso boot parameter (Closes: #656135).
Thanks to the grml team for the initial patch,
thanks to adrian15sgd@gmail.com for bringing it to a mergeable state.
Daniel Baumann [Sun, 8 Apr 2012 17:38:47 +0000 (19:38 +0200)]
Renaming live.persist to live-persistence.conf.
Daniel Baumann [Sun, 8 Apr 2012 20:46:39 +0000 (22:46 +0200)]
Making extraction of the manpage section in manpages/Makefile work with multiple dots in the filename.
Daniel Baumann [Sun, 8 Apr 2012 16:29:45 +0000 (18:29 +0200)]
Using 'persistence' (noun) rather than 'persistent' (adjective/adverb) everywhere.
Daniel Baumann [Sun, 8 Apr 2012 15:47:57 +0000 (17:47 +0200)]
Renaming /live/cow to /live/overlay in anticipation of overlayfs.
Daniel Baumann [Sun, 8 Apr 2012 15:04:42 +0000 (17:04 +0200)]
Removing user and userfullname variables in scripts/live, they are not used here sind live-config anymore.
Daniel Baumann [Sun, 8 Apr 2012 10:28:23 +0000 (12:28 +0200)]
Consistently using ext4 in all examples, not a mix of ext2 and ext3.
Daniel Baumann [Sun, 8 Apr 2012 09:42:29 +0000 (11:42 +0200)]
Replacing 'illegal' with better fitting 'invalid' for wrongly crafted input examples in live.persist manpage.
Daniel Baumann [Fri, 6 Apr 2012 11:02:15 +0000 (13:02 +0200)]
Removing outdated and broken accessibility script, this will be redone in live-config properly.
Daniel Baumann [Fri, 6 Apr 2012 10:10:46 +0000 (12:10 +0200)]
Removing header in fstab, not required.
Daniel Baumann [Fri, 6 Apr 2012 10:05:51 +0000 (12:05 +0200)]
Removing preseed bottom-script, a newly written one is now in live-config where this sort of things belong.
Daniel Baumann [Fri, 6 Apr 2012 08:38:00 +0000 (10:38 +0200)]
Only looking at boot.d files if they have the .conf suffix to allow putting other files into these places that do not necessarily need to be used by live-boot (e.g. documentation).
Daniel Baumann [Thu, 5 Apr 2012 06:19:33 +0000 (08:19 +0200)]
Releasing debian version 3.0~a26-1.
Daniel Baumann [Thu, 5 Apr 2012 06:05:20 +0000 (08:05 +0200)]
Moving initscript to live-config.
Keeping the initscript in live-boot is not really maintainable
for different init systems. We would need to have, like live-config,
several backend packages (live-boot-sysvinit, live-boot-systemd,
live-boot-upstart) etc., plus, every combination with the
different initrd system backend (initramfs-tools, dracut).
Daniel Baumann [Thu, 5 Apr 2012 05:59:29 +0000 (07:59 +0200)]
Correcting left-over in author section of live.persist manpage.
Tails developers [Mon, 26 Mar 2012 17:23:56 +0000 (19:23 +0200)]
Make cases for all different custom mounting situations more explicit.
The old code had grown wild over time and was hard to follow, and
consequently contained bugs (all related to linkfiles custom mounts in
read-only mode) that that became obvious and were fixed solely all
thanks to this re-write.
Tails developers [Mon, 26 Mar 2012 17:22:47 +0000 (19:22 +0200)]
Copy perms/ownership from source when creating linkfiles dest dirs.
Tails developers [Mon, 26 Mar 2012 17:21:40 +0000 (19:21 +0200)]
Use trim_path() instead of custom sed stanza to trim /:es from paths.
Tails developers [Mon, 26 Mar 2012 14:29:19 +0000 (16:29 +0200)]
Add 'bind' option for the default behaviour of custom mounts (bind-mount).
Tails developers [Mon, 26 Mar 2012 13:48:15 +0000 (15:48 +0200)]
Fix ownership for links created for linkfiles custom mounts.
Tails developers [Sat, 24 Mar 2012 18:29:36 +0000 (19:29 +0100)]
Adding functions equivalent to chmod/chown --reference.
This option is apparently not present in busybox.
Tails developers [Fri, 23 Mar 2012 11:54:17 +0000 (12:54 +0100)]
Delete existing files in the destination's path when creating it.
Tails developers [Fri, 23 Mar 2012 11:38:48 +0000 (12:38 +0100)]
Update live-boot(7) man page and add new one for live.persist(5).
Tails developers [Thu, 22 Mar 2012 18:44:24 +0000 (19:44 +0100)]
Also create parents when creating union/linkfiles source directories.
Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc.
Tails developers [Thu, 22 Mar 2012 18:43:55 +0000 (19:43 +0100)]
Remove cow dir contents that are in the way for custom mounts.
This is mostly relevant if you activate persistence post boot; in that
case you (or live-config) may have modified or added some file, which
makes it appear in the cow dir. If you later activate a persistent
volume which contains that file, the old file will "block" the one
from the persistent volume, which likely isn't what you expect.
Tails developers [Thu, 22 Mar 2012 13:20:32 +0000 (14:20 +0100)]
Improve error message.
Tails developers [Tue, 20 Mar 2012 16:37:58 +0000 (17:37 +0100)]
Make two custom mounts with nested source directories illegal.
Tails developers [Tue, 20 Mar 2012 16:36:18 +0000 (17:36 +0100)]
Make trim_path() handle "/", and arbitrarily many consecutive /:es.
Tails developers [Mon, 19 Mar 2012 22:44:17 +0000 (23:44 +0100)]
Greatly simplify live.persist syntax to "DIR [OPTIONS...]".
The previous syntax was convoluted by allowing both optional columns and
a list of options, when all really can be done in the options list. A
new option 'source=$path' was added as a replacement for the removed
SOURCE column, and DIR in the new syntax is pretty much the old DEST.
Tails developers [Mon, 19 Mar 2012 22:42:14 +0000 (23:42 +0100)]
Add a note about a potential, future code simplification.
Tails developers [Mon, 19 Mar 2012 22:41:26 +0000 (23:41 +0100)]
Do not allow mutually exclusive custom mount options.
Tails developers [Mon, 19 Mar 2012 22:06:13 +0000 (23:06 +0100)]
Fix ownership/perms for created union/linkfiles source dirs.
Tails developers [Mon, 19 Mar 2012 22:04:41 +0000 (23:04 +0100)]
Create the source dir for custom mounts using the 'linkfiles' option.
We can't bootstrap it, but creating it so the user doesn't have to
(and maybe can't due to permissions) is a still convenient.
Tails developers [Fri, 2 Mar 2012 14:26:03 +0000 (15:26 +0100)]
Refactor closing of persistent devices upon failure.
Errors can occur at various places so it's best to just do it once in
a consistent manner.
Tails developers [Thu, 1 Mar 2012 13:53:48 +0000 (14:53 +0100)]
Change live.persist syntax to "SOURCE [DEST [OPTIONS...]]".
Tails developers [Wed, 29 Feb 2012 15:03:32 +0000 (16:03 +0100)]
Copy ownership/perms from source to rw-branch in read-only mode.
The union mountpoint inherits ownership/permissions from the rw-branch,
which in this case is a directory created by root, and not the source,
which has the correct ownership/perms.
Tails developers [Fri, 24 Feb 2012 13:41:30 +0000 (14:41 +0100)]
Handle list arguments better in get_custom_mounts().
Tails developers [Thu, 23 Feb 2012 16:33:45 +0000 (17:33 +0100)]
Make handling of LUKS encrypted GPT partitions more sane.
Tails developers [Mon, 20 Feb 2012 10:51:14 +0000 (11:51 +0100)]
Use trim_path when we compare paths.
Tails developers [Mon, 20 Feb 2012 10:44:04 +0000 (11:44 +0100)]
Don't allow . or .. in live.persist paths.
Allowing it could cause serious breakage, and there's absolutely no
need for it.
Tails developers [Fri, 17 Feb 2012 15:35:43 +0000 (16:35 +0100)]
Remove two FIXME:s that are not really relevant.
We could handle those cases, but it wouldn't give us anything; the
sort-by-destination we do later makes it work just fine.
Tails developers [Fri, 17 Feb 2012 15:34:44 +0000 (16:34 +0100)]
Cleanup.
Tails developers [Thu, 16 Feb 2012 14:37:35 +0000 (15:37 +0100)]
Refactor mounting of persistent storage media.
This also fixes a bug where for home-rw image files: they were mounted
in ${rootmnt}/live before ${rootmnt} was mounted, hence "hiding" the
mount point.
Tails developers [Wed, 15 Feb 2012 12:05:33 +0000 (13:05 +0100)]
Fixup some style issues.
Tails developers [Wed, 15 Feb 2012 11:10:06 +0000 (12:10 +0100)]
Check if luks device is already open before trying to open it.
Tails developers [Wed, 15 Feb 2012 11:03:56 +0000 (12:03 +0100)]
We don't black list storage devices any more.
Tails developers [Wed, 15 Feb 2012 11:00:51 +0000 (12:00 +0100)]
Add backwards compatibility for old labels: live-{rw,sn} and home-rw.
For home-rw we create a live.persist file which make old volumes
completely compatible with the custom mounts system.
Tails developers [Tue, 14 Feb 2012 15:48:52 +0000 (16:48 +0100)]
Handle already mounted devices and closing of unused luks devices better.
Tails developers [Tue, 14 Feb 2012 15:45:14 +0000 (16:45 +0100)]
Some minor cleanups.
Tails developers [Tue, 14 Feb 2012 15:42:47 +0000 (16:42 +0100)]
Add support for probing partitions' GPT name just like filesystem labels.
Tails developers [Tue, 14 Feb 2012 15:39:13 +0000 (16:39 +0100)]
Refactor find_persistent_media().
Tails developers [Tue, 14 Feb 2012 15:35:52 +0000 (16:35 +0100)]
Refactor some global variables from live into live-helpers.
Tails developers [Mon, 13 Feb 2012 09:35:58 +0000 (10:35 +0100)]
Refactor live-boot argument parser from live into live-helpers.
This will be useful for making it possible to enable persistent during
user-space.
Daniel Baumann [Wed, 4 Apr 2012 08:50:11 +0000 (10:50 +0200)]
Adjusting mount calls when using nfs options (Closes: #667435).
Tails developers [Sat, 11 Feb 2012 20:35:35 +0000 (21:35 +0100)]
Close unused LUKS devices in all cases.
Previously LUKS partitions whose fs had the incorrect partition label
would be left open when using persistent-storage=partition.
Tails developers [Sat, 11 Feb 2012 20:30:53 +0000 (21:30 +0100)]
Use same device backing path as used in other places.
Tails developers [Sat, 11 Feb 2012 20:27:48 +0000 (21:27 +0100)]
Accept using several persistent media with custom-ov label.
We didn't want this before with live-{rw,sn} and home-{rw,sn} style
persistence, so this was just a left-over. But we still can only allow
one each of root-ov, root-sn and home-sn.
Tails developers [Thu, 9 Feb 2012 17:13:25 +0000 (18:13 +0100)]
Refactor persistent custom mounting from live into live-helpers.
This will be useful for making it possible to enable persistent during
user-space.
Daniel Baumann [Sun, 1 Apr 2012 20:10:13 +0000 (22:10 +0200)]
Correcting syntax when using if constructs in links_files().
Tails developers [Thu, 9 Feb 2012 16:26:31 +0000 (17:26 +0100)]
Fix mask usage in links_files().
Tails developers [Thu, 9 Feb 2012 11:18:56 +0000 (12:18 +0100)]
Optionally mount custom mounts as unions.
This can potentially save a lot of space, and this type of persistence
doesn't hide changes to the read-only filesystem which can be both
good and bad.
Tails developers [Thu, 9 Feb 2012 11:18:10 +0000 (12:18 +0100)]
Remove the correct file.
Tails developers [Thu, 9 Feb 2012 11:16:56 +0000 (12:16 +0100)]
Ignore empty lines in live.persist.
Otherwise they're interpreted as / which isn't good.
Tails developers [Thu, 9 Feb 2012 11:16:06 +0000 (12:16 +0100)]
Make union mounting more sensible and robust.
...except that they're broken! But we're getting to that.
Tails developers [Thu, 9 Feb 2012 11:08:58 +0000 (12:08 +0100)]
Workaround busybox's inability to detect symlinks with [ -e ].
link_files() won't remove symlinks at the destination, which could
cause trouble.
Tails developers [Wed, 8 Feb 2012 15:26:39 +0000 (16:26 +0100)]
Refactor union mounting into its own function.
Tails developers [Wed, 8 Feb 2012 15:16:11 +0000 (16:16 +0100)]
Continue the correct for-loop so incorrect custom mount is skipped.
Tails developers [Wed, 8 Feb 2012 11:49:40 +0000 (12:49 +0100)]
Handle custom mounts options a bit more beautifully.
Daniel Baumann [Sun, 1 Apr 2012 20:04:06 +0000 (22:04 +0200)]
Calling rm without -f when removing some temporary custom mount related files to ensure non-interactivity.
Tails developers [Wed, 8 Feb 2012 11:44:30 +0000 (12:44 +0100)]
Remove some temporary custom mount related files after they're used.
Tails developers [Tue, 7 Feb 2012 17:05:42 +0000 (18:05 +0100)]
Separate overlay labels for full and custom persistence.
Full root persistence through overlays is specified with "full-ov",
and custom persistent mounts with "custom-ov". Previously they used
the same label ("live-rw") and the existence of live.persist
determined whether it should be used for full persistence or custom
mounts. That was a bit dangerous since a misspelled live.persist could
cause data loss etc.
Tails developers [Tue, 7 Feb 2012 14:00:04 +0000 (15:00 +0100)]
Optionally symlink files from persistent source instead of mount it.
This is done by passing the option "linkfiles" to a live.persist
entry. That option is very useful when you only want certain files
to be persistent, not the whole directory they are in, like dot-files
in $home.
Tails developers [Mon, 6 Feb 2012 10:22:05 +0000 (11:22 +0100)]
Prevent custom mounting in /live.
Daniel Baumann [Sun, 1 Apr 2012 19:58:21 +0000 (21:58 +0200)]
Avoid '==' bashism in initial work on a custom mounts system to ensure posix compatiblity.
Daniel Baumann [Sun, 1 Apr 2012 19:57:19 +0000 (21:57 +0200)]
Avoid calling rm without -f in initial work on a custom mounts system to ensure non-interactivity.
Daniel Baumann [Sun, 1 Apr 2012 19:56:28 +0000 (21:56 +0200)]
Correcting indenting initial work on a custom mounts system to ensure consistency.
Tails developers [Mon, 16 Jan 2012 11:12:18 +0000 (12:12 +0100)]
Adding initial work on a custom mounts system.
Daniel Baumann [Fri, 30 Mar 2012 08:06:35 +0000 (10:06 +0200)]
Removing some of the now useless sysvinit specifics from bin/boot.sh.
Daniel Baumann [Fri, 30 Mar 2012 07:59:59 +0000 (09:59 +0200)]
Replacing live-boot initscript with a stub and moving the actual code to /lib/live/boot.sh to allow different initsystem support in future.
Daniel Baumann [Fri, 30 Mar 2012 07:49:28 +0000 (09:49 +0200)]
Correcting log_end_msg usages in connection with verbosity checks in live-boot initscript, thanks to Pablo Barbachano <pablobarbachano@yahoo.es> (Closes: #665689).
Daniel Baumann [Tue, 6 Mar 2012 09:40:41 +0000 (10:40 +0100)]
Quoting noprompt variable in initscript to avoid syntax errors, thanks to Philip Newborough <corenominal@corenominal.org>.
Daniel Baumann [Sun, 26 Feb 2012 20:05:55 +0000 (21:05 +0100)]
Updating to standards version 3.9.3.
Daniel Baumann [Sun, 26 Feb 2012 19:59:29 +0000 (20:59 +0100)]
Updating copyright file machine-readable format version 1.0.
Daniel Baumann [Tue, 7 Feb 2012 12:33:51 +0000 (13:33 +0100)]
Updating year in copyright.
Daniel Baumann [Mon, 6 Feb 2012 22:27:53 +0000 (23:27 +0100)]
Releasing debian version 3.0~a25-1.
Michal Suchanek [Fri, 15 Apr 2011 09:36:00 +0000 (11:36 +0200)]
Add overlayfs support (Closes: #658265).
Daniel Baumann [Sun, 15 Jan 2012 19:45:38 +0000 (20:45 +0100)]
Updating to debhelper version 9.
Daniel Baumann [Sun, 4 Dec 2011 08:59:19 +0000 (09:59 +0100)]
Releasing debian version 3.0~a24-1.
Daniel Baumann [Thu, 1 Dec 2011 10:09:53 +0000 (11:09 +0100)]
Removing quotes from udev path_id command to actually execute the command.
Daniel Baumann [Mon, 28 Nov 2011 17:27:29 +0000 (18:27 +0100)]
Releasing debian version 3.0~a23-1.
Tails developers [Wed, 23 Nov 2011 20:17:23 +0000 (21:17 +0100)]
Adding workaround for a busybox bug with grep -w.
See: https://bugs.busybox.net/show_bug.cgi?id=4520
Tails developers [Wed, 23 Nov 2011 11:17:06 +0000 (12:17 +0100)]
Updating live-boot man page for persistent-read-only.
Tails developers [Wed, 23 Nov 2011 11:08:06 +0000 (12:08 +0100)]
Making persistent-read-only work for live-rw overlays.
Tails developers [Wed, 23 Nov 2011 10:16:43 +0000 (11:16 +0100)]
Making persistent-read-only work for home-rw overlays.
Tails developers [Mon, 21 Nov 2011 11:09:40 +0000 (12:09 +0100)]
Updating and rewording live-boot man page for the persistent option.
Tails developers [Mon, 21 Nov 2011 10:32:03 +0000 (11:32 +0100)]
Updating live-boot man page for persistent-method.
Tails developers [Mon, 21 Nov 2011 10:25:04 +0000 (11:25 +0100)]
Updating live-boot man page for persistent-storage.
Tails developers [Mon, 21 Nov 2011 10:12:47 +0000 (11:12 +0100)]
Updating live-boot man page for persistent-encryption.
Tails developers [Sat, 12 Nov 2011 04:56:06 +0000 (05:56 +0100)]
Changing persistent-encryption to accept a list TYPE... instead.
The comma-separated list TYPE... specifies which types of encryption
to allow for persistent media, and whether to allow plaintext media.
The possible TYPEs are the old {none, luks}, with default "none". The
only change is that this allow plaintext and encrypted media to be
used simultaneously.
Tails developers [Thu, 10 Nov 2011 18:24:13 +0000 (19:24 +0100)]
Adding persistent-read-only boot parameter.
It currently only makes snapshots read-only. Support for overlays will
be a bit more complicated to implement.