You are not logged in.

#426 2014-10-15 09:30:34

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: OpenRC & eudev on Arch

One more question. What do you guy do when you need adb? I have installed android-tools andandroid-udev from the repos nad added myself to adbusers group. Adb starts correctly but doesn't find my phone. It works perfectly with systemd/udev. To resolve this I tried manually copying the file that contains the rules to /etc/udev/rules.d/ but it didn't solve anything. For now I'm using adb from arch live cd.

@F34R
Just follow the instructions, and it will all go well. I used those.


P.S. What I find funny is the message "OpenRC starting Manjaro linux $distrover" during the boot.

EDIT:

Solved the problem. I needed to explicitly list my phone in the file, and reboot (reboot was due to the changes in /etc/group file). After that I was able to use adb.

Last edited by bstaletic (2014-10-15 16:24:46)

Offline

#427 2014-10-16 08:08:39

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,585
Website

Re: OpenRC & eudev on Arch

bstaletic wrote:

P.S. What I find funny is the message "OpenRC starting Manjaro linux $distrover" during the boot.

@ aaditya, it would be better if you parse /etc/os-release.

Offline

#428 2014-10-16 12:24:20

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

x33a wrote:
bstaletic wrote:

P.S. What I find funny is the message "OpenRC starting Manjaro linux $distrover" during the boot.

@ aaditya, it would be better if you parse /etc/os-release.

Sorry, /etc/os-release is parsed, but it is parsed at build time, and I built the packages on my Manjaro Unstable VM wink

I will rebuild openrc-core on my Arch VM and re upload the packages.

@bstaletic,

I think adb worked for me out of the box when I had tried it about a month ago, but if there are problems I will try out your method smile

I had used adb from the upstream Android SDK which contains platform-tools.

Edit-
Could someone give me a tutorial on how to build packages for redistribution on Arch (maybe using chroots, and for both x86_64 and i686 architectures)..

Edit2-
I think I will simply use makepkg for building for x86_64 (as is my host VM), and for i686 I will try Xyne's arch32-light.

Last edited by aaditya (2014-10-16 12:55:50)

Offline

#429 2014-10-16 12:49:49

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: OpenRC & eudev on Arch

aaditya wrote:

I think adb worked for me out of the box

It depends on {idVendor} and{idProduct} and somehow my LG had Google's idVendor and didn't work out of the box on openrc. With systemd it did work out of the box.

Offline

#430 2014-10-16 14:18:07

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

openrc-core package updated, uploaded, and checked, now says Arch Linux smile

Offline

#431 2014-11-07 19:04:11

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: OpenRC & eudev on Arch

Guys look at this thread. Has anyone using openrc had this issue or is it just my pc? If it is not just me can someone explain. I hadn't hadthis issue with systemd, though I don't remember configuring acpi before my switch to openrc?

Offline

#432 2014-11-09 05:17:50

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

Hi guys,

Notable changes in artoo's pkgbuilds include-

  • bump of eudev from 1.10 to 2.1.1
    consolekit from 0.4.6 to 0.9.2 (artoo upgraded to consolekit2).

Source:
https://github.com/udeved/pkgbuilds

So you guys might want to keep the current batch of packages (like eudev-1.10 or consolekit-0.4.6) in your pkg cache, as a few people have reported that eudev-2.1.1 causes a delay while booting.

Another thing I noticed on my Arch VM is that the Hibernate option is greyed out (on Xfce) with ck-0.9.2, but works with ck-0.4.6 (dont have this behavior on my Manjaro VM)..

Edit-
The above consolekit behavior seems to be because of some polkit rules which are present on the Manjaro VM but not on the Arch VM.

Edit2-
Bug report filed:
https://github.com/ConsoleKit2/ConsoleKit2/issues/12

Edit3-
Till the consolekit2 support is merged in the xfce4-session, one could use the old version of consolekit (0.4.6), or add a file /etc/polkit-1/rules.d/60-upower.rules with the content:

polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.upower.hibernate" ||
        action.id == "org.freedesktop.upower.suspend") {
        return polkit.Result.YES;
    }
});

to use suspend/hibernate on Xfce with consolekit-0.9.2 (upower-pm-utils should be installed to use the rule given above).

Last edited by aaditya (2015-01-26 17:30:24)

Offline

#433 2014-11-24 12:08:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,441

Re: OpenRC & eudev on Arch

After a recent update (probably systemd 217-7)  , i saw these lines in rc.log :

sysctl: cannot open "/etc/sysctl.conf": No such file or directory
 * Unable to configure some kernel parameters
 [ !! ]
 * ERROR: sysctl failed to start

I still had openrc 13.1 installed, upgraded to 13.5 and the error was still there.
Looking into /etc/openrc/init.d/sysctl showed that sysctl --system is called.
Man sysctl made clear systcl is part of the kernel and still uses /etc/sysctl.conf .

I restored the file from a backup, error is gone.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#434 2014-11-24 13:28:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,165
Website

Re: OpenRC & eudev on Arch

Lone_Wolf wrote:

i looked up man sysctl, realised it comes with the kernel

?

$ pkgfile sysctl
core/procps-ng
extra/bash-completion
community/ansible

For the record, systemd uses it's own sysctl: /usr/lib/systemd/systemd-sysctl.

I don't think there's anything stopping you using /etc/sysctl.conf if you want to use the procps-ng's sysctl, I'm not sure why this file has been removed on your system. The only recent change to the procps-ng package has been a version bump: https://projects.archlinux.org/svntogit … 15dce2e4f1


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#435 2014-11-24 14:52:41

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

Lone_Wolf wrote:

After a recent update (probably systemd 217-7)  , i saw these lines in rc.log :

sysctl: cannot open "/etc/sysctl.conf": No such file or directory
 * Unable to configure some kernel parameters
 [ !! ]
 * ERROR: sysctl failed to start

I still had openrc 13.1 installed, upgraded to 13.5 and the error was still there.
Looking into /etc/openrc/init.d/sysctl showed that sysctl --system is called.
Man sysctl made clear systcl is part of the kernel and still uses /etc/sysctl.conf .

I restored the file from a backup, error is gone.

I too was getting this error, I searched for what /etc/sysctl.conf was and then created a file with comments.
I think /etc/sysctl.conf was deprecated here.
Also the configs in /etc/sysctl.d/* could be applied too (by OpenRC).

Last edited by aaditya (2014-11-24 14:53:55)

Offline

#436 2014-11-24 16:02:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,441

Re: OpenRC & eudev on Arch

wormzy, thanks for correction that sysctl belongs to procps-ng and systemd has it's own version.

the first time i got these messages was :
rc boot logging started at Wed Nov 12 11:20:08 2014

This the pacman.log from just before that boot :

[2014-11-12 11:18] [PACMAN] Running 'pacman -Syu'
[2014-11-12 11:18] [PACMAN] synchronizing package lists
[2014-11-12 11:18] [PACMAN] starting full system upgrade
[2014-11-12 11:18] [PACMAN] upgraded curl (7.38.0-3 -> 7.39.0-1)
[2014-11-12 11:18] [PACMAN] upgraded gettext (0.19.2-2 -> 0.19.3-1)
[2014-11-12 11:18] [PACMAN] upgraded hwids (20140602-1 -> 20141030-1)
[2014-11-12 11:18] [PACMAN] upgraded kmod (18-1 -> 18-2)
[2014-11-12 11:18] [PACMAN] upgraded libsystemd (216-3 -> 217-6)
[2014-11-12 11:18] [PACMAN] upgraded pinentry (0.8.3-1 -> 0.8.4-1)
[2014-11-12 11:18] [PACMAN] installed lz4 (123-1)
[2014-11-12 11:18] [ALPM] warning: /etc/systemd/logind.conf installed as /etc/systemd/logind.conf.pacnew
[2014-11-12 11:18] [PACMAN] upgraded systemd (216-3 -> 217-6)
[2014-11-12 11:18] [PACMAN] upgraded procps-ng (3.3.9-3 -> 3.3.10-1)
[2014-11-12 11:18] [PACMAN] upgraded python-pyelftools (0.21-2 -> 0.23-1)
[2014-11-12 11:18] [PACMAN] upgraded usbutils (007-1 -> 008-1)
[2014-11-12 21:16] [PACMAN] Running 'pacman -Syu'
[2014-11-12 21:16] [PACMAN] synchronizing package lists
[2014-11-12 21:16] [PACMAN] starting full system upgrade
[2014-11-12 21:17] [PACMAN] upgraded libpng (1.6.13-1 -> 1.6.14-1)
[2014-11-12 21:17] [PACMAN] upgraded libcups (2.0.0-2 -> 2.0.0-3)
[2014-11-12 21:17] [ALPM] warning: /etc/cups/cupsd.conf installed as /etc/cups/cupsd.conf.pacnew
[2014-11-12 21:17] [PACMAN] upgraded cups (2.0.0-2 -> 2.0.0-3)
[2014-11-12 21:17] [PACMAN] upgraded file (5.20-1 -> 5.20-2)
[2014-11-12 21:18] [PACMAN] upgraded firefox (33.1-1 -> 33.1-2)
[2014-11-12 21:18] [PACMAN] upgraded lib32-llvm-libs-svn (221489-1 -> 221797-1)
[2014-11-12 21:18] [PACMAN] upgraded libaio (0.3.109-7 -> 0.3.110-1)
[2014-11-12 21:18] [PACMAN] upgraded libjpeg-turbo (1.3.1-1 -> 1.3.1-2)
[2014-11-12 21:18] [PACMAN] upgraded llvm-libs-svn (221481-1 -> 221794-1)
[2014-11-12 21:18] [PACMAN] upgraded tcl (8.6.2-1 -> 8.6.3-1)
[2014-11-12 21:18] [PACMAN] upgraded tk (8.6.2-1 -> 8.6.3-1)

Looks like the switch from systemd 216 to systemd 217 may have caused this.

--------------------------------------------

man sysctl wrote:

      --system
              Load settings from all system configuration files.
              /run/sysctl.d/*.conf
              /etc/sysctl.d/*.conf
              /usr/local/lib/sysctl.d/*.conf
              /usr/lib/sysctl.d/*.conf
              /lib/sysctl.d/*.conf
              /etc/sysctl.conf

That suggests openrc sysctl initscript already handles files in /etc/sysctl.d/


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#437 2014-12-04 12:19:50

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,441

Re: OpenRC & eudev on Arch

After updating to archlinux official syslog-ng 3.6.1-1 package, you may see lines like these in /var/log/rc.log .

[2014-12-03T13:27:21.835298] Using /dev/log Unix socket with systemd is 
not possible. Changing to systemd-syslog source, which supports socket 
activation.;
  * Starting syslog-ng ...
[2014-12-03T13:27:21.890729] Using /dev/log Unix socket with systemd is 
not possible. Changing to systemd-syslog source, which supports socket 
activation.;
[2014-12-03T13:27:21.902289] Failed to acquire 
/run/systemd/journal/syslog socket, disabling systemd-syslog source;
  [ ok ]

Afaict syslog-ng is working normally.
I've reported it to syslog-ng mailing list, thread start

NOTE :
you may have to add a temporary security exception for that site to see it.
(firefox 34.0.5-1 complains it doesn't know the issuer of the certificate).


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#438 2014-12-04 13:17:53

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 2,027
Website

Re: OpenRC & eudev on Arch

^ rsyslog? I remember nothing but trouble with syslog-ng anyway (like 100% CPU spikes, missing logs, etc)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#439 2014-12-09 11:36:36

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,441

Re: OpenRC & eudev on Arch

Alad, this is the first time i have any problem with syslog-ng sine i started using it many years ago.

My issue has been solved and  a fix is now in syslog-ng 3.6/master branch .
https://github.com/balabit/syslog-ng/co … 603cb9f1ca


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#440 2014-12-11 20:25:26

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

I have a couple problems with artoo's packages,

mkpkg throws this error when building openrc-misc:  "rsyslog.initd-r1 ... FAILED, ==> ERROR: One or more files did not pass the validity check!", so the entire package fails to build.

same problem with openrc-devel except with "mysql-5.1.67-init.d-r1 ... FAILED"

and openrc-net "dhcrelay.conf ... FAILED"

Any ideas how to fix this?

Offline

#441 2014-12-12 03:55:28

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

l0vot wrote:

I have a couple problems with artoo's packages,

mkpkg throws this error when building openrc-misc:  "rsyslog.initd-r1 ... FAILED, ==> ERROR: One or more files did not pass the validity check!", so the entire package fails to build.

same problem with openrc-devel except with "mysql-5.1.67-init.d-r1 ... FAILED"

and openrc-net "dhcrelay.conf ... FAILED"

Any ideas how to fix this?

Before using makepkg, you could try updpkgsums, which updates the pkgbuild by downloading the source and verifying the checksums.

Offline

#442 2014-12-12 04:27:42

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

@aaditya: Thanks! updpkgsums was exactly what I needed. I had to hack the script a little so it would run as root without errors, but other than that it worked perfectly.

Offline

#443 2014-12-12 05:34:16

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

Just wiped systemd from my system and switched to openrc. I haven't re-booted yet, is there anything I need to do to, like add eudev to the kernel line instead of systemd? the openrc page was a bit vague, as was the eudev page. I want to do what I can to make sure my computer won't be a brick when I re-boot.

Offline

#444 2014-12-12 05:41:36

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

l0vot wrote:

Just wiped systemd from my system and switched to openrc. I haven't re-booted yet, is there anything I need to do to, like add eudev to the kernel line instead of systemd? the openrc page was a bit vague, as was the eudev page. I want to do what I can to make sure my computer won't be a brick when I re-boot.

Why would eudev be added to the kernel line smile

Could you specify which packages are installed..

pacman -Qs openrc
pacman -Qs eudev

Last edited by aaditya (2015-01-26 17:31:15)

Offline

#445 2014-12-12 05:53:50

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

aaditya wrote:
l0vot wrote:

Just wiped systemd from my system and switched to openrc. I haven't re-booted yet, is there anything I need to do to, like add eudev to the kernel line instead of systemd? the openrc page was a bit vague, as was the eudev page. I want to do what I can to make sure my computer won't be a brick when I re-boot.

Why would eudev be added to the kernel line smile

Could you specify which packages are installed..

pacman -Qs openrc
pacman -Qs eudev

This page is a bit more verbose, maybe it could answer your queries:
https://abchk1234.wordpress.com/2014/06 … aro-linux/

# pacman -Qs openrc
local/acpid-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC acpid init script
local/alsa-utils-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC alsa-utils init script
local/avahi-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC avahi init script
local/bluez-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC bluez init script
local/connman-openrc 20141211-1 (openrc openrc-misc)
    OpenRC connman init script
local/consolekit-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC consolekit init script
local/cpupower-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cpupower init script
local/cronie-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC cronie init script
local/cryptsetup-openrc 20141211-1 (openrc openrc-base)
    OpenRC cryptsetup init script
local/cups-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cups init script
local/dbus-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dbus init script
local/device-mapper-openrc 20141211-1 (openrc openrc-base)
    OpenRC device-mapper init script
local/dhcpcd-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dhcpcd init script
local/displaymanager-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC dm init script
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/fuse-openrc 20141211-1 (openrc openrc-misc)
    OpenRC fuse init script
local/git-openrc 20141211-1 (openrc openrc-devel)
    OpenRC git-daemon init script
local/glibc-openrc 20141211-1 (openrc openrc-base)
    OpenRC nscd init script
local/gpm-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC gpm init script
local/haveged-openrc 20141211-1 (openrc openrc-misc)
    OpenRC haveged init script
local/hdparm-openrc 20141211-1 (openrc openrc-misc)
    OpenRC hdparm init script
local/inetutils-openrc 20141211-1 (openrc openrc-base)
    OpenRC ftpd init script
local/lirc-utils-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lirc-utils init script
local/lm_sensors-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lm_sensors init script
local/lvm2-openrc 20141211-1 (openrc openrc-base)
    OpenRC lvm2 init script
local/mdadm-openrc 20141211-1 (openrc openrc-base)
    OpenRC mdadm init script
local/metalog-openrc 20141211-1 (openrc openrc-misc)
    OpenRC metalog init script
local/mysql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC mysql init script
local/ntp-openrc 20141211-1 (openrc openrc-misc)
    OpenRC ntp init script
local/openrc-core 0.13.6-1
    Gentoo's universal init system, udev enabled.
local/postgresql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC postgresql init script
local/sane-openrc 20141211-1 (openrc openrc-misc)
    OpenRC sane init script
local/subversion-openrc 20141211-1 (openrc openrc-devel)
    OpenRC svnserve init script
local/syslog-ng-openrc 20141211-1 (openrc openrc-misc)
    OpenRC syslog-ng init script
local/wpa_supplicant-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC wpa_supplicant init script
pacman -Qs eudev
local/eudev 2.1.1-3
    The userspace dev tools (udev) forked by Gentoo
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/eudev-systemdcompat 217-3 (eudev-base)
    systemd client libraries without udev; systemd compatibility package
local/upower-pm-utils 0.9.23-2 (eudev-base)
    Abstraction for enumerating power devices, listening to device events and querying history and statistics

just need to know what the GRUB entry needs to look like, and anything else that needs to be done to have a bootable system

Last edited by l0vot (2014-12-12 05:54:31)

Offline

#446 2014-12-12 06:02:21

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

l0vot wrote:
aaditya wrote:
l0vot wrote:

Just wiped systemd from my system and switched to openrc. I haven't re-booted yet, is there anything I need to do to, like add eudev to the kernel line instead of systemd? the openrc page was a bit vague, as was the eudev page. I want to do what I can to make sure my computer won't be a brick when I re-boot.

Why would eudev be added to the kernel line smile

Could you specify which packages are installed..

pacman -Qs openrc
pacman -Qs eudev

This page is a bit more verbose, maybe it could answer your queries:
https://abchk1234.wordpress.com/2014/06 … aro-linux/

# pacman -Qs openrc
local/acpid-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC acpid init script
local/alsa-utils-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC alsa-utils init script
local/avahi-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC avahi init script
local/bluez-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC bluez init script
local/connman-openrc 20141211-1 (openrc openrc-misc)
    OpenRC connman init script
local/consolekit-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC consolekit init script
local/cpupower-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cpupower init script
local/cronie-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC cronie init script
local/cryptsetup-openrc 20141211-1 (openrc openrc-base)
    OpenRC cryptsetup init script
local/cups-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cups init script
local/dbus-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dbus init script
local/device-mapper-openrc 20141211-1 (openrc openrc-base)
    OpenRC device-mapper init script
local/dhcpcd-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dhcpcd init script
local/displaymanager-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC dm init script
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/fuse-openrc 20141211-1 (openrc openrc-misc)
    OpenRC fuse init script
local/git-openrc 20141211-1 (openrc openrc-devel)
    OpenRC git-daemon init script
local/glibc-openrc 20141211-1 (openrc openrc-base)
    OpenRC nscd init script
local/gpm-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC gpm init script
local/haveged-openrc 20141211-1 (openrc openrc-misc)
    OpenRC haveged init script
local/hdparm-openrc 20141211-1 (openrc openrc-misc)
    OpenRC hdparm init script
local/inetutils-openrc 20141211-1 (openrc openrc-base)
    OpenRC ftpd init script
local/lirc-utils-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lirc-utils init script
local/lm_sensors-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lm_sensors init script
local/lvm2-openrc 20141211-1 (openrc openrc-base)
    OpenRC lvm2 init script
local/mdadm-openrc 20141211-1 (openrc openrc-base)
    OpenRC mdadm init script
local/metalog-openrc 20141211-1 (openrc openrc-misc)
    OpenRC metalog init script
local/mysql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC mysql init script
local/ntp-openrc 20141211-1 (openrc openrc-misc)
    OpenRC ntp init script
local/openrc-core 0.13.6-1
    Gentoo's universal init system, udev enabled.
local/postgresql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC postgresql init script
local/sane-openrc 20141211-1 (openrc openrc-misc)
    OpenRC sane init script
local/subversion-openrc 20141211-1 (openrc openrc-devel)
    OpenRC svnserve init script
local/syslog-ng-openrc 20141211-1 (openrc openrc-misc)
    OpenRC syslog-ng init script
local/wpa_supplicant-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC wpa_supplicant init script
pacman -Qs eudev
local/eudev 2.1.1-3
    The userspace dev tools (udev) forked by Gentoo
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/eudev-systemdcompat 217-3 (eudev-base)
    systemd client libraries without udev; systemd compatibility package
local/upower-pm-utils 0.9.23-2 (eudev-base)
    Abstraction for enumerating power devices, listening to device events and querying history and statistics

just need to know what the GRUB entry needs to look like, and anything else that needs to be done to have a bootable system

Looks correct to me, and no, I dont think any changes to Grub are required (artoo's method uses vanilla sysvinit, which uses the default /sbin/init (or /usr/bin/init), meaning svsvinit (and openrc on top of it) would probably boot by default (at least thats how it is for me wink)).

Offline

#447 2014-12-12 06:21:57

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

aaditya wrote:
l0vot wrote:
aaditya wrote:

Why would eudev be added to the kernel line smile

Could you specify which packages are installed..

pacman -Qs openrc
pacman -Qs eudev

This page is a bit more verbose, maybe it could answer your queries:
https://abchk1234.wordpress.com/2014/06 … aro-linux/

# pacman -Qs openrc
local/acpid-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC acpid init script
local/alsa-utils-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC alsa-utils init script
local/avahi-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC avahi init script
local/bluez-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC bluez init script
local/connman-openrc 20141211-1 (openrc openrc-misc)
    OpenRC connman init script
local/consolekit-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC consolekit init script
local/cpupower-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cpupower init script
local/cronie-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC cronie init script
local/cryptsetup-openrc 20141211-1 (openrc openrc-base)
    OpenRC cryptsetup init script
local/cups-openrc 20141211-1 (openrc openrc-misc)
    OpenRC cups init script
local/dbus-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dbus init script
local/device-mapper-openrc 20141211-1 (openrc openrc-base)
    OpenRC device-mapper init script
local/dhcpcd-openrc 20141211-1 (openrc openrc-base openrc-desktop)
    OpenRC dhcpcd init script
local/displaymanager-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC dm init script
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/fuse-openrc 20141211-1 (openrc openrc-misc)
    OpenRC fuse init script
local/git-openrc 20141211-1 (openrc openrc-devel)
    OpenRC git-daemon init script
local/glibc-openrc 20141211-1 (openrc openrc-base)
    OpenRC nscd init script
local/gpm-openrc 20141211-1 (openrc openrc-desktop)
    OpenRC gpm init script
local/haveged-openrc 20141211-1 (openrc openrc-misc)
    OpenRC haveged init script
local/hdparm-openrc 20141211-1 (openrc openrc-misc)
    OpenRC hdparm init script
local/inetutils-openrc 20141211-1 (openrc openrc-base)
    OpenRC ftpd init script
local/lirc-utils-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lirc-utils init script
local/lm_sensors-openrc 20141211-1 (openrc openrc-misc)
    OpenRC lm_sensors init script
local/lvm2-openrc 20141211-1 (openrc openrc-base)
    OpenRC lvm2 init script
local/mdadm-openrc 20141211-1 (openrc openrc-base)
    OpenRC mdadm init script
local/metalog-openrc 20141211-1 (openrc openrc-misc)
    OpenRC metalog init script
local/mysql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC mysql init script
local/ntp-openrc 20141211-1 (openrc openrc-misc)
    OpenRC ntp init script
local/openrc-core 0.13.6-1
    Gentoo's universal init system, udev enabled.
local/postgresql-openrc 20141211-1 (openrc openrc-devel)
    OpenRC postgresql init script
local/sane-openrc 20141211-1 (openrc openrc-misc)
    OpenRC sane init script
local/subversion-openrc 20141211-1 (openrc openrc-devel)
    OpenRC svnserve init script
local/syslog-ng-openrc 20141211-1 (openrc openrc-misc)
    OpenRC syslog-ng init script
local/wpa_supplicant-openrc 20141211-1 (openrc openrc-mobile)
    OpenRC wpa_supplicant init script
pacman -Qs eudev
local/eudev 2.1.1-3
    The userspace dev tools (udev) forked by Gentoo
local/eudev-openrc 20141211-1 (eudev-base)
    OpenRC eudev postmount script
local/eudev-systemdcompat 217-3 (eudev-base)
    systemd client libraries without udev; systemd compatibility package
local/upower-pm-utils 0.9.23-2 (eudev-base)
    Abstraction for enumerating power devices, listening to device events and querying history and statistics

just need to know what the GRUB entry needs to look like, and anything else that needs to be done to have a bootable system

Looks correct to me, and no, I dont think any changes to Grub are required (artoo's method uses vanilla sysvinit, which uses the default /sbin/init (or /usr/bin/init), meaning svsvinit (and openrc on top of it) would probably boot by default (at least thats how it is for me wink)).

OK, just switched init=/usr/lib/systemd/systemd to init=/usr/bin/init. I noticed a udev hook in my mkinitcpio.conf, does that need to be changed?

Offline

#448 2014-12-12 06:36:04

aaditya
Member
Registered: 2013-09-01
Posts: 174

Re: OpenRC & eudev on Arch

l0vot wrote:

OK, just switched init=/usr/lib/systemd/systemd to init=/usr/bin/init. I noticed a udev hook in my mkinitcpio.conf, does that need to be changed?

Nope, I dont think so, I have it too.
You could regenerate your initramfs though if you feel like it.

Offline

#449 2014-12-12 06:39:47

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

aaditya wrote:
l0vot wrote:

OK, just switched init=/usr/lib/systemd/systemd to init=/usr/bin/init. I noticed a udev hook in my mkinitcpio.conf, does that need to be changed?

Nope, I dont think so, I have it too.
You could regenerate your initramfs though if you feel like it.

Time to reboot. I really hope this works.

Offline

#450 2014-12-12 07:05:03

l0vot
Member
Registered: 2011-08-26
Posts: 117

Re: OpenRC & eudev on Arch

It worked! Now to go figure out how to use connman properly so setting up a connection isn't so difficult, but that doesn't belong in this thread

Nevermind, HOLY SHIT connman auto connected to my router after connecting to it once. BY ITSELF! I havn't had a network manager that actually does it's job without me having to baby it before. And it does so quickly and from the command line. I thought things like that were a myth.

Last edited by l0vot (2014-12-12 07:17:27)

Offline

Board footer

Powered by FluxBB