Difference between revisions of "Talk:PeerGuardian Linux"

From ArchWiki
Jump to: navigation, search
(elegant solution to handle dbus absence)
(Running pgl without dbus)
Line 14: Line 14:
 
BusName=</nowiki>}}
 
BusName=</nowiki>}}
 
--[[User:Gilrain|Gilrain]] ([[User talk:Gilrain|talk]]) 14:48, 28 March 2013 (UTC)
 
--[[User:Gilrain|Gilrain]] ([[User talk:Gilrain|talk]]) 14:48, 28 March 2013 (UTC)
 +
 +
Interesting. I should have been more clear. By "copy of the default pgl.service file", I did not mean copy the whole file, but was refering to the ".include" method described on the wiki page, which is similar to your suggestion.
 +
 +
As an alternative, I tried:
 +
{{bc|<nowiki># systemctl stop dbus dbus.socket
 +
# systemctl restart pgl</nowiki>}}
 +
 +
But this also hangs and times out on pgl start.
 +
 +
My main issue is not how to solve it, but whether one of the wiki pages should be updated (gpl trouble shooting section, for instance). Or is this issue too general?
 +
 +
[[User:Willemw|Willemw]] ([[User talk:Willemw|talk]]) 07:25, 29 March 2013 (UTC)

Revision as of 07:25, 29 March 2013

Running pgl without dbus

On systems not running dbus, "systemctl start pgl" hangs. The following change, in a copy of the default pgl.service file, solves this:

[Service]
BusName=

Willemw (talk) 14:30, 28 March 2013 (UTC)

Duplicating whole service files in /etc is not recommended since one cannot benefit from changes brought to /usr when updating a package. A more elegant solution (offered since systemd 198) is to "extend" the unit file by creating the following folder and file:

/etc/systemd/systemd/pgl.service.d/dbus.conf
[Service]
BusName=

--Gilrain (talk) 14:48, 28 March 2013 (UTC)

Interesting. I should have been more clear. By "copy of the default pgl.service file", I did not mean copy the whole file, but was refering to the ".include" method described on the wiki page, which is similar to your suggestion.

As an alternative, I tried:

# systemctl stop dbus dbus.socket
# systemctl restart pgl

But this also hangs and times out on pgl start.

My main issue is not how to solve it, but whether one of the wiki pages should be updated (gpl trouble shooting section, for instance). Or is this issue too general?

Willemw (talk) 07:25, 29 March 2013 (UTC)