Skip to main content
Topic: openrc scambled (Read 4508 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

openrc scambled

This latest updte has scrambled my booting and networking on my workstation and I am not even sure how to shake it out.  For of all it says that it can't open a log file.

Quote
May  5 16:01:56 flatbush openrc[1847]: Error: fopen(/run/openrc/rc.log) failed: No such file or directory

I can't just touch that file and create it because I know that /run is a temp directory that is created on bootup.

/etc/init.d/net.eno1 says it is started, but I am getting no IP4 addresses from DHCPD
/etc/init.d/dhcpd also says it is started - I have to restart it for it to work

It looks like /etc/conf.d/net is being ignored.



Re: openrc scambled

Reply #1
Code: [Select]
[flatbush ~]# grep -v '^#'  /etc/conf.d/net|grep -v '^$'
config_eno1="10.0.0.62/24"
modules="dhcpcd" # to select dhclient over dhcpcd
config_eno1="dhcp"


Re: openrc scambled

Reply #2
I can only contribute to the title of the thread
scambled is not a word as far as I know :)

https://github.com/OpenRC/openrc/blob/master/src/rc/rc-logger.c
https://forum.artixlinux.org/index.php/topic,56.10.html 

Wild guess on problem?  Hopefully you maintain your cache as I do, see what was upgraded and revert what you suspect to see if it changes anything.  Always a quick fix, but says nothing about diagnosis and cure.
To me it seems as priorities mixed and a required delay, something gets hanged up and delays doing something while something else expects it already done.  Possibly between the /tmpfs system and the real rooting.  I have switched from openrc to runit so I can't speculate what that may be, nor did I ever dig in openrc/sysvinit so much.  So dhcpd starts up without the necessary work done for it before it does.  Can something so vague be of help?  Can you have dhcp start a few seconds later?  Review your /etc/rc.conf


PS  Unrelated upgrade: I have a hunch that both the way js52 installed and something related to is causing problems.  For one it didn't know what to do with its own library file and couldn't replace it until you manually removed it (or renamed it).  I suspect this is an arch glitch that was passed on to us, but artix js52 is not identical to arch's.  So I am still experimenting what causes a freeze in palemoon.  If I deduce something related to it I will report, but it is only speculation.  Same version of pm has been functional and solid for a while.  It is some late upgrade that is messing with it.

Re: openrc scambled

Reply #3
This latest updte has scrambled my booting and networking on my workstation and I am not even sure how to shake it out.  For of all it says that it can't open a log file.

I can't just touch that file and create it because I know that /run is a temp directory that is created on bootup.

/etc/init.d/net.eno1 says it is started, but I am getting no IP4 addresses from DHCPD
/etc/init.d/dhcpd also says it is started - I have to restart it for it to work

It looks like /etc/conf.d/net is being ignored.



Your problem is that you are using 2 network managers at the same time, so naturally they conflict. You have to choose between dhcpcd and netifrc, you can't use both.
Chris Cromer

Re: openrc scambled

Reply #4
Openrc seems scambled to me too!
Code: [Select]
/var/log/pacman.log
[2018-05-05 20:59] [PACMAN] Running 'pacman -Syyu'
[2018-05-05 20:59] [PACMAN] synchronizing package lists
[2018-05-05 21:02] [PACMAN] starting full system upgrade
[2018-05-05 22:43] [PACMAN] Running 'pacman -Syu'
[2018-05-05 22:43] [PACMAN] synchronizing package lists
[2018-05-05 22:43] [PACMAN] starting full system upgrade
[2018-05-05 22:43] [ALPM] transaction started
[2018-05-05 22:43] [ALPM] upgraded libidn (1.33-2 -> 1.34-2)
[2018-05-05 22:43] [ALPM] upgraded pacman (5.0.2-12 -> 5.0.2-14)
[2018-05-05 22:43] [ALPM] upgraded opensysusers (0.4.7-2 -> 0.4.7-3)
[2018-05-05 22:43] [ALPM] upgraded dhcpcd (7.0.1-1 -> 7.0.4-1)
[2018-05-05 22:43] [ALPM] upgraded kmod-openrc (20180428-1 -> 20180502-1)
[2018-05-05 22:43] [ALPM] upgraded eudev-openrc (32-5 -> 32-6)
[2018-05-05 22:43] [ALPM] upgraded file (5.32-1 -> 5.33-1)
[2018-05-05 22:43] [ALPM] upgraded freetype2 (2.9-2 -> 2.9.1-1)
[2018-05-05 22:44] [ALPM] upgraded js52 (52.7.3-1 -> 52.7.3-2)
[2018-05-05 22:44] [ALPM] upgraded libaio (0.3.110-1 -> 0.3.111-1)
[2018-05-05 22:44] [ALPM] upgraded linux-firmware (20180314.4c0bf11-1 -> 20180416.b562d2f-1)
[2018-05-05 22:44] [ALPM] upgraded man-pages (4.15-1 -> 4.16-1)
[2018-05-05 22:44] [ALPM] upgraded mesa (18.0.1-1 -> 18.0.2-1)
[2018-05-05 22:44] [ALPM] upgraded opensysusers-openrc (0.4.7-2 -> 0.4.7-3)
[2018-05-05 22:44] [ALPM] upgraded opentmpfiles (0.1.3-8 -> 0.1.3-9)
[2018-05-05 22:44] [ALPM] upgraded opentmpfiles-openrc (0.1.3-8 -> 0.1.3-9)
[2018-05-05 22:44] [ALPM] upgraded python2 (2.7.14-3 -> 2.7.15-1)
[2018-05-05 22:44] [ALPM] transaction completed
I had to delete a .so symlink too, but that is some javascript related package, I don't think it would affect boot.
sudo rm /usr/lib/libmozjs-52.so.0
pacman -Qo said it wasn't owned by any package. It was replaced by the new package, but as a file not a symlink:
ls -l /usr/lib/libmozjs-52.so.0
-rwxr-xr-x 1 root root 21711240 May  4 19:29 /usr/lib/libmozjs-52.so.0

The 1st time I have seen a boothang was after upgrading yesterday.
There was no login message and no other tty's were available, ctrl alt delete worked and it rebooted normally.
But before this, I have had to set a getty autologin on tty1 as for some reason it refused to switch to tty7 with autologin until I pressed alt F7.
I was using the same config which works fine on another Artix PC, so I suspect a race issue - or a missing package, this has much less installed and an ssd.
Booting today, no changes but no problems either.
To try and stop this, I have already set this in /etc/rc.conf, but with no change:
rc_parallel="NO"

There was this error at the failed boot, only 2 other occurrences of this have happened (with no issues) in the last week or so looking in rc.log.
Call to flock failed: Resource temporarily unavailable

$ ag -u "flock failed"
openrc/openrc-master/src/rc/rc-misc.c
231:            eerror("Call to flock failed: %s", strerror(errno));

openrc/openrc30-4-18/openrc-master/src/rc/rc-misc.c
245:            eerror("Call to flock failed: %s", strerror(errno));

(The different line numbers in the 2 versions I had in that dir suggest changes being made around here!)
Installed  version:  openrc 0.35.5-12. It begins with 0 which means it's still being developed. A stable 1 release is hoped for in future.

This is a long standing bug:
Error: fopen(/run/openrc/rc.log) failed: No such file or directory
It doesn't seem to cause a problem in itself, but disabling logging in /etc/rc.conf stops the error message (and the logging.)

The unstable release of Pale Moon is working perfectly for me so far: Version: 27.9.1a1 (64-bit) (2018-04-25)
No trouble with the stable version either, both are binaries from the Pale Moon site.

I have netifrc too it seems, although I have never done anything with it, as I just start dhcpcd and wpa-supplicant in a terminal to connect.
$ pacman -Qs netifrc
local/netifrc 0.6.0-3
    Gentoo Network Interface Management Scripts
No network issues here though, just boot scambling.

Re: openrc scambled

Reply #5
Openrc seems scambled to me too!
Code: [Select]
/var/log/pacman.log
[2018-05-05 20:59] [PACMAN] Running 'pacman -Syyu'
[2018-05-05 20:59] [PACMAN] synchronizing package lists
[2018-05-05 21:02] [PACMAN] starting full system upgrade
[2018-05-05 22:43] [PACMAN] Running 'pacman -Syu'
[2018-05-05 22:43] [PACMAN] synchronizing package lists
[2018-05-05 22:43] [PACMAN] starting full system upgrade
[2018-05-05 22:43] [ALPM] transaction started
[2018-05-05 22:43] [ALPM] upgraded libidn (1.33-2 -> 1.34-2)
[2018-05-05 22:43] [ALPM] upgraded pacman (5.0.2-12 -> 5.0.2-14)
[2018-05-05 22:43] [ALPM] upgraded opensysusers (0.4.7-2 -> 0.4.7-3)
[2018-05-05 22:43] [ALPM] upgraded dhcpcd (7.0.1-1 -> 7.0.4-1)
[2018-05-05 22:43] [ALPM] upgraded kmod-openrc (20180428-1 -> 20180502-1)
[2018-05-05 22:43] [ALPM] upgraded eudev-openrc (32-5 -> 32-6)
[2018-05-05 22:43] [ALPM] upgraded file (5.32-1 -> 5.33-1)
[2018-05-05 22:43] [ALPM] upgraded freetype2 (2.9-2 -> 2.9.1-1)
[2018-05-05 22:44] [ALPM] upgraded js52 (52.7.3-1 -> 52.7.3-2)
[2018-05-05 22:44] [ALPM] upgraded libaio (0.3.110-1 -> 0.3.111-1)
[2018-05-05 22:44] [ALPM] upgraded linux-firmware (20180314.4c0bf11-1 -> 20180416.b562d2f-1)
[2018-05-05 22:44] [ALPM] upgraded man-pages (4.15-1 -> 4.16-1)
[2018-05-05 22:44] [ALPM] upgraded mesa (18.0.1-1 -> 18.0.2-1)
[2018-05-05 22:44] [ALPM] upgraded opensysusers-openrc (0.4.7-2 -> 0.4.7-3)
[2018-05-05 22:44] [ALPM] upgraded opentmpfiles (0.1.3-8 -> 0.1.3-9)
[2018-05-05 22:44] [ALPM] upgraded opentmpfiles-openrc (0.1.3-8 -> 0.1.3-9)
[2018-05-05 22:44] [ALPM] upgraded python2 (2.7.14-3 -> 2.7.15-1)
[2018-05-05 22:44] [ALPM] transaction completed
I had to delete a .so symlink too, but that is some javascript related package, I don't think it would affect boot.
sudo rm /usr/lib/libmozjs-52.so.0
pacman -Qo said it wasn't owned by any package. It was replaced by the new package, but as a file not a symlink:
ls -l /usr/lib/libmozjs-52.so.0
-rwxr-xr-x 1 root root 21711240 May  4 19:29 /usr/lib/libmozjs-52.so.0

The 1st time I have seen a boothang was after upgrading yesterday.
There was no login message and no other tty's were available, ctrl alt delete worked and it rebooted normally.
But before this, I have had to set a getty autologin on tty1 as for some reason it refused to switch to tty7 with autologin until I pressed alt F7.
I was using the same config which works fine on another Artix PC, so I suspect a race issue - or a missing package, this has much less installed and an ssd.
Booting today, no changes but no problems either.
To try and stop this, I have already set this in /etc/rc.conf, but with no change:
rc_parallel="NO"

There was this error at the failed boot, only 2 other occurrences of this have happened (with no issues) in the last week or so looking in rc.log.
Call to flock failed: Resource temporarily unavailable

$ ag -u "flock failed"
openrc/openrc-master/src/rc/rc-misc.c
231:            eerror("Call to flock failed: %s", strerror(errno));

openrc/openrc30-4-18/openrc-master/src/rc/rc-misc.c
245:            eerror("Call to flock failed: %s", strerror(errno));

(The different line numbers in the 2 versions I had in that dir suggest changes being made around here!)
Installed  version:  openrc 0.35.5-12. It begins with 0 which means it's still being developed. A stable 1 release is hoped for in future.

This is a long standing bug:
Error: fopen(/run/openrc/rc.log) failed: No such file or directory
It doesn't seem to cause a problem in itself, but disabling logging in /etc/rc.conf stops the error message (and the logging.)

The unstable release of Pale Moon is working perfectly for me so far: Version: 27.9.1a1 (64-bit) (2018-04-25)
No trouble with the stable version either, both are binaries from the Pale Moon site.

I have netifrc too it seems, although I have never done anything with it, as I just start dhcpcd and wpa-supplicant in a terminal to connect.
$ pacman -Qs netifrc
local/netifrc 0.6.0-3
    Gentoo Network Interface Management Scripts
No network issues here though, just boot scambling.
Regarding your log error messages, could you post the output of:
# rc-status --all

As far as networking goes, just having netifrc installed does not mean it is used. If you create a net.x file and add it to your openrc runlevel then it is used. You have netifrc installed, but you don't actually use it. The problem with mrbrklyn is that he has both installed and is using both. He needs to turn one of them off and only use that one.
Chris Cromer

Re: openrc scambled

Reply #6
Code: [Select]
Runlevel: boot
 hwclock                                                           [  started  ]
 modules                                                           [  started  ]
 fsck                                                              [  started  ]
 root                                                              [  started  ]
 mtab                                                              [  started  ]
 swap                                                              [  started  ]
 localmount                                                        [  started  ]
 sysctl                                                            [  started  ]
 bootmisc                                                          [  started  ]
 net.lo                                                            [  started  ]
 elogind                                                           [  started  ]
 termencoding                                                      [  started  ]
 procfs                                                            [  started  ]
 loopback                                                          [  started  ]
 binfmt                                                            [  started  ]
 urandom                                                           [  started  ]
 hostname                                                          [  started  ]
 keymaps                                                           [  started  ]
 opensysusers                                                      [  started  ]
 opentmpfiles-setup                                                [  started  ]
Runlevel: sysinit
 sysfs                                                             [  started  ]
 devfs                                                             [  started  ]
 udev                                                              [  started  ]
 consolelogga                                                      [  started  ]
 cgroups                                                           [  started  ]
 dmesg                                                             [  started  ]
 kmod-static-nodes                                                 [  started  ]
 opentmpfiles-dev                                                  [  started  ]
 udev-trigger                                                      [  started  ]
Runlevel: default
 syslog-ng                                                         [  started  ]
 cronie                                                            [  started  ]
 dbus                                                              [  started  ]
 netmount                                                          [  stopped  ]
 local                                                             [  started  ]
 agetty.tty7                                           [  started 00:06:51 (0) ]
 agetty.tty3                                           [  started 00:06:51 (0) ]
 agetty.tty5                                           [  started 00:06:51 (0) ]
 agetty.tty1                                           [  started 00:06:51 (0) ]
 agetty.tty2                                           [  started 00:06:51 (0) ]
 agetty.tty6                                           [  started 00:06:51 (0) ]
 agetty.tty4                                           [  started 00:06:51 (0) ]
Runlevel: shutdown
 savecache                                                         [  stopped  ]
 killprocs                                                         [  stopped  ]
 mount-ro                                                          [  stopped  ]
Runlevel: nonetwork
 local                                                             [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 modules-load                                                      [  started  ]
Dynamic Runlevel: manual

Re: openrc scambled

Reply #7
Everything looks normal there. What do you have in /etc/rc.conf?
Chris Cromer

Re: openrc scambled

Reply #8
Code: [Select]
# Global OpenRC configuration settings

# Set to "YES" if you want the rc system to try and start services
# in parallel for a slight speed improvement. When running in parallel we
# prefix the service output with its name as the output will get
# jumbled up.
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!
#rc_parallel="NO"
rc_parallel="NO"

# Set rc_interactive to "YES" and you'll be able to press the I key during
# boot so you can choose to start specific services. Set to "NO" to disable
# this feature. This feature is automatically disabled if rc_parallel is
# set to YES.
#rc_interactive="YES"

# If we need to drop to a shell, you can specify it here.
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
# otherwise /bin/sh
# Linux users could specify /sbin/sulogin
rc_shell=/usr/bin/sulogin

# Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
#rc_depend_strict="YES"

# rc_hotplug controls which services we allow to be hotplugged.
# A hotplugged service is one started by a dynamic dev manager when a matching
# hardware device is found.
# Hotplugged services appear in the "hotplugged" runlevel.
# If rc_hotplug is set to any value, we compare the name of this service
# to every pattern in the value, from left to right, and we allow the
# service to be hotplugged if it matches a pattern, or if it matches no
# patterns. Patterns can include shell wildcards.
# To disable services from being hotplugged, prefix patterns with "!".
#If rc_hotplug is not set or is empty, all hotplugging is disabled.
# Example - rc_hotplug="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be hotplugged.
# Example - rc_hotplug="!net.*"
# This allows services that do not match "net.*" to be hotplugged.

# rc_logger launches a logging daemon to log the entire rc process to
# /var/log/rc.log
# NOTE: Linux systems require the devfs service to be started before
# logging can take place and as such cannot log the sysinit runlevel.
rc_logger="YES"

# Through rc_log_path you can specify a custom log file.
# The default value is: /var/log/rc.log
#rc_log_path="/var/log/rc.log"

# If you want verbose output for OpenRC, set this to yes. If you want
# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
#rc_verbose=no

# By default we filter the environment for our running scripts. To allow other
# variables through, add them here. Use a * to allow all variables through.
#rc_env_allow="VAR1 VAR2"

# By default we assume that all daemons will start correctly.
# However, some do not - a classic example is that they fork and return 0 AND
# then child barfs on a configuration error. Or the daemon has a bug and the
# child crashes. You can set the number of milliseconds start-stop-daemon
# waits to check that the daemon is still running after starting here.
# The default is 0 - no checking.
#rc_start_wait=100

# rc_nostop is a list of services which will not stop when changing runlevels.
# This still allows the service itself to be stopped when called directly.
#rc_nostop=""

# rc will attempt to start crashed services by default.
# However, it will not stop them by default as that could bring down other
# critical services.
#rc_crashed_stop=NO
#rc_crashed_start=YES

# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
# output.
#rc_nocolor=NO

##############################################################################
# MISC CONFIGURATION VARIABLES
# There variables are shared between many init scripts

# Set unicode to YES to turn on unicode support for keyboards and screens.
unicode="YES"

# This is how long fuser should wait for a remote server to respond. The
# default is 60 seconds, but  it can be adjusted here.
#rc_fuser_timeout=60

# Below is the default list of network fstypes.
#
# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
# nfs nfs4 ocfs2 shfs smbfs
#
# If you would like to add to this list, you can do so by adding your
# own fstypes to the following variable.
#extra_net_fs_list=""

##############################################################################
# SERVICE CONFIGURATION VARIABLES
# These variables are documented here, but should be configured in
# /etc/conf.d/foo for service foo and NOT enabled here unless you
# really want them to work on a global basis.
# If your service has characters in its name which are not legal in
# shell variable names and you configure the variables for it in this
# file, those characters should be replaced with underscores in the
# variable names as shown below.

# Some daemons are started and stopped via start-stop-daemon.
# We can set some things on a per service basis, like the nicelevel.
#SSD_NICELEVEL="-19"
# Or the ionice level. The format is class[:data] , just like the
# --ionice start-stop-daemon parameter.
#SSD_IONICELEVEL="2:2"

# Pass ulimit parameters
# If you are using bash in POSIX mode for your shell, note that the
# ulimit command uses a block size of 512 bytes for the -c and -f
# options
#rc_ulimit="-u 30"

# It's possible to define extra dependencies for services like so
#rc_config="/etc/foo"
#rc_need="openvpn"
#rc_use="net.eth0"
#rc_after="clock"
#rc_before="local"
#rc_provide="!net"

# You can also enable the above commands here for each service. Below is an
# example for service foo.
#rc_foo_config="/etc/foo"
#rc_foo_need="openvpn"
#rc_foo_after="clock"

# Below is an example for service foo-bar. Note that the '-' is illegal
# in a shell variable name, so we convert it to an underscore.
# example for service foo-bar.
#rc_foo_bar_config="/etc/foo-bar"
#rc_foo_bar_need="openvpn"
#rc_foo_bar_after="clock"

# You can also remove dependencies.
# This is mainly used for saying which services do NOT provide net.
#rc_net_tap0_provide="!net"

# This is the subsystem type.
# It is used to match against keywords set by the keyword call in the
# depend function of service scripts.
#
# It should be set to the value representing the environment this file is
# PRESENTLY in, not the virtualization the environment is capable of.
# If it is commented out, automatic detection will be used.
#
# The list below shows all possible settings as well as the host
# operating systems where they can be used and autodetected.
#
# ""               - nothing special
# "docker"         - Docker container manager (Linux)
# "jail"           - Jail (DragonflyBSD or FreeBSD)
# "lxc"            - Linux Containers
# "openvz"         - Linux OpenVZ
# "prefix"         - Prefix
# "rkt"            - CoreOS container management system (Linux)
# "subhurd"        - Hurd subhurds (to be checked)
# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
# "uml"            - Usermode Linux
# "vserver"        - Linux vserver
# "xen0"           - Xen0 Domain (Linux and NetBSD)
# "xenU"           - XenU Domain (Linux and NetBSD)
#rc_sys=""

# if  you use openrc-init, which is currently only available on Linux,
# this is the default runlevel to activate after "sysinit" and "boot"
# when booting.
#rc_default_runlevel="default"

# on Linux and Hurd, this is the number of ttys allocated for logins
# It is used in the consolefont, keymaps, numlock and termencoding
# service scripts.
rc_tty_number=12

##############################################################################
# LINUX CGROUPS RESOURCE MANAGEMENT

# This sets the mode used to mount cgroups.
# "hybrid" mounts cgroups version 2 on /sys/fs/cgroup/unified and
# cgroups version 1 on /sys/fs/cgroup.
# "legacy" mounts cgroups version 1 on /sys/fs/cgroup
# "unified" mounts cgroups version 2 on /sys/fs/cgroup
#rc_cgroup_mode="hybrid"

# This is a list of controllers which should be enabled for cgroups version 2.
# If hybrid mode is being used, controllers listed here will not be
# available for cgroups version 1.
# This is a global setting.
#rc_cgroup_controllers=""
rc_cgroup_controllers="yes"

# This variable contains the cgroups version 2 settings for your services.
# If this is set in this file, the settings will apply to all services.
# If you want different settings for each service, place the settings in
# /etc/conf.d/foo for service foo.
# The format is to specify the setting and value followed by a newline.
# Multiple settings and values can be specified.
# For example, you would use this to set the maximum memory and maximum
# number of pids for a service.
#rc_cgroup_settings="
#memory.max 10485760
#pids.max max
#"
#
# For more information about the adjustments that can be made with
# cgroups version 2, see Documentation/cgroups-v2.txt in the linux kernel
# source tree.
#rc_cgroup_settings=""

# This switch controls whether or not cgroups version 1 controllers are
# individually mounted under
# /sys/fs/cgroup in hybrid or legacy mode.
#rc_controller_cgroups="YES"

# The following setting turns on the memory.use_hierarchy setting in the
# root memory cgroup for cgroups v1.
# It must be set to yes in this file if you want this functionality.
#rc_cggroup_memory_use_hierarchy="NO"

# The following settings allow you to set up values for the cgroups version 1
# controllers for your services.
# They can be set in this file;, however, if you do this, the settings
# will apply to all of your services.
# If you want different settings for each service, place the settings in
# /etc/conf.d/foo for service foo.
# The format is to specify the names of the settings followed by their
# values. Each variable can hold multiple settings.
# For example, you would use this to set the cpu.shares setting in the
# cpu controller to 512 for your service.
# rc_cgroup_cpu="
# cpu.shares 512
# "
#
# For more information about the adjustments that can be made with
# cgroups version 1, see Documentation/cgroups-v1/* in the linux kernel
# source tree.

# Set the blkio controller settings for this service.
#rc_cgroup_blkio=""

# Set the cpu controller settings for this service.
#rc_cgroup_cpu=""

# Add this service to the cpuacct controller (any value means yes).
#rc_cgroup_cpuacct=""

# Set the cpuset controller settings for this service.
#rc_cgroup_cpuset=""

# Set the devices controller settings for this service.
#rc_cgroup_devices=""

# Set the hugetlb controller settings for this service.
#rc_cgroup_hugetlb=""

# Set the memory controller settings for this service.
#rc_cgroup_memory=""

# Set the net_cls controller settings for this service.
#rc_cgroup_net_cls=""

# Set the net_prio controller settings for this service.
#rc_cgroup_net_prio=""

# Set the pids controller settings for this service.
#rc_cgroup_pids=""

# Set this to YES if you want all of the processes in a service's cgroup
# killed when the service is stopped or restarted.
# Be aware that setting this to yes means all of a service's
# child processes will be killed. Keep this in mind if you set this to
# yes here instead of for the individual services in
# /etc/conf.d/<service>.
# To perform this cleanup manually for a stopped service, you can
# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
# rc-service <service> cgroup_cleanup.
# The process followed in this cleanup is the following:
# 1. send stopsig (sigterm if it isn't set) to all processes left in the
# cgroup immediately followed by sigcont.
# 2. Send sighup to all processes in the cgroup if rc_send_sighup is
# yes.
# 3. delay for rc_timeout_stopsec seconds.
# 4. send sigkill to all processes in the cgroup unless disabled by
# setting rc_send_sigkill to no.
# rc_cgroup_cleanup="NO"

# If this is yes, we will send sighup to the processes in the cgroup
# immediately after stopsig and sigcont.
#rc_send_sighup="NO"

# This is the amount of time in seconds that we delay after sending sigcont
# and optionally sighup, before we optionally send sigkill to all
# processes in the # cgroup.
# The default is 90 seconds.
#rc_timeout_stopsec="90"

# If this is set to no, we do not send sigkill to all processes in the
# cgroup.
#rc_send_sigkill="YES"


Could it be this - as it looks like I made a mistake transferring the config in here?
rc_cgroup_controllers="yes"
#rc_controller_cgroups="YES"
VT switching looks related to (e)logind
https://dvdhrm.wordpress.com/2013/08/24/how-vt-switching-works/
and perhaps that uses cgroups?

Re: openrc scambled

Reply #9
T
Code: [Select]
# Global OpenRC configuration settings

# Set to "YES" if you want the rc system to try and start services
# in parallel for a slight speed improvement. When running in parallel we
# prefix the service output with its name as the output will get
# jumbled up.
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!
#rc_parallel="NO"
rc_parallel="NO"

# Set rc_interactive to "YES" and you'll be able to press the I key during
# boot so you can choose to start specific services. Set to "NO" to disable
# this feature. This feature is automatically disabled if rc_parallel is
# set to YES.
#rc_interactive="YES"

# If we need to drop to a shell, you can specify it here.
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
# otherwise /bin/sh
# Linux users could specify /sbin/sulogin
rc_shell=/usr/bin/sulogin

# Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
#rc_depend_strict="YES"

# rc_hotplug controls which services we allow to be hotplugged.
# A hotplugged service is one started by a dynamic dev manager when a matching
# hardware device is found.
# Hotplugged services appear in the "hotplugged" runlevel.
# If rc_hotplug is set to any value, we compare the name of this service
# to every pattern in the value, from left to right, and we allow the
# service to be hotplugged if it matches a pattern, or if it matches no
# patterns. Patterns can include shell wildcards.
# To disable services from being hotplugged, prefix patterns with "!".
#If rc_hotplug is not set or is empty, all hotplugging is disabled.
# Example - rc_hotplug="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be hotplugged.
# Example - rc_hotplug="!net.*"
# This allows services that do not match "net.*" to be hotplugged.

# rc_logger launches a logging daemon to log the entire rc process to
# /var/log/rc.log
# NOTE: Linux systems require the devfs service to be started before
# logging can take place and as such cannot log the sysinit runlevel.
rc_logger="YES"

# Through rc_log_path you can specify a custom log file.
# The default value is: /var/log/rc.log
#rc_log_path="/var/log/rc.log"

# If you want verbose output for OpenRC, set this to yes. If you want
# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
#rc_verbose=no

# By default we filter the environment for our running scripts. To allow other
# variables through, add them here. Use a * to allow all variables through.
#rc_env_allow="VAR1 VAR2"

# By default we assume that all daemons will start correctly.
# However, some do not - a classic example is that they fork and return 0 AND
# then child barfs on a configuration error. Or the daemon has a bug and the
# child crashes. You can set the number of milliseconds start-stop-daemon
# waits to check that the daemon is still running after starting here.
# The default is 0 - no checking.
#rc_start_wait=100

# rc_nostop is a list of services which will not stop when changing runlevels.
# This still allows the service itself to be stopped when called directly.
#rc_nostop=""

# rc will attempt to start crashed services by default.
# However, it will not stop them by default as that could bring down other
# critical services.
#rc_crashed_stop=NO
#rc_crashed_start=YES

# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
# output.
#rc_nocolor=NO

##############################################################################
# MISC CONFIGURATION VARIABLES
# There variables are shared between many init scripts

# Set unicode to YES to turn on unicode support for keyboards and screens.
unicode="YES"

# This is how long fuser should wait for a remote server to respond. The
# default is 60 seconds, but  it can be adjusted here.
#rc_fuser_timeout=60

# Below is the default list of network fstypes.
#
# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
# nfs nfs4 ocfs2 shfs smbfs
#
# If you would like to add to this list, you can do so by adding your
# own fstypes to the following variable.
#extra_net_fs_list=""

##############################################################################
# SERVICE CONFIGURATION VARIABLES
# These variables are documented here, but should be configured in
# /etc/conf.d/foo for service foo and NOT enabled here unless you
# really want them to work on a global basis.
# If your service has characters in its name which are not legal in
# shell variable names and you configure the variables for it in this
# file, those characters should be replaced with underscores in the
# variable names as shown below.

# Some daemons are started and stopped via start-stop-daemon.
# We can set some things on a per service basis, like the nicelevel.
#SSD_NICELEVEL="-19"
# Or the ionice level. The format is class[:data] , just like the
# --ionice start-stop-daemon parameter.
#SSD_IONICELEVEL="2:2"

# Pass ulimit parameters
# If you are using bash in POSIX mode for your shell, note that the
# ulimit command uses a block size of 512 bytes for the -c and -f
# options
#rc_ulimit="-u 30"

# It's possible to define extra dependencies for services like so
#rc_config="/etc/foo"
#rc_need="openvpn"
#rc_use="net.eth0"
#rc_after="clock"
#rc_before="local"
#rc_provide="!net"

# You can also enable the above commands here for each service. Below is an
# example for service foo.
#rc_foo_config="/etc/foo"
#rc_foo_need="openvpn"
#rc_foo_after="clock"

# Below is an example for service foo-bar. Note that the '-' is illegal
# in a shell variable name, so we convert it to an underscore.
# example for service foo-bar.
#rc_foo_bar_config="/etc/foo-bar"
#rc_foo_bar_need="openvpn"
#rc_foo_bar_after="clock"

# You can also remove dependencies.
# This is mainly used for saying which services do NOT provide net.
#rc_net_tap0_provide="!net"

# This is the subsystem type.
# It is used to match against keywords set by the keyword call in the
# depend function of service scripts.
#
# It should be set to the value representing the environment this file is
# PRESENTLY in, not the virtualization the environment is capable of.
# If it is commented out, automatic detection will be used.
#
# The list below shows all possible settings as well as the host
# operating systems where they can be used and autodetected.
#
# ""               - nothing special
# "docker"         - Docker container manager (Linux)
# "jail"           - Jail (DragonflyBSD or FreeBSD)
# "lxc"            - Linux Containers
# "openvz"         - Linux OpenVZ
# "prefix"         - Prefix
# "rkt"            - CoreOS container management system (Linux)
# "subhurd"        - Hurd subhurds (to be checked)
# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
# "uml"            - Usermode Linux
# "vserver"        - Linux vserver
# "xen0"           - Xen0 Domain (Linux and NetBSD)
# "xenU"           - XenU Domain (Linux and NetBSD)
#rc_sys=""

# if  you use openrc-init, which is currently only available on Linux,
# this is the default runlevel to activate after "sysinit" and "boot"
# when booting.
#rc_default_runlevel="default"

# on Linux and Hurd, this is the number of ttys allocated for logins
# It is used in the consolefont, keymaps, numlock and termencoding
# service scripts.
rc_tty_number=12

##############################################################################
# LINUX CGROUPS RESOURCE MANAGEMENT

# This sets the mode used to mount cgroups.
# "hybrid" mounts cgroups version 2 on /sys/fs/cgroup/unified and
# cgroups version 1 on /sys/fs/cgroup.
# "legacy" mounts cgroups version 1 on /sys/fs/cgroup
# "unified" mounts cgroups version 2 on /sys/fs/cgroup
#rc_cgroup_mode="hybrid"

# This is a list of controllers which should be enabled for cgroups version 2.
# If hybrid mode is being used, controllers listed here will not be
# available for cgroups version 1.
# This is a global setting.
#rc_cgroup_controllers=""
rc_cgroup_controllers="yes"

# This variable contains the cgroups version 2 settings for your services.
# If this is set in this file, the settings will apply to all services.
# If you want different settings for each service, place the settings in
# /etc/conf.d/foo for service foo.
# The format is to specify the setting and value followed by a newline.
# Multiple settings and values can be specified.
# For example, you would use this to set the maximum memory and maximum
# number of pids for a service.
#rc_cgroup_settings="
#memory.max 10485760
#pids.max max
#"
#
# For more information about the adjustments that can be made with
# cgroups version 2, see Documentation/cgroups-v2.txt in the linux kernel
# source tree.
#rc_cgroup_settings=""

# This switch controls whether or not cgroups version 1 controllers are
# individually mounted under
# /sys/fs/cgroup in hybrid or legacy mode.
#rc_controller_cgroups="YES"

# The following setting turns on the memory.use_hierarchy setting in the
# root memory cgroup for cgroups v1.
# It must be set to yes in this file if you want this functionality.
#rc_cggroup_memory_use_hierarchy="NO"

# The following settings allow you to set up values for the cgroups version 1
# controllers for your services.
# They can be set in this file;, however, if you do this, the settings
# will apply to all of your services.
# If you want different settings for each service, place the settings in
# /etc/conf.d/foo for service foo.
# The format is to specify the names of the settings followed by their
# values. Each variable can hold multiple settings.
# For example, you would use this to set the cpu.shares setting in the
# cpu controller to 512 for your service.
# rc_cgroup_cpu="
# cpu.shares 512
# "
#
# For more information about the adjustments that can be made with
# cgroups version 1, see Documentation/cgroups-v1/* in the linux kernel
# source tree.

# Set the blkio controller settings for this service.
#rc_cgroup_blkio=""

# Set the cpu controller settings for this service.
#rc_cgroup_cpu=""

# Add this service to the cpuacct controller (any value means yes).
#rc_cgroup_cpuacct=""

# Set the cpuset controller settings for this service.
#rc_cgroup_cpuset=""

# Set the devices controller settings for this service.
#rc_cgroup_devices=""

# Set the hugetlb controller settings for this service.
#rc_cgroup_hugetlb=""

# Set the memory controller settings for this service.
#rc_cgroup_memory=""

# Set the net_cls controller settings for this service.
#rc_cgroup_net_cls=""

# Set the net_prio controller settings for this service.
#rc_cgroup_net_prio=""

# Set the pids controller settings for this service.
#rc_cgroup_pids=""

# Set this to YES if you want all of the processes in a service's cgroup
# killed when the service is stopped or restarted.
# Be aware that setting this to yes means all of a service's
# child processes will be killed. Keep this in mind if you set this to
# yes here instead of for the individual services in
# /etc/conf.d/<service>.
# To perform this cleanup manually for a stopped service, you can
# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
# rc-service <service> cgroup_cleanup.
# The process followed in this cleanup is the following:
# 1. send stopsig (sigterm if it isn't set) to all processes left in the
# cgroup immediately followed by sigcont.
# 2. Send sighup to all processes in the cgroup if rc_send_sighup is
# yes.
# 3. delay for rc_timeout_stopsec seconds.
# 4. send sigkill to all processes in the cgroup unless disabled by
# setting rc_send_sigkill to no.
# rc_cgroup_cleanup="NO"

# If this is yes, we will send sighup to the processes in the cgroup
# immediately after stopsig and sigcont.
#rc_send_sighup="NO"

# This is the amount of time in seconds that we delay after sending sigcont
# and optionally sighup, before we optionally send sigkill to all
# processes in the # cgroup.
# The default is 90 seconds.
#rc_timeout_stopsec="90"

# If this is set to no, we do not send sigkill to all processes in the
# cgroup.
#rc_send_sigkill="YES"


Could it be this - as it looks like I made a mistake transferring the config in here?
rc_cgroup_controllers="yes"
#rc_controller_cgroups="YES"
VT switching looks related to (e)logind
https://dvdhrm.wordpress.com/2013/08/24/how-vt-switching-works/
and perhaps that uses cgroups?
That is definitely wrong. rc_cgroup_controllers is supposed to be a list of controllers.... you just put the word "yes".
Chris Cromer

Re: openrc scambled

Reply #10
Yes, certainly, but changing it still didn't see it chvt when I just tried with a tty7 autologin.
#rc_cgroup_controllers="yes"
The screen flickered but stayed on tty1 until I pressed alt F7, then X started.

Re: openrc scambled

Reply #11
Yes, certainly, but changing it still didn't see it chvt when I just tried with a tty7 autologin.
#rc_cgroup_controllers="yes"
The screen flickered but stayed on tty1 until I pressed alt F7, then X started.
How are you doing the autologin? It might be related in the way it is being done.
Chris Cromer

Re: openrc scambled

Reply #12
Code: [Select]
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

# alias ls='ls --color=auto'
# PS1='[\u@\h \W]\$ '


# start x on login
if ( [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]] ); then
# && (rc-status -r | grep -q 'default')); then
#        exec xinit -- /usr/bin/X -nolisten tcp vt7
# problem with the above line - it ONLY works on tty7. Without the tty7 service it can lock you out of the system if no user without that line is configured.
# This variation should work on any tty and also logs any messages from Xorg and the desktop to the users home dir in .startx.log.
        exec startx >/home/$USER/.startx.log 2>&1
fi

It's the same with and without  the default runlevel test, and exec xinit or startx - startx is better when it doesn't work as expected, as you can switch to any tty and login then x starts.

Code: [Select]
$ cat /etc/conf.d/agetty.tty7
# make agetty quiet
#quiet="yes"

# Set the baud rate of the terminal line
baud="38400"

# set the terminal type
term_type="linux"

# extra options to pass to agetty for this port
agetty_options="--autologin me"

Code: [Select]
$ ls -l /etc/conf.d
total 180
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty
-rw-r--r-- 1 root root   253 May  6 20:52 agetty.tty1
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty.tty2
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty.tty3
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty.tty4
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty.tty5
-rw-r--r-- 1 root root   198 Apr 28 02:29 agetty.tty6
-rw-r--r-- 1 root root   216 May  6 20:51 agetty.tty7
-rw-r--r-- 1 root root   475 Apr 28 02:29 bootmisc
-rw-r--r-- 1 root root   876 Apr 28 02:29 consolefont
-rw-r--r-- 1 root root   348 Apr 28 02:29 devfs
-rw-r--r-- 1 root root   117 Apr 28 02:29 dmesg
-rwxr-xr-x 1 root root   218 Apr 29 20:12 elogind
-rw-r--r-- 1 root root  1593 Apr 28 02:29 fsck
-rw-r--r-- 1 root root    59 Apr 28 02:29 hostname
-rw-r--r-- 1 root root   857 Apr 28 02:29 hwclock
-rw-r--r-- 1 root root   911 Apr 28 02:29 keymaps
-rw-r--r-- 1 root root   235 Apr 28 02:29 killprocs
-rw-r--r-- 1 root root   389 Apr 28 02:29 localmount
-rw-r--r-- 1 root root  1075 Apr 28 02:29 modules
-rw-r--r-- 1 root root   693 Apr 28 02:29 mtab
-rw-r--r-- 1 root root 53377 Apr 28 01:46 net
-rw-r--r-- 1 root root  1600 Apr 28 02:29 netmount
-rw-r--r-- 1 root root   672 Apr 28 02:29 net-online
-rwxr-xr-x 1 root root    54 May  2 14:36 opentmpfiles-dev
-rwxr-xr-x 1 root root    54 May  2 14:36 opentmpfiles-setup
-rw-r--r-- 1 root root   490 Apr 28 02:29 swap
-rwxr-xr-x 1 root root  1492 Feb 21 17:38 syslog-ng
-rw-r--r-- 1 root root   279 May  2 14:41 udev
-rw-r--r-- 1 root root   187 May  2 14:41 udev-settle
-rw-r--r-- 1 root root  1264 May  2 14:41 udev-trigger
-rw-r--r-- 1 root root   282 Apr 28 02:29 urandom

$ ls -l /etc/init.d
total 240
-rwxr-xr-x 1 root root  1182 Apr 28 02:29 agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty1 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty2 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty3 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty4 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty5 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 Apr 28 02:29 agetty.tty6 -> /etc/init.d/agetty
lrwxrwxrwx 1 root root    18 May  1 01:58 agetty.tty7 -> /etc/init.d/agetty
-rwxr-xr-x 1 root root   809 Apr 28 02:29 binfmt
-rwxr-xr-x 1 root root  5890 Apr 28 02:29 bootmisc
-rwxr-xr-x 1 root root  3522 Apr 28 02:29 cgroups
-rwxr-xr-x 1 root root  1853 Apr 28 02:29 consolefont
-rwxr-xr-x 1 root root   272 Apr 29 19:15 cronie
-rwxr-xr-x 1 root root   839 Apr 29 20:09 dbus
-rwxr-xr-x 1 root root  3625 Apr 28 02:29 devfs
-rwxr-xr-x 1 root root   750 Apr 28 02:29 dmesg
-rwxr-xr-x 1 root root   493 Apr 29 20:12 elogind
-rwxr-xr-x 1 root root   116 Apr 22 02:41 fanxdell
-rwxr-xr-x 1 root root  3168 Apr 28 02:29 fsck
lrwxrwxrwx 1 root root    31 Apr 28 02:29 functions.sh -> /usr/lib/openrc/sh/functions.sh
-rwxr-xr-x 1 root root  1166 Apr 28 02:29 hostname
-rwxr-xr-x 1 root root  3310 Apr 28 02:29 hwclock
-rwxr-xr-x 1 root root  2173 Apr 28 02:29 keymaps
-rwxr-xr-x 1 root root   801 Apr 28 02:29 killprocs
-rwxr-xr-x 1 root root   510 May  2 14:43 kmod-static-nodes
-rwxr-xr-x 1 root root  2755 Apr 28 02:29 local
-rwxr-xr-x 1 root root  3671 Apr 28 02:29 localmount
-rwxr-xr-x 1 root root  1016 Apr 28 02:29 loopback
-rwxr-xr-x 1 root root  2214 Apr 28 02:29 modules
-rwxr-xr-x 1 root root  1642 Apr 28 02:29 modules-load
-rwxr-xr-x 1 root root  1570 Apr 28 02:29 mount-ro
-rwxr-xr-x 1 root root  1734 Apr 28 02:29 mtab
-rwxr-xr-x 1 root root 18769 Apr 28 01:46 net.lo
-rwxr-xr-x 1 root root  2074 Apr 28 02:29 netmount
-rwxr-xr-x 1 root root  2277 Apr 28 02:29 net-online
-rwxr-xr-x 1 root root  1139 Apr 28 02:29 numlock
-rwxr-xr-x 1 root root   250 May  2 14:37 opensysusers
-rwxr-xr-x 1 root root   382 May  2 14:36 opentmpfiles-dev
-rwxr-xr-x 1 root root   353 May  2 14:36 opentmpfiles-setup
-rwxr-xr-x 1 root root   645 Apr 28 02:29 osclock
-rwxr-xr-x 1 root root  1282 Apr 28 02:29 procfs
-rwxr-xr-x 1 root root  1423 Apr 28 02:29 root
-rwxr-xr-x 1 root root  1113 Apr 28 02:29 runsvdir
-rwxr-xr-x 1 root root  1033 Apr 28 02:29 s6-svscan
-rwxr-xr-x 1 root root  1884 Apr 28 02:29 savecache
-rwxr-xr-x 1 root root  1040 Apr 28 02:29 swap
-rwxr-xr-x 1 root root   966 Apr 28 02:29 swclock
-rwxr-xr-x 1 root root  1339 Apr 28 02:29 sysctl
-rwxr-xr-x 1 root root  3293 Apr 28 02:29 sysfs
-rwxr-xr-x 1 root root  1921 Feb 21 17:38 syslog-ng
-rwxr-xr-x 1 root root  1479 Apr 28 02:29 termencoding
-rwxr-xr-x 1 root root  2195 May  2 14:41 udev
-rwxr-xr-x 1 root root   371 May  2 14:41 udev-settle
-rwxr-xr-x 1 root root  2606 May  2 14:41 udev-trigger
-rwxr-xr-x 1 root root  1386 Apr 28 02:29 urandom


I think it is - or was - the same as is working on another Artix PC. The faulty cgroups line was an attempt to copy the rc.conf file from that, only I changed the first line I came to which was not the same as it turned out.  :)  But I have also now tried with rc.conf in it's vanilla format as I created a .orig copy before modifying it, it is still not switching VT at the login prompt on tty1. Instead there is a flicker of the screen at intervals, which makes me think openrc is trying to restart the service but it is failing. When I switch to tty7 manually there is sometimes a similar delay, like you have to wait  till the next restart event for .bashrc to be run, and x starts. Normally there should be very little delay between the login prompt being seen and then the screen going black, that is the case on the other PC and when tty1 is set to autologin on this one.

$ ls -l .xinitrc
-rwxr-xr-x 1 me me 16 Apr 20 23:39 .xinitrc
$ cat .xinitrc
exec startxfce4

I have also tried this previously:
/etc/init.d/agetty
#required_dirs="/run/openrc /var/run/openrc"

depend() {
        need hwclock modules fsck root mtab swap localmount sysctl bootmisc net.lo elogind opentmpfiles-setup termencoding procfs loopback binfmt urandom hostname keymaps

# opensysusers     

        after local udev syslog-ng cronie
        keyword -prefix
}

No difference. The rc-log error message still appears on the login prompt cursor the same too.
With these changes then surely /run/ exists by this point? (I suspect that rc-log error is waiting for an opportunity to be written out,  rather than happening then.)

And observed the restart attempts being logged, switching manually at the end:

Code: [Select]
Apr 30 02:55:47 ax supervise-daemon[1924]: Supervisor command line: supervise-daemon agetty.tty1 --start --pidfile /run/agetty.tty1.pid /sbin/agetty -- --noclear tty1
38400 linux

Apr 30 02:55:47 ax supervise-daemon[1927]: Child command line: /sbin/agetty --noclear tty1 38400 linux
Apr 30 02:55:47 ax supervise-daemon[1952]: Supervisor command line: supervise-daemon agetty.tty2 --start --pidfile /run/agetty.tty2.pid /sbin/agetty -- tty2 38400 linux
Apr 30 02:55:47 ax supervise-daemon[1954]: Child command line: /sbin/agetty tty2 38400 linux
Apr 30 02:55:47 ax supervise-daemon[1980]: Supervisor command line: supervise-daemon agetty.tty3 --start --pidfile /run/agetty.tty3.pid /sbin/agetty -- tty3 38400 linux
Apr 30 02:55:47 ax supervise-daemon[1982]: Child command line: /sbin/agetty tty3 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2008]: Supervisor command line: supervise-daemon agetty.tty4 --start --pidfile /run/agetty.tty4.pid /sbin/agetty -- tty4 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2010]: Child command line: /sbin/agetty tty4 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2036]: Supervisor command line: supervise-daemon agetty.tty5 --start --pidfile /run/agetty.tty5.pid /sbin/agetty -- tty5 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2038]: Child command line: /sbin/agetty tty5 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2064]: Supervisor command line: supervise-daemon agetty.tty6 --start --pidfile /run/agetty.tty6.pid /sbin/agetty -- tty6 38400 linux
Apr 30 02:55:47 ax supervise-daemon[2066]: Child command line: /sbin/agetty tty6 38400 linux
Apr 30 02:55:48 ax supervise-daemon[2092]: Supervisor command line: supervise-daemon agetty.tty7 --start --pidfile /run/agetty.tty7.pid /sbin/agetty -- -a me tty7
38400 linux

Apr 30 02:55:48 ax supervise-daemon[2094]: Child command line: /sbin/agetty -a me tty7 38400 linux
Apr 30 02:55:48 ax openrc[880]: Error: fopen(/run/openrc/rc.log) failed: No such file or directory
Apr 30 02:56:03 ax supervise-daemon[2093]: /sbin/agetty, pid 2094, exited with return code 0
Apr 30 02:56:03 ax supervise-daemon[2115]: Child command line: /sbin/agetty -a me tty7 38400 linux
Apr 30 02:56:18 ax supervise-daemon[2093]: /sbin/agetty, pid 2115, exited with return code 0
Apr 30 02:56:18 ax supervise-daemon[2133]: Child command line: /sbin/agetty -a me tty7 38400 linux
Apr 30 02:56:33 ax supervise-daemon[2093]: /sbin/agetty, pid 2133, exited with return code 0
Apr 30 02:56:33 ax supervise-daemon[2145]: Child command line: /sbin/agetty -a me tty7 38400 linux
Apr 30 02:56:38 ax kernel: random: crng init done
Apr 30 02:56:48 ax supervise-daemon[2093]: /sbin/agetty, pid 2145, exited with return code 0
Apr 30 02:56:48 ax supervise-daemon[2158]: Child command line: /sbin/agetty -a me tty7 38400 linux
Apr 30 02:56:49 ax dbus-daemon[1338]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.15' (uid=1000 pid=2176 comm="xfce4-session ") (using
serviceh
elper)


Re: openrc scambled

Reply #13
Hmmm, could you show me what is in: /etc/X11/xinit/xserverrc?
Chris Cromer

Re: openrc scambled

Reply #14
#!/bin/sh
if [ -z "$XDG_VTNR" ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
fi