Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category Any
  • Assigned To
    coadde
    Emulatorman
  • Operating System All
  • Severity Very Low
  • Priority Low
  • Reported Version Any
  • Due in Version Starfix
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by coadde - 15/04/2018
Last edited by Emulatorman - 07/05/2018

FS#701 - [openrc] services should be added to runlevels through installing process only

The OpenRC services should be added to runlevels through installing process instead be forced each time when openrc package is upgraded, because some sysadmins need customize them and are useful for Xen environments.

Example:

rc-update
                  ... |
          agetty.tty1 |      default                                 
         agetty.tty10 |      default                                 
         agetty.tty11 |      default                                 
         agetty.tty12 |      default                                 
          agetty.tty2 |      default                                 
          agetty.tty3 |      default                                 
          agetty.tty4 |      default                                 
          agetty.tty5 |      default                                 
          agetty.tty6 |      default                                 
          agetty.tty7 |      default                                 
          agetty.tty8 |      default                                 
          agetty.tty9 |      default                                 
                  ... |
                 swap | boot                                         
                  ... |
rc-update del swap boot
rc-update del agetty.tty{12,11,10,9,8,7,6,5,4,3,2,1}
rc-update add agetty.tty{1,2,3} system # "system" runlevel runs after "default" runlevel
rc-update
                  ... |
          agetty.tty1 |                                        system
         agetty.tty10 |                                        system
         agetty.tty11 |                                        system
         agetty.tty12 |                                              
          agetty.tty2 |                                              
          agetty.tty3 |                                              
          agetty.tty4 |                                              
          agetty.tty5 |                                              
          agetty.tty6 |                                              
          agetty.tty7 |                                              
          agetty.tty8 |                                              
          agetty.tty9 |                                              
                  ... |
pacman -Sy openrc
rc-update
                  ... |
          agetty.tty1 |      default                           system
         agetty.tty10 |      default                           system
         agetty.tty11 |      default                           system
         agetty.tty12 |      default                                 
          agetty.tty2 |      default                                 
          agetty.tty3 |      default                                 
          agetty.tty4 |      default                                 
          agetty.tty5 |      default                                 
          agetty.tty6 |      default                                 
          agetty.tty7 |      default                                 
          agetty.tty8 |      default                                 
          agetty.tty9 |      default                                 
                  ... |
                 swap | boot                                         
                  ... |
Closed by  Emulatorman
07.05.2018 21:28
Reason for closing:  Implemented
Admin

Looping commands aren't working with vercmp as condition from install file (see FS#719), so i'm changing status to deferred with undecided date.

Admin

coadde found the issue! vercmp should be used with "(" instead of "[" from the install file since it's being used as arithmetic evaluation. I've released openrc-0.28-14 with those changes.

Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing