Re: [arch-general] [aur-general] /bin/false exited with status 1
On 1 Jun 2013 20:06, "Curtis Shimamoto" <sugar.and.scruffy@gmail.com> wrote:
On 06/01/13 at 07:44pm, Leonidas Spyropoulos wrote:
I am getting this error when I try to use the systemd as user. I used to have mpd set up as user with systemd before some updates, but recently I didn't test it. How could I debug that to find the issue?
First of all, I want to ask if you are aware you have sent this to [aur-general] and not [arch-general]. I think your question has little to do with the AUR.
Apologies, you are right, my intention was to send it to general.
Also, there is a page in teh Arch Wiki that covers setting up user sessions with systemd.[1] Have you taken a look that this? Setup is not quite simply making services and then calling "systemd --user".
I had followed that page on the wiki, I will double check my configuration is correct.
$ systemctl --user status mpd.service Failed to issue method call: Process /bin/false exited with status 1
This is what happens if you don't set up the necessary things that are described in the wiki. But if you are using linux-ck, you should know that even if you set things up, you will still get this because the bfs patchset actually disables some cgroup setting in the kernel that are necessary for user sessions to work.
I am using stock kernel.
[1] https://wiki.archlinux.org/index.php/Systemd/User
Regards, -- Curtis Shimamoto sugar.and.scruffy [at] gmail.com
Thanks for the suggestions. Leonidas
On Mon, Jun 3, 2013 at 9:36 AM, Leonidas Spyropoulos <artafinde@gmail.com> wrote:
Also, there is a page in teh Arch Wiki that covers setting up user sessions with systemd.[1] Have you taken a look that this? Setup is not quite simply making services and then calling "systemd --user".
I had followed that page on the wiki, I will double check my configuration is correct.
I checked again and my problem persists.
$ systemctl --user status mpd.service Failed to issue method call: Process /bin/false exited with status 1
This is what happens if you don't set up the necessary things that are described in the wiki. But if you are using linux-ck, you should know that even if you set things up, you will still get this because the bfs patchset actually disables some cgroup setting in the kernel that are necessary for user sessions to work.
I am using stock kernel.
[1] https://wiki.archlinux.org/index.php/Systemd/User
Regards, -- Curtis Shimamoto sugar.and.scruffy [at] gmail.com
Thanks for the suggestions. Leonidas
Any other suggestion from someone ? Thanks, Leonidas -- Caution: breathing may be hazardous to your health. #include <stdio.h> int main(){printf("%s","\x4c\x65\x6f\x6e\x69\x64\x61\x73");}
On Mon, Jun 3, 2013 at 11:35 PM, Leonidas Spyropoulos <artafinde@gmail.com> wrote: [...]
Any other suggestion from someone ?
It is my intention to help you. Please bear with us.
patchset actually disables some cgroup setting in the kernel that are necessary for user sessions to work.
You might want to read [0] and, grepping [1] for "user session" might point you to [2] over a detour. So. Now that you can answer some questions, answer this one: How much of this can you prove you have running and where exactly is your problem? [0] https://wiki.archlinux.org/index.php/Cgroups [1] https://wiki.archlinux.org/index.php/Systemd [2] https://wiki.archlinux.org/index.php/Systemd#Using_systemd-logind cheers! mar77i
On Fri, Jun 7, 2013 at 3:38 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Mon, Jun 3, 2013 at 11:35 PM, Leonidas Spyropoulos <artafinde@gmail.com> wrote: [...]
Any other suggestion from someone ?
It is my intention to help you. Please bear with us.
Thanks
patchset actually disables some cgroup setting in the kernel that are necessary for user sessions to work.
You might want to read [0] and, grepping [1] for "user session" might point you to [2] over a detour. So. Now that you can answer some questions, answer this one: How much of this can you prove you have running and where exactly is your problem?
Right, I wasn't fully aware of these cgroups. I knew about them but I didn't know they were used in systemd user sessions. I read the links you suggested and I went back to the mpd wiki [1] which led me to the forum thread that recently updated [2]. It seems recently the process described in the wiki it's not working. I end up being in the same situation as post #21 of the forum thread, 'stuck in login'. Is there a step missing from the process described in that post? Would you recommend a different approach? Thanks, Leonidas [1] https://wiki.archlinux.org/index.php/Mpd#Autostart_with_systemd [2] https://bbs.archlinux.org/viewtopic.php?pid=1208585
[0] https://wiki.archlinux.org/index.php/Cgroups [1] https://wiki.archlinux.org/index.php/Systemd [2] https://wiki.archlinux.org/index.php/Systemd#Using_systemd-logind
cheers! mar77i
-- Caution: breathing may be hazardous to your health. #include <stdio.h> int main(){printf("%s","\x4c\x65\x6f\x6e\x69\x64\x61\x73");}
participants (2)
-
Leonidas Spyropoulos
-
Martti Kühne