You are not logged in.
Pages: 1
I've been having issues getting Preload to start up. I believe I need to setup a policy file for polkit to get it working. I'm pretty sure that's the issue form reading Journalctl. The only thing is I don't know how to find Preload's authentication information.
Sep 11 21:27:00 Odin systemd[1]: Started Adaptive readahead daemon.
-- Subject: Unit preload.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit preload.service has finished starting up.
--
-- The start-up result is done.
Sep 11 21:27:00 Odin sudo[2764]: pam_unix(sudo:session): session closed for user root
Sep 11 21:27:00 Odin polkitd[508]: Unregistered Authentication Agent for unix-process:2766:237629 (system bus name :1.56, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnect
Sep 11 21:27:00 Odin systemd[1]: preload.service: Main process exited, code=exited, status=1/FAILURE
Sep 11 21:27:00 Odin systemd[1]: preload.service: Unit entered failed state.
Sep 11 21:27:00 Odin systemd[1]: preload.service: Failed with result 'exit-code'.
I added the file /etc/polkit-1/rules.d/40-preload.rules, but it doesn't seem to be enough. I'm pretty sure preload needs to be refered to differently in here.
polkit.addRule(function(action, subject) {
if(action.id == "preload.service"){
return polkit.Result.YES;
}
});Am I looking down the right path for solving this? Anyone know if there's a command for listing the web address to check against?
**Update: Nevermind I figured out what was wrong. I just needed to recreate /var/lib/preload/preload.state.
Last edited by zerophase (2015-09-12 05:52:12)
Offline
Sorry to necropost,
2023, same issue, same solution.
I wonder if this service is really useful though.
Offline
Pages: 1