You are not logged in.

#1 2012-09-01 10:41:59

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

[Solved] A couple of issues with systemd

1. The inittab method for auto login

x:5:once:/bin/su - -- PREFERRED_USER -l -c '/usr/bin/startx </dev/null >/dev/null 2>&1'

seem to no longer work. I'm sure there's a reasonable explanation, thus this is posted in the newbie corner.

edit:
Solution:
Use SLIM and SLIMs auto login feature. I don't care for SLIM as a manager.

2. reading the wiki page for systemd explains that you can simply install the package systemd-sysvcompat to get rid of the kernel parameter

init=/bin/systemd

That however is a bit complicated as it wants replace sysvinit, but can't due to sysvinit dependencies. I suppose it could be forced, but I dare not before someone assures me it's okay.

edit:
Solution:
Remove initscrips and sysvinit manually before installing systemd-sysvcompat.
One should remember to read up on systemd before doing so however.

Best regards.

Last edited by zacariaz (2012-09-01 14:10:53)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#2 2012-09-01 10:53:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] A couple of issues with systemd

2. Not complicated at all. sysvinit is only required by initscripts, and if you're installing systemd-sysvcompat, you obviously don't need initscripts anymore, so remove that as well as sysvinit.

Offline

#3 2012-09-01 10:59:04

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved] A couple of issues with systemd

tomk wrote:

2. Not complicated at all. sysvinit is only required by initscripts, and if you're installing systemd-sysvcompat, you obviously don't need initscripts anymore, so remove that as well as sysvinit.

Done and done.

Thanks.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#4 2012-09-01 11:34:50

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [Solved] A couple of issues with systemd

For 1. You can try this


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2012-09-01 11:35:49

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved] A couple of issues with systemd

zacariaz wrote:
tomk wrote:

2. Not complicated at all. sysvinit is only required by initscripts, and if you're installing systemd-sysvcompat, you obviously don't need initscripts anymore, so remove that as well as sysvinit.

Done and done.

Thanks.

Actually I was a bit quick there, as now, obviously. I have trouble in regards to the deamons array. I have tried and failed doing it the "right" way, using systemctl, who won't play ball with dbus.

The unit files have no [Install] section. They are not meant to be enabled using systemctl.

I'm perfectly able to start all the deamons or services or whatever you want to call them, using 'systemctl start', but I don't really fancy doing that manually on ever reboot, so I tried recreating rc.conf, which should still work I think, however it don't.

I'm a bit confused I must say.

@progandy
Thanks, I will.

edit:
I just realized that dbus is enabled by default and haven't had any problems enabling syslog-ng or wicd. crond however is another issue, but I assume it isn't needed anymore or something. I don't use it anyway, so I'm not too worried.

Last edited by zacariaz (2012-09-01 11:52:58)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#6 2012-09-01 11:44:44

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved] A couple of issues with systemd

doublepost

Last edited by zacariaz (2012-09-01 11:45:06)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#7 2012-09-01 12:02:25

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [Solved] A couple of issues with systemd

zacariaz wrote:

edit:
I just realized that dbus is enabled by default and haven't had any problems enabling syslog-ng or wicd. crond however is another issue, but I assume it isn't needed anymore or something. I don't use it anyway, so I'm not too worried.

Not all services have the same name as the daemon. Here is a list: https://wiki.archlinux.org/index.php/Da … of_Daemons
If you want to keep syslog-ng, you'll have to read this: https://wiki.archlinux.org/index.php/Sy … md_Journal

Last edited by progandy (2012-09-01 12:03:15)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#8 2012-09-01 12:13:24

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [Solved] A couple of issues with systemd

progandy wrote:
zacariaz wrote:

edit:
I just realized that dbus is enabled by default and haven't had any problems enabling syslog-ng or wicd. crond however is another issue, but I assume it isn't needed anymore or something. I don't use it anyway, so I'm not too worried.

Not all services have the same name as the daemon. Here is a list: https://wiki.archlinux.org/index.php/Da … of_Daemons
If you want to keep syslog-ng, you'll have to read this: https://wiki.archlinux.org/index.php/Sy … md_Journal

Of course.

You must excuse my stupidity, as I have a terrible headache due to some late night... well, stupidity... In short, I'm IQ is several points below the normal. wink

anyway, thanks.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

Board footer

Powered by FluxBB