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!

3.18 kernel loses aufs completely

Refracta Development, Scripts, etc.

3.18 kernel loses aufs completely

Postby vsido » Fri Feb 06, 2015 5:01 am

Heads up, kernel 3.18 has dropped aufs completely in favor of overlay(fs) ...

This completely kills any remastering tool dependent upon aufs for the live-cd, including refracta ... unless there is a way to switch to overlay easily within the snapshot process that I am completely missing

I have tested 3.18 and have confirmed that any builds with refracta results in a kernel panic because there is no module aufs loaded and the live-cd fails
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm

Re: 3.18 kernel loses aufs completely

Postby fsmithred » Fri Feb 06, 2015 10:50 am

My first guess after my first cup of coffee is that all you have to do is edit the boot menu to change 'union=aufs' to 'union=overlay'. Set edit_boot_menu="yes" in etc/refractasnapshot.conf and the boot menu will open in a text editor before the iso is made.

And I guess what I have to do is either detect the kernel version and automatically edit the menu or make the menu easier for the user to configure. I've been thinking about adding a menu configurator something like this...

Present a checklist of boot options with defaults pre-checked.
Let the user change it or accept the default.
Generate a single boot entry.
Repeat until the user is tired of adding boot entries.

At some point, I'll drop support for older versions of software, but I don't want to do that now.

Anyway, please let me know if that works.

Edit: Or, we might have to wait for newer versions of live-boot, et. al.
https://lists.debian.org/debian-live/20 ... 00239.html

OK, linux-image-3.18 and live-boot-5.0 are still in experimental. Tools will catch up.

Edit 2: forgot to say thanks for the alert. Thanks! Any help keeping up with all the changes is needed and appreciated.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: 3.18 kernel loses aufs completely

Postby vsido » Fri Feb 06, 2015 1:59 pm

:D No worries and Thank you...

I have already tested the new version of live-boot .. I have not yet tested it by adding 'union=overlay' to the kernel line. I will do that a bit later today and will always keep you and this forum updated

I forgot to say I did get it all from experimental to prepare for the imminent release of 3.18 to SID which is where we live in VSIDO

This is a disturbing change (IMO) from the kernel team. I appreciate the fact that they warned us about it along the way, it is still quite a bit of a change considering you must also load overlay.ko in initramfs modules manually

Once I do get this working, I will supply a step by step How To on what I did to get it going
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm

Re: 3.18 kernel loses aufs completely

Postby fsmithred » Fri Feb 06, 2015 3:43 pm

Another option might be to recompile the kernel. I ran into this with the 3.14 realtime kernel from the debian repo. There's no support for aufs in that, and I wanted to put it in a live iso. I just copied the aufs section from the 3.2 kernel config file and pasted it into the 3.14 config file and recompiled. It worked. But if you do that, then you need to do it again after kernel upgrades.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: 3.18 kernel loses aufs completely

Postby vsido » Fri Feb 06, 2015 4:35 pm

^ True ... I do have enough packages I need to watch now, not willing to add a kernel build to it just yet... :D
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm

Re: 3.18 kernel loses aufs completely

Postby vsido » Fri Feb 06, 2015 5:12 pm

Adding the union=overlay option is failing but for different reasons. The mounting options for overlay are slightly different in "/"lib/live/boot/9990-overlay.sh" ... I am working on that now and will let you know when I have the fix

Edit - BTW, it is puking on the options of -o and noatime as invalid arguments
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm

Re: 3.18 kernel loses aufs completely

Postby vsido » Fri Feb 06, 2015 8:29 pm

I agree, especially now that Daniel Baumann has reopened the original bug, this along with the rest of the tools will catch up and this will be resolved by the time it reaches SID
User avatar
vsido
 
Posts: 85
Joined: Fri Jan 30, 2015 3:38 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred