You are not logged in.

#701 2015-08-04 14:23:34

tredaelli
Package Maintainer (PM)
Registered: 2011-11-30
Posts: 69

Re: OpenRC & eudev on Arch

So anyone has a good reason to do not restore the old wiki page?

They are 2 completely different implementations:
the apg one is the most "clean" one, but it's also the most "complicate" one for a "normal" user.
the artoo one it's not so "clean" (it doesn't work with initscript-forks) and the init.d files are divided in many packages, but it mainly works for a "normal" user without the needs to tweak some major scripts (like the sshd one)

Offline

#702 2015-08-04 14:50:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: OpenRC & eudev on Arch

I've been keeping an eye on the recent developments in this thread - and I must admit I don't seem to have the relevant background to assess exactly what is going on - but it looks like the discussion is headed in a non-productive direction.  Especially when cliches like this come out:

tredaelli wrote:

but linux is (was?) about choice ...

False.

If there is yet debate to be had on what should be included in the wiki page, that may be best kept to the discussion tab of that wiki page while this thread keeps it's focus on the tools of the topic.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#703 2015-08-17 09:23:42

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: OpenRC & eudev on Arch

I just wanted to thank all the folks making openrc easily available on arch.

Last edited by ubone (2015-08-17 09:26:22)

Offline

#704 2015-08-17 09:42:07

xanb
Member
Registered: 2012-07-24
Posts: 419

Re: OpenRC & eudev on Arch

I have an artoo installation in my system. Recently I see that wiki users cleaned up this method in the Wiki. Is there any reason to migrate to agp way? I use eudev (I removed completely systemd), but in the wiki there is no mention how to use agp method and eudev. On the other hand, is there guide to such migrate?

Thanks,


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#705 2015-08-19 21:49:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: OpenRC & eudev on Arch

Xanb, i doubt there are openrc agp users that have tried eudev with openrc.

Personally, i have thought about it a few times, but every time i checked eudev maturity , it was not mature enough,
I decided to stick to udev (from systemd) until the time i would have no other choice but to switch.
This point may arrive when KDBUS is the only way to use udev, but sofar KDBUS hasn't made it into the kernel.

As for migrating from artoo to apg way : if you're happy with artoo way, that's not needed.
As long as artoo way unofficial repo / AUR packages are maintained/updated and the artoo way focus on manjaro doesn't hinder functionality on archlinux, the removal of it from the wiki should have little impact.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#706 2015-08-19 23:00:08

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

Guys where can i find a tutorial or manual with agp way for a noob?

Offline

#707 2015-08-20 06:48:34

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

Re: OpenRC & eudev on Arch

@ Glats, I had written a post a few years back, it might be seriously outdated, but you can still take a look.

http://blog.notfoss.com/posts/openrc-on-arch-linux/

Offline

#708 2015-08-20 07:22:57

xanb
Member
Registered: 2012-07-24
Posts: 419

Re: OpenRC & eudev on Arch

Thanks, Lone_Wolf, for the sketch of the situation. Perhaps in eudev page in the wiki could be placed some comment on that.

Lone_Wolf wrote:

Xanb, i doubt there are openrc agp users that have tried eudev with openrc.

Personally, i have thought about it a few times, but every time i checked eudev maturity , it was not mature enough,
I decided to stick to udev (from systemd) until the time i would have no other choice but to switch.
This point may arrive when KDBUS is the only way to use udev, but sofar KDBUS hasn't made it into the kernel.

As for migrating from artoo to apg way : if you're happy with artoo way, that's not needed.
As long as artoo way unofficial repo / AUR packages are maintained/updated and the artoo way focus on manjaro doesn't hinder functionality on archlinux, the removal of it from the wiki should have little impact.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#709 2015-09-06 17:45:02

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

hi guys

Recently updated my system and was installed the following packages:

arandr-0.1.8-1  boost-libs-1.58.0-3  chromium-45.0.2454.85-1  consolekit-1.0.0-3
dhcpcd-6.9.3-1  gettext-0.19.5.1-1  git-2.5.1-1  glibc-2.22-3  gpgme-1.6.0-1
graphite-1:1.3.1-1  gsfonts-20150811-1  hwids-20150717-1  iso-codes-3.61-1  lib32-mesa-10.6.5-1
lib32-mesa-libgl-10.6.5-1  libevdev-1.4.4-1  libgpg-error-1.20-1  mdadm-3.3.4-1  npm-2.14.2-1
polkit-consolekit-0.113-1  vim-7.4.854-1  vim-runtime-7.4.854-1

When restart my system display this error:

XFCE PolicyKit Agent
Error initializing authority: Error al llamar 
StartSereviceByName para org.freedesktop.PolicyKit1:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited:
Launch helper exited with unknown return code 127

my autostart on openbox

/usr/lib/xfce-polkit/xfce-polkit &
compton -cCGfF -o 0.38 -O 200 -I 200 -t 0 -l 0 -r 3 -D2 -m 0.88 &
(sleep 2s && tint2) &
xfce4-power-manager &
(sleep 4s && volumeicon) &
wicd-client --tray &
bash ~/.config/monitor-dual.sh &
nitrogen --restore &

something happened with the new packages installed but i can't find the solution
anyone can help me?
Thnks oyu very much!

Last edited by Glats (2015-09-06 17:45:15)

Offline

#710 2015-09-06 17:58:12

drhill1
Member
Registered: 2013-03-27
Posts: 31

Re: OpenRC & eudev on Arch

Hi Glats,
Where did you get polkit-consolekit and consolekit from?  The versions in the AUR are 0.113-2 and 0.9.4-1 respectively.  I'm guessing that you're using the artoo repository for them and that whole method was deprecated a month or so back.  I didn't fully understand the reasoning behind it, but I swapped over to the apg method anyway and things are currently running just fine here.

Offline

#711 2015-09-06 18:18:32

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

drhill1 wrote:

Hi Glats,
Where did you get polkit-consolekit and consolekit from?  The versions in the AUR are 0.113-2 and 0.9.4-1 respectively.  I'm guessing that you're using the artoo repository for them and that whole method was deprecated a month or so back.  I didn't fully understand the reasoning behind it, but I swapped over to the apg method anyway and things are currently running just fine here.

Oh snap!
Well I going to have change the apg way

Thank you

Offline

#712 2015-09-07 01:19:46

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

Re: OpenRC & eudev on Arch

Hi Glats (and others who may want to keep following artoo way),

You could install the cgmanager-openrc package which became an optional dependency of consolekit-openrc and see if the error gets solved.

@Glats, you may also need to rebuild xfce-polkit-git against new polkit.

Last edited by aaditya (2015-09-07 01:24:00)

Offline

#713 2015-09-07 03:02:54

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

aaditya wrote:

Hi Glats (and others who may want to keep following artoo way),

You could install the cgmanager-openrc package which became an optional dependency of consolekit-openrc and see if the error gets solved.

@Glats, you may also need to rebuild xfce-polkit-git against new polkit.

@aaditya

I did try but it didn't work
I installed cgmanager-openrc, I did yaourt -Rdd xfce-polkit-git and yaourt xfce-polkit-git and gave me the same error

Do I have to edit the PKGBUILD?

Thnks for advanced

Offline

#714 2015-09-07 15:49:04

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

Re: OpenRC & eudev on Arch

Glats wrote:
aaditya wrote:

Hi Glats (and others who may want to keep following artoo way),

You could install the cgmanager-openrc package which became an optional dependency of consolekit-openrc and see if the error gets solved.

@Glats, you may also need to rebuild xfce-polkit-git against new polkit.

@aaditya

I did try but it didn't work
I installed cgmanager-openrc, I did yaourt -Rdd xfce-polkit-git and yaourt xfce-polkit-git and gave me the same error

Do I have to edit the PKGBUILD?

Thnks for advanced

Could you post the output of following commands:

service consolekit status
ck-list-sessions
pgrep -l console
pgrep -p polkit
pacman -Qs consolekit
pacman -Qs cgmanager

Also you could try switching from xfce-polkit-git to polkit-gnome or lxpolkit.

Offline

#715 2015-09-07 23:23:03

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

aaditya wrote:
Glats wrote:
aaditya wrote:

Hi Glats (and others who may want to keep following artoo way),

You could install the cgmanager-openrc package which became an optional dependency of consolekit-openrc and see if the error gets solved.

@Glats, you may also need to rebuild xfce-polkit-git against new polkit.

@aaditya

I did try but it didn't work
I installed cgmanager-openrc, I did yaourt -Rdd xfce-polkit-git and yaourt xfce-polkit-git and gave me the same error

Do I have to edit the PKGBUILD?

Thnks for advanced

Could you post the output of following commands:

service consolekit status
ck-list-sessions
pgrep -l console
pgrep -p polkit
pacman -Qs consolekit
pacman -Qs cgmanager

Also you could try switching from xfce-polkit-git to polkit-gnome or lxpolkit.

[glats@arch-ibm ~]$ service consolekit status
 * status: started
[glats@arch-ibm ~]$ ck-list-sessions
Session1:
	unix-user = '1000'
	realname = '(null)'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ''
	x11-display-device = ''
	display-device = '/dev/tty7'
	remote-host-name = ''
	is-local = TRUE
	on-since = '2015-09-07T23:16:09.666815Z'
	login-session-id = ''
Session2:
	unix-user = '1000'
	realname = '(null)'
	seat = 'Seat1'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2015-09-07T23:16:09.718561Z'
	login-session-id = ''
[glats@arch-ibm ~]$ pgrep -l console
1306 console-kit-dae
[glats@arch-ibm ~]$ pgrep -p polkit
pgrep: opción inválida -- 'p'

Usage:
 pgrep [options] <pattern>

Options:
 -d, --delimiter <string>  specify output delimiter
 -l, --list-name           list PID and process name
 -a, --list-full           list PID and full command line
 -v, --inverse             negates the matching
 -w, --lightweight         list all TID
 -c, --count               count of matching processes
 -f, --full                use full process name to match
 -g, --pgroup <PGID,...>   match listed process group IDs
 -G, --group <GID,...>     match real group IDs
 -n, --newest              select most recently started
 -o, --oldest              select least recently started
 -P, --parent <PPID,...>   match only child processes of the given parent
 -s, --session <SID,...>   match session IDs
 -t, --terminal <tty,...>  match by controlling terminal
 -u, --euid <ID,...>       match by effective IDs
 -U, --uid <ID,...>        match by real IDs
 -x, --exact               match exactly with the command name
 -F, --pidfile <file>      read PIDs from file
 -L, --logpidfile          fail if PID file is not locked
 --ns <PID>                match the processes that belong to the same
                           namespace as <pid>
 --nslist <ns,...>         list which namespaces will be considered for
                           the --ns option.
                           Available namespaces: ipc, mnt, net, pid, user, uts

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see pgrep(1).
[glats@arch-ibm ~]$ pacman -Qs consolekit
local/consolekit 1.0.0-3
    A framework for defining and tracking users, login sessions, and seats
local/consolekit-openrc 20150828-1 (openrc-desktop)
    OpenRC consolekit init script
local/lxdm-consolekit 0.5.1-1 (lxde)
    LXDM with consolekit support enabled
local/polkit-consolekit 0.113-1
    PolyciKit with ConsoleKit support for non-systemd systems
local/xfce4-session-consolekit 4.12.1-1 (xfce4)
    A session manager for Xfce, with upower and consolekit2 support
[glats@arch-ibm ~]$ pacman -Qs cgmanager
local/cgmanager 0.37-2
    Another daemon for managing control groups
local/cgmanager-openrc 20150828-1 (openrc-desktop)
    OpenRC cgmanager init script

cheers!

Also did try with gnome-polkit but didn't work

Last edited by Glats (2015-09-07 23:56:33)

Offline

#716 2015-09-08 03:48:18

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

Re: OpenRC & eudev on Arch

aOops, i meant

pgrep -l polkit

From the output posted looks like consolekit is working, so the error is probably with polkit, dbus, or some related component ..

Offline

#717 2015-09-08 12:47:47

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

aaditya wrote:

aOops, i meant

pgrep -l polkit

From the output posted looks like consolekit is working, so the error is probably with polkit, dbus, or some related component ..

[glats@arch-ibm ~]$ pgrep -l polkit
[glats@arch-ibm ~]$

Don't display anything sad

I think is polkit and/or dbus but I don't know how to fix it

Last edited by Glats (2015-09-08 12:56:03)

Offline

#718 2015-09-09 02:51:09

obarun
Member
Registered: 2015-07-22
Posts: 11
Website

Re: OpenRC & eudev on Arch

I think is polkit and/or dbus but I don't know how to fix it

i don't know how to exactly work openrc but the last version of dbus have a several change for the declaration of the service. take a look on it, may be the dbus service is not declared properly.

Offline

#719 2015-09-11 13:42:00

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

Re: OpenRC & eudev on Arch

Glats wrote:
aaditya wrote:

aOops, i meant

pgrep -l polkit

From the output posted looks like consolekit is working, so the error is probably with polkit, dbus, or some related component ..

[glats@arch-ibm ~]$ pgrep -l polkit
[glats@arch-ibm ~]$

Don't display anything sad

I think is polkit and/or dbus but I don't know how to fix it

Hi Glats,

I got a report about polkit-consolekit being built against incorrect version of js library, I have updated the repo, could you update it on your end and fetch and install the updated polkit-consolekit package and report if it works?

Offline

#720 2015-09-12 01:07:57

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: OpenRC & eudev on Arch

aaditya wrote:
Glats wrote:
aaditya wrote:

aOops, i meant

pgrep -l polkit

From the output posted looks like consolekit is working, so the error is probably with polkit, dbus, or some related component ..

[glats@arch-ibm ~]$ pgrep -l polkit
[glats@arch-ibm ~]$

Don't display anything sad

I think is polkit and/or dbus but I don't know how to fix it

Hi Glats,

I got a report about polkit-consolekit being built against incorrect version of js library, I have updated the repo, could you update it on your end and fetch and install the updated polkit-consolekit package and report if it works?

Yes it works!

Thanks aaditya!

Offline

#721 2015-09-21 06:46:29

xanb
Member
Registered: 2012-07-24
Posts: 419

Re: OpenRC & eudev on Arch

@Aaditya, can you update OpenRC (artoo way) and eudev. It seems that it depends on ncurses < 6.0. So when I update ncurses, it brokes my system.
thanks.

Last edited by xanb (2015-09-21 06:57:24)


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#722 2015-09-21 10:28:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: OpenRC & eudev on Arch

xanb, i had the same problem with openrc ago way.

I booted archlinux live iso, chrooted and rebuild openrc.
Took less then 5 minutes to solve it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#723 2015-09-21 11:40:38

xanb
Member
Registered: 2012-07-24
Posts: 419

Re: OpenRC & eudev on Arch

Lone_Wolf wrote:

xanb, i had the same problem with openrc ago way.

I booted archlinux live iso, chrooted and rebuild openrc.
Took less then 5 minutes to solve it.

My bash is gone. I had to booted archlinux live iso,  copy libncurses.so.5 and then chrooted and downgrade bash and a couple of things.
I prefer an uptodate repo from Aaditya.
Thanks for the advice,


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#724 2015-09-23 16:02:31

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

Re: OpenRC & eudev on Arch

xanb wrote:
Lone_Wolf wrote:

xanb, i had the same problem with openrc ago way.

I booted archlinux live iso, chrooted and rebuild openrc.
Took less then 5 minutes to solve it.

My bash is gone. I had to booted archlinux live iso,  copy libncurses.so.5 and then chrooted and downgrade bash and a couple of things.
I prefer an uptodate repo from Aaditya.
Thanks for the advice,

Hi Xan,

As far as I know, Nous has already updated the openrc-core package, you can check it here:
http://sourceforge.net/projects/archopenrc/rss?path=/

Offline

#725 2015-09-24 07:26:07

xanb
Member
Registered: 2012-07-24
Posts: 419

Re: OpenRC & eudev on Arch

aaditya wrote:
xanb wrote:
Lone_Wolf wrote:

xanb, i had the same problem with openrc ago way.

I booted archlinux live iso, chrooted and rebuild openrc.
Took less then 5 minutes to solve it.

My bash is gone. I had to booted archlinux live iso,  copy libncurses.so.5 and then chrooted and downgrade bash and a couple of things.
I prefer an uptodate repo from Aaditya.
Thanks for the advice,

Hi Xan,

As far as I know, Nous has already updated the openrc-core package, you can check it here:
http://sourceforge.net/projects/archopenrc/rss?path=/

Does it mean that it is compiled against ncurses 6.0?


Owning one OpenRC (artoo way) and other three systemd machines

Offline

Board footer

Powered by FluxBB