Development/ROSA FRESH Stability plan

From Rosalab Wiki
Revision as of 15:42, 13 August 2013 by Akdengi (Talk | contribs) (pm-utils replace via systemd)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a page snapshot, showing old (but not deleted) versions of images and templates.
Jump to: navigation, search

Plan for ROSA Fresh future stabity and fixing


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
  • os-prober
  • kcm-grub

pam file

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

also we need use USER=root in all console.apps files.

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
  • Drop pm-utils requires
  • Patch upower for use systemd

Package

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

pm-utils fix for backward compartibility

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%

Reason: 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

Solution:

  • Drop consolekit in accountservice and x11 package.
  • Drop related to policykit parts.
  • Don't use Consolekit and Policykit in ISO (drop consolekit, consolekit-x11, policykit).
  • Add accountservice to systemd presets

Packages:

  • accountsservice
  • xinit
  • python-slip
  • systemd

kernel 3.8.12

  • Kernel 3.8.12 is prepared for update and is already on QA
  • 3.8.12 is close to 3.9 patchset
  • disabled zswap and BFQ to provide better stability
  • improved hardware support
  • updated proprietary driver stack

systemd 194

  • patched for better greeter support

dracut

  • sync to the 27 version ( better 3.8 kernel support and some bugfixes)
  • enable hostonly by default
  • set hostonly=no for iso build system
  • text boot theme is default for live boot and install boot

azure

  • built azure CLI client for ROSA
  • build WAlinuxagent for ROSA
  • kernel updated to 3.8 version ( better hyperv support )