Difference between revisions of "TODO"

From Funtoo Linux
Jump to: navigation, search
(Debug this boot-update feature)
(January 2012)
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== May 2011 TODO ==
+
__NOTITLE__
=== Debug this boot-update feature ===
+
  
'''Note: One thing to fix - - this user should use params = instead of params +=. That should get rid of the multiple root= entries. It still looks like there is a bug here for me to fix though. -Daniel'''
+
{{fancynote|Only add new TODOs to this page after discussing it with Daniel or the Core Team Lead so we know what the bullet items are about :) }}
  
Hi Daniel, one of my Funtoo-Quebec users(Mathieu Tarral) is testing boot-update 1.5.2 with the multi-distro support that I requested a while ago.
+
= Funtoo TODO =
  
I found 2 bugs when I was helping him debugging his current setup.
+
=== January 2012 ===
  
1. The found scan doesn't mount automatically before doing the scan if necessary.
+
Efforts:
  
2. The linux entry is invalid when the scan fonction works, because it return the mount point instead of the / or /boot with the kernel name.
+
* automate gentoo-compare.py email to core team
  Finally, the root param is there twice too.
+
* Aboriginal Linux integration - build a stage1 from an Aboriginal install. Get Metro to use it and not die. Keep pushing forward.
 +
* Set up redmine for bug tracker (on slashbeast's TODO - he has a VE for it)
 +
* Funtoo Profile 1.0 - time to get these done. Deploy without tweaked portage
 +
* Portage Tree
 +
** Portage-mini-2012 - need a new tree (Daniel's TODO)
 +
** Explore ways to have a "dev" tree that users can commit to directly (Mirell's idea, anyone can look into it)
 +
* Portage
 +
** Rebase Portage on zmedico's latest.
 +
** Make default merge strategy be rebase, to preserve local commits (one step in the right direction...)
 +
* Openrc. 0.8.x base not updated for a long time, possibly have bugs.
 +
** engage with gentoo devs on openrc bug fixing
 +
** roll out a new release
 +
* New Sparc64 images using Portage-mini-2012 - (Adessemond's TODO)
 +
* Relaunch experimental:
 +
** new perl 5.14
 +
** new progress overlay (Afrever)
 +
** anything else?
 +
* WAR ON EMAIL
 +
** Make Postfix better
 +
*** http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214741 (qiyong on #funtoo is looking into a patch...)
 +
*** Update: best fix is to auto-gen the default config with myhostname set to $(hostname --fqdn) - then user change change system's hostname without potentially breaking mail as a side-effect, but the user has a reasonable default to start.
 +
** Get good mutt configs on wiki [[Mutt]]
 +
** Use these configs to get an awesome mutt default config:
 +
*** up arrow scrolls up a line
 +
*** down arrow scrolls down a line
 +
*** do NOT automatically jump to next message at end (<tt>set pager_stop</tt>)
 +
*** some COLOR, please
 +
*** Show time, not just day in list view
 +
** Maybe even try to get an integrated forum/ML software off the ground, at least in beta
 +
* Grub upgrade?
 +
* bump LVM to latest - IN PROGRESS
 +
** new lvm2-2.02.88 in funtoo-overlay (no keywords, for testing... builds fine here.) (drobbins)
 +
** was accidentally bumped to stable, now back masked, needs review of initscripts which were just pulled in from gentoo and needs to be compared to our versions.
 +
* new udev-177 with no keywords in funtoo-overlay for testing...
 +
** now masked for extra protection
 +
** can we get away with 2.6.32 or do we need 2.6.34? http://comments.gmane.org/gmane.linux.hotplug.devel/17224
 +
* genkernel/initramfs needs to mount /usr prior to init taking over:
 +
** http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
 +
* EPIC CRON BATTLE
 +
** fcron
 +
*** https://bugs.launchpad.net/ubuntu/+source/fcron/+bug/509298 (drobbins has this bug)
 +
* our rsnapshot is borked - fixed. 1.3.1-r2 was the only one left, but it is masked and broken. restored 1.3.1-r1
  
His current setup : 
+
=== June 2011 ===
  
<pre>
+
* Core Team:
    /dev/sda9              none            swap            sw              0 0
+
** Test Installs from Stage3 - important :)
    /dev/sda7              /              ext4            noatime        0 1
+
** Troubleshoot any issues with OpenRC 0.8 and document bugs clearly so I can investigate.
    /dev/sda8              /home          ext4            defaults        0 2
+
** Clean out <tt>funtoo-staging</tt> mask gradually as packages have been tested (hold off on openrc-0.8)
    /dev/cdrom              /mnt/cdrom      auto            noauto,ro      0 0
+
   
+
    /dev/sda5  /mnt/kubuntu        ext4    users,defaults,noauto,noatime 0 5
+
    /dev/sda6  /mnt/archlinux      ext4    users,defaults,noauto,noatime 0 6
+
   
+
    #windows 7
+
    /dev/sda2  /media/windows      ntfs    users,defaults,uid=1000,gid=1000        0 7
+
</pre>
+
  
His mount after mounting his stuff :
+
*Funtoo Profile 1.0 Prep
 +
** We need to update the [[Unified Configuration]] page and the [[Funtoo 1.0 Profile]] page. The [[Funtoo 1.0 Profile]] page should read like a HOWTO.
 +
** We need a new <tt>eselect profile</tt> implementation to choose arch, stable/current, flavor, mix-in(s), etc. and help users not mess things up too much.
 +
** More copies of Gentoo files need to be converted to symbolic links to ease maintenance. (I did 2 of them, several more to go.) We don't want to have to periodically sync with Gentoo manually.
  
<pre>
+
* Daniel:
    rootfs on / type rootfs (rw)
+
** GLEPS that need to be worked on:
    /dev/sda7 on / type ext4 (rw,noatime,commit=0)
+
*** uid/gid Management GLEP
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
+
*** Unified Configuration GLEP
    rc-svcdir on /libexec/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
+
*** Funtoo-style Profile GLEP
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
+
** Check this boot-update bug with the scan command : http://forums.funtoo.org/viewtopic.php?pid=2706  (It's been there for a while now.) - Daniel needs to do a boot-update rewrite.
    udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
+
** Need to add feature to Portage to auto-update git tree to new repository (portage-mini-2011)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
+
    shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
+
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
+
    /dev/sda8 on /home type ext4 (rw,commit=0)
+
    /dev/sdb1 on /media/Data type ext4 (rw,commit=0)
+
    usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
+
    /dev/sda2 on /media/windows type ntfs (ro,noexec,nosuid,nodev,uid=1000,gid=1000)
+
    /dev/sdc1 on /media/Tera Externe type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
+
    /dev/sda6 on /mnt/archlinux type ext4 (rw,noexec,nosuid,nodev,noatime)
+
    /dev/sda5 on /mnt/kubuntu type ext4 (rw,noexec,nosuid,nodev,noatime)
+
  
</pre>
+
=== April 2011 ===
 
+
His /etc/boot.conf :
+
<pre>
+
 
+
    boot {
+
            generate grub
+
            default "Funtoo Linux"
+
            timeout 10
+
    }
+
 
+
    "Funtoo Linux" {
+
            kernel bzImage[-v]
+
    }
+
 
+
    "Funtoo Linux genkernel" {
+
            kernel kernel[-v]
+
            initrd initramfs[-v]
+
            params += real_root=auto
+
    }
+
 
+
 
+
    "Windows 7" {
+
            type win7
+
            params root=/dev/sda1
+
    }
+
 
+
    "Archlinux" {
+
            scan /mnt/archlinux/boot
+
            kernel vmlinuz26[-v]
+
            initrd kernel26.img
+
            params += root=/dev/sda6
+
    }
+
 
+
    "Kubuntu" {
+
            scan /mnt/kubuntu/boot
+
            kernel vmlinuz[-v]
+
            initrd initrd.img[-v]
+
            params += root=/dev/sda5
+
    }
+
 
+
</pre>
+
 
+
The execution :
+
 
+
<pre>
+
boot-update 1.5.2 / Copyright 2009-2011 Funtoo Technologies
+
 
+
[use option "-l" for license info, "-h" for help]
+
 
+
* Generating config for grub...
+
 
+
* No /etc/fstab entry for /boot; not mounting.
+
* Validating config file /boot/grub/grub.cfg
+
* Backing up original config file to /boot/grub/grub.cfg.old
+
* Writing new config file to /boot/grub/grub.cfg
+
* Done.
+
DEFAULT > Kubuntu - vmlinuz-2.6.35-25-generic
+
          Kubuntu - vmlinuz-2.6.35-27-generic
+
          Archlinux - vmlinuz26
+
          Funtoo Linux genkernel - kernel-genkernel-x86_64-2.6.38-gentoo
+
          Windows 7
+
 
+
* WARN : No boot/default match found - using first boot entry by default.
+
* Configuration file /boot/grub/grub.cfg generated - 50 lines.
+
* Completed successfully with warnings.
+
 
+
</pre>
+
 
+
The result :
+
 
+
<pre>
+
# cat /boot/grub/grub.cfg
+
    set timeout=10
+
 
+
    menuentry "Kubuntu - vmlinuz-2.6.35-25-generic" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,5)
+
      search --no-floppy --fs-uuid --set ea51ad64-c946-4a66-96d9-8b77929a1490
+
      linux /mnt/kubuntu/boot/vmlinuz-2.6.35-25-generic root=/dev/sda5 root=/dev/sda7 rootfstype=ext4
+
      initrd /mnt/kubuntu/boot/initrd.img-2.6.35-25-generic
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Kubuntu - vmlinuz-2.6.35-27-generic" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,5)
+
      search --no-floppy --fs-uuid --set ea51ad64-c946-4a66-96d9-8b77929a1490
+
      linux /mnt/kubuntu/boot/vmlinuz-2.6.35-27-generic root=/dev/sda5 root=/dev/sda7 rootfstype=ext4
+
      initrd /mnt/kubuntu/boot/initrd.img-2.6.35-27-generic
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Archlinux - vmlinuz26" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,6)
+
      search --no-floppy --fs-uuid --set 974dd00d-cc64-4976-b3b2-343c7cba5089
+
      linux /mnt/archlinux/boot/vmlinuz26 root=/dev/sda6 root=/dev/sda7 rootfstype=ext4
+
      initrd /mnt/archlinux/boot/kernel26.img
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Funtoo Linux genkernel - kernel-genkernel-x86_64-2.6.38-gentoo" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,7)
+
      search --no-floppy --fs-uuid --set 4471030c-d546-417f-bb19-2894097bed00
+
      linux /boot/kernel-genkernel-x86_64-2.6.38-gentoo real_root=/dev/sda7
+
      initrd /boot/initramfs-genkernel-x86_64-2.6.38-gentoo
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Windows 7" {
+
      insmod part_msdos
+
      insmod ntfs
+
      set root=(hd0,1)
+
      search --no-floppy --fs-uuid --set c49a2d649a2d5468
+
      chainloader +4
+
    }
+
    set default=0
+
</pre>
+
 
+
For his concern, he expected to have this :
+
<pre>
+
    menuentry "Kubuntu - vmlinuz-2.6.35-25-generic" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,5)
+
      linux /boot/vmlinuz-2.6.35-25-generic root=/dev/sda5 rootfstype=ext4
+
      initrd /boot/initrd.img-2.6.35-25-generic
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Kubuntu - vmlinuz-2.6.35-27-generic" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,5)
+
      linux /boot/vmlinuz-2.6.35-27-generic root=/dev/sda5 rootfstype=ext4
+
      initrd /boot/initrd.img-2.6.35-27-generic
+
      set gfxpayload=keep
+
    }
+
 
+
    menuentry "Archlinux - vmlinuz26" {
+
      insmod part_msdos
+
      insmod ext2
+
      set root=(hd0,6)
+
      linux /boot/vmlinuz26 root=/dev/sda6 rootfstype=ext4
+
      initrd /mnt/boot/kernel26.img
+
      set gfxpayload=keep
+
    }
+
</pre>
+
 
+
Daniel, it's not a big deal, because he changed the linux path and now it's working good, until the next time that he run boot-update :P
+
 
+
=== April 2011 TODO ===
+
  
 
For April 2011, I want the Core Team to start messing with the Funtoo 1.0 profile and getting it ready for use. I have a new alpha-quality profile tree <tt>profiles/funtoo/1.0/linux-gnu/</tt> that needs some love. The older Funtoo 1.0 profile is still there but the tree in <tt>profiles/funtoo/1.0/linux-gnu/</tt> is what I want to work on and refine and get production-ready.
 
For April 2011, I want the Core Team to start messing with the Funtoo 1.0 profile and getting it ready for use. I have a new alpha-quality profile tree <tt>profiles/funtoo/1.0/linux-gnu/</tt> that needs some love. The older Funtoo 1.0 profile is still there but the tree in <tt>profiles/funtoo/1.0/linux-gnu/</tt> is what I want to work on and refine and get production-ready.

Latest revision as of 00:37, 26 January 2012


Only add new TODOs to this page after discussing it with Daniel or the Core Team Lead so we know what the bullet items are about :)


Contents

[edit] Funtoo TODO

[edit] January 2012

Efforts:

  • automate gentoo-compare.py email to core team
  • Aboriginal Linux integration - build a stage1 from an Aboriginal install. Get Metro to use it and not die. Keep pushing forward.
  • Set up redmine for bug tracker (on slashbeast's TODO - he has a VE for it)
  • Funtoo Profile 1.0 - time to get these done. Deploy without tweaked portage
  • Portage Tree
    • Portage-mini-2012 - need a new tree (Daniel's TODO)
    • Explore ways to have a "dev" tree that users can commit to directly (Mirell's idea, anyone can look into it)
  • Portage
    • Rebase Portage on zmedico's latest.
    • Make default merge strategy be rebase, to preserve local commits (one step in the right direction...)
  • Openrc. 0.8.x base not updated for a long time, possibly have bugs.
    • engage with gentoo devs on openrc bug fixing
    • roll out a new release
  • New Sparc64 images using Portage-mini-2012 - (Adessemond's TODO)
  • Relaunch experimental:
    • new perl 5.14
    • new progress overlay (Afrever)
    • anything else?
  • WAR ON EMAIL
    • Make Postfix better
      • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214741 (qiyong on #funtoo is looking into a patch...)
      • Update: best fix is to auto-gen the default config with myhostname set to $(hostname --fqdn) - then user change change system's hostname without potentially breaking mail as a side-effect, but the user has a reasonable default to start.
    • Get good mutt configs on wiki Mutt
    • Use these configs to get an awesome mutt default config:
      • up arrow scrolls up a line
      • down arrow scrolls down a line
      • do NOT automatically jump to next message at end (set pager_stop)
      • some COLOR, please
      • Show time, not just day in list view
    • Maybe even try to get an integrated forum/ML software off the ground, at least in beta
  • Grub upgrade?
  • bump LVM to latest - IN PROGRESS
    • new lvm2-2.02.88 in funtoo-overlay (no keywords, for testing... builds fine here.) (drobbins)
    • was accidentally bumped to stable, now back masked, needs review of initscripts which were just pulled in from gentoo and needs to be compared to our versions.
  • new udev-177 with no keywords in funtoo-overlay for testing...
  • genkernel/initramfs needs to mount /usr prior to init taking over:
  • EPIC CRON BATTLE
  • our rsnapshot is borked - fixed. 1.3.1-r2 was the only one left, but it is masked and broken. restored 1.3.1-r1

[edit] June 2011

  • Core Team:
    • Test Installs from Stage3 - important :)
    • Troubleshoot any issues with OpenRC 0.8 and document bugs clearly so I can investigate.
    • Clean out funtoo-staging mask gradually as packages have been tested (hold off on openrc-0.8)
  • Funtoo Profile 1.0 Prep
    • We need to update the Unified Configuration page and the Funtoo 1.0 Profile page. The Funtoo 1.0 Profile page should read like a HOWTO.
    • We need a new eselect profile implementation to choose arch, stable/current, flavor, mix-in(s), etc. and help users not mess things up too much.
    • More copies of Gentoo files need to be converted to symbolic links to ease maintenance. (I did 2 of them, several more to go.) We don't want to have to periodically sync with Gentoo manually.
  • Daniel:
    • GLEPS that need to be worked on:
      • uid/gid Management GLEP
      • Unified Configuration GLEP
      • Funtoo-style Profile GLEP
    • Check this boot-update bug with the scan command : http://forums.funtoo.org/viewtopic.php?pid=2706 (It's been there for a while now.) - Daniel needs to do a boot-update rewrite.
    • Need to add feature to Portage to auto-update git tree to new repository (portage-mini-2011)

[edit] April 2011

For April 2011, I want the Core Team to start messing with the Funtoo 1.0 profile and getting it ready for use. I have a new alpha-quality profile tree profiles/funtoo/1.0/linux-gnu/ that needs some love. The older Funtoo 1.0 profile is still there but the tree in profiles/funtoo/1.0/linux-gnu/ is what I want to work on and refine and get production-ready.

Overhauling ebuilds - Core Team members who have completed their initial training of moving one key ebuild from masked to testing to current to stable can now proceed with the next step of the Core Team training - overhauling an ebuild. The way this works is that you find an ebuild that is a key part of Funtoo, but not too dangerous to improve (not gcc, glibc, etc.) and you look at all open Gentoo bugs for the ebuild. You try to fix as many as you can. Then you also look at ways to make the ebuild more elegant and simpler, so it is easier to maintain. You also look at Debian and maybe even CentOS packages for potential fixes that Gentoo is missing, and consider adding them to Funtoo. The idea here is to get an ebuild into top shape with all open bugs fixed, and to really spend some quality time making a particular ebuild a shining example of Funtoo. There is also a competitive aspect - we want to offer the best ebuilds we can. Details are important.

To start this overhauling process, find an ebuild you would like to work on and chat with Daniel about it.

[edit] Updating Ebuilds

For information on how to update ebuilds, see Updating Ebuilds.

[edit] The Fundamentals

Distros get better by focusing on the fundamentals. We'll be focusing on the install experience for a while, until it is great. The tasks below reflect this. If you have other ideas on how to improve the installation process, we're certainly open to them.

[edit] Test Installs

I need people to test a Funtoo install from stage3, and note any problems. We do this for several reasons - first, to identify bugs that we should fix; second, to identify weird issues that are not bugs but are areas that should be improved, and third, to look for general improvements to the install process, such as improving default config files, etc. which could result in a simpler install process. If you want, you can document your experiences on the wiki, here: Usability Testing.

[edit] Funtoo Quick Install Guide

We need to wrap up the Funtoo Quick Install Guide. I have edited quite a bit to get things simpler. GPT/GUID should be the default partitioning method. The instructions should be easy to understand and uncomplicated.

[edit] Genkernel Install

The Quick Install Guide should document how to install a kernel using genkernel. Right now, the funtoo-quebec guide shows manual kernel building which is not "quick". We should offer a genkernel option so that people who want a truly quick install can do it. [404 Error]

[edit] Default Kernel Sources/Binaries

We need to identify a default "desktop/general-purpose" kernel source tree as well as a general "server" kernel source tree that we need to offer as defaults to end-users. I encourage all core team members to look into this, and offer their suggestions, and start playing around here. Ideally these kernels should be relatively modern, but also leverage existing well-tested source trees so we get to leverage the testing that other distributions have performed, and benefit from their QA.

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff