Difference between revisions of "Development/ROSA FRESH Stability plan"

From Rosalab Wiki
Jump to: navigation, search
(Usermode change)
(Usermode change)
Line 76: Line 76:
 
  account include config-util-user
 
  account include config-util-user
 
  session include config-util-user
 
  session include config-util-user
 +
 +
'''Package'''
  
 
===pm-utils replace via systemd===
 
===pm-utils replace via systemd===

Revision as of 07:55, 13 February 2013

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: 80%

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
  • urpmi
  • mdkonline

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

pam file

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

Package

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)