Lethe - freezing system in Open Suse - script modyfiaction

Hi,
Lethe, is a project for debian-like distro, alternative to DEEP FREEZE (Lethe - GPL Partition Freezing Software | Free Security & Utilities software downloads at SourceForge.net).
Can someone please helme run it/modyfi script/ under opensuse 11.x/12.x or give me some advice how to achive the same result in OpenSuse?

thanks in advice! :wink:

On 11/04/2012 02:46 PM, bucken wrote:
> how to achive the same result in OpenSuse?

-=WELCOME=- new posterā€¦

what would be those ā€˜resultsā€™ā€¦that is: please tell us what ā€œPartition
Freezingā€ meansā€¦

until then, the ā€˜standardā€™ answers for using Debian software is to:

  1. download the .deb file and run alien against it, to make an .rpm, and
    then install that, and cross your fingersā€¦

  2. download the source code, compile locally and smileā€¦

and, by the way, as of tomorrow there are no supported 11.x
versionsā€¦so, move to 12.1 or 12.2 (or Evergreen)ā€¦

ā€“
dd

well, is all about to freeze root partition. U knowā€¦ im logged in to user/root makin some changes in os, and then after reboot system is clean as for first time he started. The script LETHE is using aufs module which is not in kernel even in 12.x. so if i use alien it will not start. becoz of aufs module.

Hi, welcome

Have you seen the last activity in the project? 2009. And itā€™s about mounting in tmpfs. To show where openSUSE is these days:


knurpht@laptop:~> mount | grep tmpfs
devtmpfs on /dev type devtmpfs (rw,relatime,size=2997688k,nr_inodes=749422,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

and this is using systemd

On 11/04/2012 04:36 PM, bucken wrote:
> im logged in to
> user/root makin some changes in os, and then after reboot system is
> clean as for first time he started.

so, it sounds like want to lock the operating system so that it never
changesā€¦well, you can change it while it is running, but when you boot
it is back to what it was on day oneā€¦right?

so, there are a few ways i can think of to make that happen:

  1. boot from a Live CD, make all the changes to the root system you want
    and every time you boot, you are right back to day oneā€¦

  2. run openSUSE in a VM and immediately after install take a take a
    snapshot (not sure that is the correct term) of the system as it exists,
    then whenever you want that day one system, just boot it

  3. install btrfs, it too has a snapshot capability and it is possible to
    change everything from day to day and take a snapshot of each, and go
    back in time to wherever you wanna beā€¦ WARNING: many folks (myself
    included) consider btrfs to be EXPERIMENTAL and so far iā€™ll not expose
    actual data to a btrfs partitionā€¦

  4. do a full system backup on day one, then next time you boot, do a
    full system restore

  5. it the live CD system i mentioned in #1 is not what you wish to begin
    with [like maybe you donā€™t want KDE, GNOME or whatever], then use SUSE
    Studio to build the exact system you want, and boot it every day and you
    always start fresh.

ā€“
dd

Thanks for suggestion duds, but at least Filesystem BTRFS (its rocks) give me helpin hand. And mechanism of snapshots initiated in boot.local. Btw, I have made at SF project FHF - scripts to make /home freezed, and its enought to make my lab nonstudent-damaged. :wink: I have made new version which is not publicated, anywayā€¦ im gogin to public it soon. Of course, we can do root / freezed but its not nessesary, when using VMs saved at /home/student/VM.

thanks once again