Development/ROSA FRESH Stability plan

From Rosalab Wiki
Revision as of 14:23, 20 May 2013 by Akdengi (Talk | contribs) (Drop ConsoleKit and PolicyKit)

Jump to: navigation, search

Plan for ROSA Fresh future stabity and fixing

Moving /var/run and /var/log to /run as symlink to old place

Done: 80%

Reason: Moving this part to tmpfs need for upstream update

Problem: We need Usermode Change to properly work some instruments, like update, drakx utilites, etc

Solution:

Fixed filesystem package:

systemd:

Usermode change

Done: 100%

Reason: We need drop Mandriva changes and use more vanilla rules for Consolehelper. We need using vanilla config-utils, and Fedora-like service/utilites support.

Problem: Some tools, like update or drakclock need using running without root password and this not possible in vanilla code and drop mandriva-system-auth and mandriva-console-auth...

Solution:

We will need fix this package:

  • drakxtools
  • drakx-kbd-mouse-X11
  • texlive-tlpkg (TODO: moving apps part to /etc/security/console.apps)
  • rpmdrake
  • drakx-net
  • userdrake
  • urpmi
  • system-config-samba
  • system-config-service
  • mdkonline
  • hplip
  • drakconf-legacy
  • gparted
  • msec
  • mdkonline
  • kcm-rpmdrake-sources

More utilites/tools need using this PAM code

#%PAM-1.0
auth		include		config-util
account		include		config-util
session		include		config-util

But we need create file config-util-user with

#%PAM-1.0
auth 		sufficient	pam_permit.so
auth		sufficient	pam_timestamp.so
auth		include		system-auth
account		required	pam_permit.so
session		required	pam_permit.so
session		optional	pam_xauth.so
session		optional	pam_timestamp.so

And using in this utils

  • MandrivaUpdate
  • xfdrake
  • drakclock
  • drakfont
  • drakkeyboard
  • drakmouse
  • draknetcenter
  • xfdrake
  • urpmi.update

pam file

#%PAM-1.0
auth		include		config-util-user
account		include		config-util-user
session		include		config-util-user

pm-utils replace via systemd

Done: 95%

Reason: Using pm-utils now is deprecated. For acpi we need use systemd (poweroff, hibernate, etc). If will we try use both - will have any problems, like two step poweroff, sleep before poweroff and other. We need stop using pm-fallback-policy and replace needing rules by Fedora power.sh script

Problem: All DE need patching for using systemd. We will need investigate full drop pm-utils and pm-fallback-policy from repo.

Solution:

  • In pm-utils spec pm-fallback-policy now as Suggest
  • Acpid patched for using /etc/acpi/actions/power.sh and /etc/acpi/events/powerconf
  • All part tested in KDE4, Gnome3 and LXDE

Package

  • acpid-2.0.17-3 (in repo)
  • pm-utils-1.4.1-7 (in repo)

Move DM to systemd instead init

Done: 100%

Reason: Using inti scripts for select and start DM are not usefull and provide more errors with syncing boot modes. We will need use systemd-releated way - install DM.service and create symlink to display-service for properly DM. Also we will need add presets for systemd for DM services. Now for change DM we need use or

systemctl disable xyz_old.service
systemctl enable xyz_new.service

or drakedm

Solution:

Patch DM for use systemd and add services. Patch systemd. Drop lookupdm and prefdm from /etc/X11. In build ISO scripts add

systemctl enable xyzDM.service

Patch drakedm.

Package:

  • GDM
  • KDM
  • XDM
  • LightDM
  • SLiM
  • initcripts
  • drakxtools

Drop Drakx-net part

Done: 90%

ROSA use NM. We need only clear Network (CLI) and NM. We don't need use Drakxnet anymore

Solution

  • Full drop use drakxnet.
  • Drop Mandriva network init scripts.
  • Also some package still in use: drakproxy, drakfirewall, drakhosts.
  • Fix hardrake to use NM.
  • Move NM to rh plugin - use in /etc/NetworkManager/NetworkManager.conf
plugins=ifcfg-rh,keyfile

Package

  • initscripts
  • drakx-net
  • networkmanager

Drop ConsoleKit and PolicyKit

Done: 90%

Reason: Obsolete part

kernel 3.6.11

  • Kernel 3.6.11 is prepared for update and is already on QA
  • Main features are 3.6.11 usual changelog and broadcom driver fixes

systemd 197

  • Disable uclibc by default
  • Add if conditions for rosa2012.1 and possibly sync it to cooker
  • Fix main bugs ( network, systemd-analyze crashes )


dracut

  • sync the latest bugfixes
  • enable hostonly by default
  • set hostonly=no for iso build system