Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

refractasnapshot-9.0.8

Refracta Development, Scripts, etc.

refractasnapshot-9.0.8

Postby fsmithred » Wed Jan 02, 2013 6:37 pm

Direct links to the latest version.
http://distro.ibiblio.org/refracta/test ... .8_all.deb
http://distro.ibiblio.org/refracta/test ... .8_all.deb


Changes:
* Excluded /lib/live/overlay, image, rootfs, mount and /var/run/*
* Added boot options for runlevel 3 and for unionfs
* Boot timout 20 seconds
* Isolinux boot menu uses separate files again, to fix a problem
* with using alternate boot methode by typing them at the boot
* prompt. (e.g., 'boot: live' or 'boot: nomodeset')
# until I can figure out what was missing in isolinux.cfg
* $boot_menu is (temporarily?) set to live.cfg in config file.
* Added setup functions to allow editing configs and excludes. (gui only)
* Added var editor_option - geany opens new instance for each file.


Edit: dzz, I just changed one line in f5.txt. Let me know if it needs more.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: refractasnapshot-9.0.8

Postby dzz » Fri Jan 04, 2013 2:18 am

* Isolinux boot menu uses separate files again, to fix a problem


Hopefully temporarily, six files are confusing, difficult to follow what includes what when if how why

I did notice strange behaviour in virtualbox, typing on the cmdline. What I type doesn't register properly and existing text starts scrolling repeatedly . It was considered a virtualbox problem, doesn't happen on real hardware

The help menus changes look good
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: refractasnapshot-9.0.8

Postby fsmithred » Tue Mar 26, 2013 4:41 pm

New debs for refractasnapshot. They're on the github repo, but not on ibiblio yet.

Code: Select all
  * Release Notes get added to root of iso (if they exist).
  * Added ~/.gnupg ~/.pulse* and ~/.dbus to excludes.
  * Added /etc/fstab.d/* to excludes.
  * Fixed stdmenu.cfg to stop scrolling boot line.


Um, shhhh... don't look now, but an item in the above code box was also added to the installer excludes. I don't want to say it.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: refractasnapshot-9.0.8

Postby dzz » Wed Mar 27, 2013 3:55 pm

Thanks fsmithred for the new version

One problem here: If $snapshot_dir is set to another device/partition it should be mounted. It was not.. snapshot made work directories anyway in /media then filled and choked the rootfs

Suggested fix (or something similar, this seems to work):

Code: Select all
# Create snapshot_dir and work_dir if necessary.
check_directories () {

# Don't use /media/* for $snapshot_dir unless it is a mounted filesystem
snapdir_is_remote=$(echo ${snapshot_dir}| awk -F / '{print "/" $2 "/" $3}' |grep /media/)

if [ -n "$snapdir_is_remote" ] && cat /proc/mounts | grep -q ${snapdir_is_remote}; then
   echo "$snapdir is mounted"
else
   $DIALOG --$ERROR --title="Refracta Snapshot" --text=" Error.. The selected snapshot work directory cannot be accessed.. "
   exit 1
fi

# SNIP

(minor) One yad window was squashed, don't remember which. Some had "YAD" as title

line 428 (--title=Edit Boot Menu) needs quotes.. (--title="Edit Boot Menu" )

One other observation: refractasnapshot.conf is easier to read (= less chance of edit mistakes) if the non-commented lines are spaced.
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: refractasnapshot-9.0.8

Postby dzz » Thu Mar 28, 2013 2:24 am

Found some stuff in my latest snapshot that should not be there, mostly in /root including 100's of MB in /root/.local/share/Trash Some might also be in default Refracta. These should probably be in excludes.list:

/root/.nano_history
/root/.VirtualBox
/root/.synaptic
/root/.aptitude
/root/.disk-manager.conf
/root/.fstab.log
/root/.local/share/*
/root/.ICEauthority
/root/.Xauthority

/home/*/.mozilla/*/*/Cache/*
/home/*/.mozilla/*/*/urlclassifier3.sqlite
/home/*/.VirtualBox

EDIT (more)

'/home/*/VirtualBox VMs' ## watch out for the space
Last edited by dzz on Thu Mar 28, 2013 8:01 pm, edited 1 time in total.
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: refractasnapshot-9.0.8

Postby golinux » Thu Mar 28, 2013 3:05 am

You might also want to include /home/*/.wine on that list. FWIW, I used refractasnapshot 9.0.8-1 to make the 22gb image. Could these files account for the size?
May the FORK be with you!
User avatar
golinux
 
Posts: 643
Joined: Thu Nov 08, 2012 1:23 am

Re: refractasnapshot-9.0.8

Postby dzz » Thu Mar 28, 2013 2:39 pm

The default exclude.list is for what must not, or should not normally, be in a live image. Some excludes like history, cache and log files use space (some may be a security risk) and later get regenerated anyway.

.wine is user-config stuff, applications and data (but could be very large)

A user can add excludes for specific (or all) dot files/dirs and should in any case do a size check.
dzz
 
Posts: 629
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: refractasnapshot-9.0.8

Postby fsmithred » Sun Apr 07, 2013 4:25 pm

Made additions to snapshot excludes list.

Added test for remote, unmounted snapshot_dir. Do we need a similar test for work_dir?

Would like to roll new debs soon.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred