• Systemd & systemctl


    Hi all,

    I’m a big noob when it comes to this stuff. and i’m still learning…

    I’ve been reading through the forums and noticed stuff about getting logs and what not from systemd and systemctl (and with starting services…)

    My question is… what is systemd and systemctl? What are the differences between the two? and what exactly is Antergos (or linux in general) utilising the two for?

    Just trying to get my head around it.

    Thanks in advance!!!

    Never was anything great achieved without danger. - Niccolo Machiavelli

  • Hi all,

    I’m a big noob when it comes to this stuff. and i’m still learning…

    I’ve been reading through the forums and noticed stuff about getting logs and what not from systemd and systemctl (and with starting services…)

    My question is… what is systemd and systemctl? What are the differences between the two? and what exactly is Antergos (or linux in general) utilising the two for?

    Just trying to get my head around it.

    Thanks in advance!!!

    Never was anything great achieved without danger. - Niccolo Machiavelli

  • Mhh… I tink systemd is just a service manager.

    About systemctl, for example: In antergos (and vanilla arch i think) the CUPS service isn’t turned on by default. CUPS service is a printing service to use, well, printers. To activate it you type

    sudo systemctl enable cupsd

    This activates the service on next restart but you can type

    sudo systemctl start cups

    To start it right away and use your printer

    My guess is that systemctl is just a command to control systemd but let someone who knows about this stuff come and explain

    Also, you can see what your current active (and inactive) services are with a GUI called systemd-ui-git[/url:1ezgevhv] and then type “systemadm” on the terminal.

  • @“Vidar”:qkee81d1 said:

    Mhh… I tink systemd is just a service manager.[/quote:qkee81d1]
    You are correct. It could also be considered a system manager because while a lot of what it does deals with services, it also handles things like keeping track of processes, snapshotting and restoring of the system state, and maintaining mount points.

    @“Vidar”:qkee81d1 said:

    My guess is that systemctl is just a command to control systemd but let someone who knows about this stuff come and explain[/quote:qkee81d1]
    Right you are again! Systemctl is how the userspace interacts with systemd, like in the examples you listed. BTW, Cnchi (Antergos Installer) now allows you to enable printing support at install time as well as a few other things

    @“juice”:qkee81d1 said:

    My question is… what is systemd and systemctl? What are the differences between the two? and what exactly is Antergos (or linux in general) utilising the two for?[/quote:qkee81d1]
    So to sum it all up, systemd is a system manager that is integrated very closely with the linux kernel. Systemctl is an interface that allows interaction with systemd from the userspace (desktop environment). The majority of linux distros either already use systemd or have plans to make the switch (Excluding Ubuntu).

    There is another tool that you will likely see mentioned often in the forums and probably make use of yourself. That is journalctl. Similar to systemctl, it allows you to make queries to the journal daemon which controls all system logs. The most common command is “journalctl -b” which will display all system logs since the last boot. Hope this information is helpful. If you have any other questions don’t hesitate to ask!

  • Thank you Vidar and lots.0.logs

    Your responses have helped tremendously. I now understand

    Never was anything great achieved without danger. - Niccolo Machiavelli

  • @“lots.0.logs”:12wymuh2 said:

    BTW, Cnchi (Antergos Installer) now allows you to enable printing support at install time as well as a few other things

    Could you name the other things? In fact, is there a changelog I can read somewhere? I don’t want to have to reinstall antergos every time you guys improve it so I’d like to keep up with it if possible

  • [quote:2at4y6qv]Could you name the other things? In fact, is there a changelog I can read somewhere? I don’t want to have to reinstall antergos every time you guys improve it so I’d like to keep up with it if possible

    Where’s the like button?

    Never was anything great achieved without danger. - Niccolo Machiavelli

  • The ‘changelog’ is actually in the comments section of the News article.

    Refer to this: [http://antergos.com/antergos-2013-08-20-available/#comments][0]">[http://antergos.com/antergos-2013-08-20][1] … /#comments (scroll all the way down).

    But, it would be nice to get updates every now and then, as I presume there have been many changes since the 20/08. Especially in the forums.

    [0]: <a href=
    [1]: http://antergos.com/antergos-2013-08-20

    Never was anything great achieved without danger. - Niccolo Machiavelli

  • @“juice”:oly2tyqp said:

    The ‘changelog’ is actually in the comments section of the News article.

    Refer to this: [http://antergos.com/antergos-2013-08-20-available/#comments][0]">[http://antergos.com/antergos-2013-08-20][1] … /#comments (scroll all the way down).

    But, it would be nice to get updates every now and then, as I presume there have been many changes since the 20/08. Especially in the forums.[/quote:oly2tyqp]

    You are correct that there has been much development on the installer since the last announcement. We are planning to do a new release soon with the latest stable installer. We (the devs) think you bring up a valid point concerning a changelog and are discussing how best to address this. Technically speaking, I blabbed on yet to be officially released features so there wouldn’t be a change log until new version is released. However, we know that our users like to stay informed on the latest and greatest (ie: using a rolling release distro) so we want to provide a way to do so. We have some great ideas being discussed is all I will say right now, but stayed tuned…

    [0]: <a href=
    [1]: http://antergos.com/antergos-2013-08-20

  • I don’t want to have to reinstall antergos every time you guys improve it so I’d like to keep up with it if possible

    There is no need to reinstall when improvements or updates are issued. This is a rolling release! You just simply pacman your way to the latest and greatest.

    pacman -Syu
    

    Of course, Antergos has PacmanXG, which is pretty nifty. Think of it like Synaptic. Open it up, click tasks and choose Update System.

    "We owe a lot to Thomas Edison - if it wasn't for him, we'd be watching television by candlelight." - Milton Berle

  • Hi,

    New post with some insights on Cnchi v0.4 (Antergos Installer)

    [url:3ql5vvmp]http://antergos.com/cnchi-v0-4/[/url:3ql5vvmp]

    Cheers!

  • Excellent work there gentlemen!

    Yes, I noticed your great additions from the 11/3 build. However, I’m sure you have added more since then, and I’m looking forward to using this.

    Because of your hard and earnest work, Antergos is quickly becoming the standard by which other Arch-based distros will be based upon. We already see Manjaro borrowing Cnchi!

    Now if we could push our Distrowatch rating up a bit, that would be great.

    If some want to help with this, go here: [url:2dspqdt1]http://distrowatch.com/search.php?basedon=Arch[/url:2dspqdt1] —>Then click on Antergos.
    Try to do this at least once a day to keep it moving up.

    In God's love,
    †MaNNa <{{{\>< …to You all thanks and glory Lord Yeshua!

    And Jesus prayed to The Father, "And this is the way to ete…

  • Hey just spotted new Testing ISOs!

    Here: [url:60psdi27]http://mirrors.antergos.com/iso/testing/[/url:60psdi27]

    and here: [url:60psdi27]http://mirror.de.leaseweb.net/cinnarch/iso/testing/[/url:60psdi27]

    Now more to test and play with … the latest on the 0.4 Cnchi graphical installer!

    Good job guys!

    In God's love,
    †MaNNa <{{{\>< …to You all thanks and glory Lord Yeshua!

    And Jesus prayed to The Father, "And this is the way to ete…

  • @“juice”:fmdn7pdg said:

    The ‘changelog’ is actually in the comments section of the News article.

    Refer to this: [http://antergos.com/antergos-2013-08-20-available/#comments][0]">[http://antergos.com/antergos-2013-08-20][1] … /#comments (scroll all the way down).

    But, it would be nice to get updates every now and then, as I presume there have been many changes since the 20/08. Especially in the forums.[/quote:fmdn7pdg] i believe he meant things that change that are abtergos specific like display manager and theme for example witch couldnt be upgraded without manual intervention.

    [0]: <a href=
    [1]: http://antergos.com/antergos-2013-08-20

    gmail: [email protected]
    irc: [email protected]

  • I really like that new Cnchi installer. Great interface.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @“Modisc”:3i4wzzrv said:

    I really like that new Cnchi installer. Great interface.[/quote:3i4wzzrv]

    Thank you! The credit definitely goes to karasu as the majority of the awesome work on cnchi is by him.

  • Hi, I have one question about systemctl…

    I have created new file named myscript.service with
    [Unit]
    Description=My script

    [Service]
    ExecStart=/usr/bin/myscript

    [Install]
    WantedBy=multi-user.target

    Everything is working, script is running on each start, but I would like to know what this means :
    [Install]
    WantedBy=multi-user.target

    Thanks in advance

  • Hi,

    That tell’s systemd that your script is required by multi-user.target. Think of targets as a specific levels in the process of either booting or shutting down. To reach graphical.target (which is the final stage in booting up) systemd must first successfully obtain all levels preceding graphical.target. Its easier to understand if you think of it like a game. For each target/level to be complete systemd has to successfully load up all services/daemons/ect required by them. Make sense? Hopefully so

    Here is more info if you need it:
    [https://wiki.archlinux.org/index.php/systemd#Targets][0]">[https://wiki.archlinux.org/index.php/systemd#Targets][1]

    Best Regards,

    [0]: <a href=
    [1]: https://wiki.archlinux.org/index.php/systemd#Targets

Posts 18Views 5553
Log in to reply