systemd - getting started?

2014-02-12 Thread Iain R. Learmonth
Hi,

I liked sysv-rc for the same reason I still use my TI-89. I know how it
works and I know how to use it. I think I can see the merits of systemd
though.

It would be nice if someone could update the wiki with some links for
getting started though. At present, the wiki makes it look like systemd
is not ready for anything and is incredibly buggy. This probably isn't
helping.

Things that have been fixed should probably be removed from the wiki
page (they'd remain in the history of the page, so we don't lose them).

Things I'd like to see are:

 * A systemd primer (like what is a service file?)
 * Packaging documentation for systemd (some has been started [1])
 * How to hack together a service (this is something I did quite a lot
for homebrew scripts on servers)

There are probably other things that others would like to see too.

I can see a lot of enthusiastic systemd supporters on the list, so I'm
sure someone has the knowledge that I'm seeking.

If someone can even just provide a braindump I'll wikify it.

I'll be packaging a lightweight database system soon and I'm going to
need to know what to do about the init system scripts for it.

Sorry if this has already been covered, but this list has been so active
with argument lately that I may have missed it.

Thanks,
Iain.

[1]: https://wiki.debian.org/Systemd/Packaging

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Re: systemd - getting started?

2014-02-12 Thread Jan de Haan
Hi Iain,

   I recommend

   http://0pointer.de/blog/projects/systemd-docs.html

   for starters.

Sincerely,

Jan.


On Wed, Feb 12, 2014 at 12:50 PM, Iain R. Learmonth i...@fsfe.org wrote:

 Hi,

 I liked sysv-rc for the same reason I still use my TI-89. I know how it
 works and I know how to use it. I think I can see the merits of systemd
 though.

 It would be nice if someone could update the wiki with some links for
 getting started though. At present, the wiki makes it look like systemd
 is not ready for anything and is incredibly buggy. This probably isn't
 helping.

 Things that have been fixed should probably be removed from the wiki
 page (they'd remain in the history of the page, so we don't lose them).

 Things I'd like to see are:

  * A systemd primer (like what is a service file?)
  * Packaging documentation for systemd (some has been started [1])
  * How to hack together a service (this is something I did quite a lot
 for homebrew scripts on servers)

 There are probably other things that others would like to see too.

 I can see a lot of enthusiastic systemd supporters on the list, so I'm
 sure someone has the knowledge that I'm seeking.

 If someone can even just provide a braindump I'll wikify it.

 I'll be packaging a lightweight database system soon and I'm going to
 need to know what to do about the init system scripts for it.

 Sorry if this has already been covered, but this list has been so active
 with argument lately that I may have missed it.

 Thanks,
 Iain.

 [1]: https://wiki.debian.org/Systemd/Packaging

 --
 urn:x-human:Iain R. Learmonth
 http://iain.learmonth.me/
 mailto:i...@fsfe.org
 xmpp:i...@jabber.fsfe.org
 tel:+447875886930

 GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
 Please verify out-of-band before trusting with sensitive information.

 [[[ To any GCHQ or other security service agents reading my email: ]]]
 [[[ Please consider if any professional body code of conduct to]]]
 [[[ which you subscribe requires you to follow Snowden's example.  ]]]
 [[[ Your professional membership, chartered or incorporated status ]]]
 [[[ may be at risk.]]]




-- 
Piracy is simply demand where supply does not exist.


Re: systemd - getting started?

2014-02-12 Thread Petr Baudis
  Hi!

  In fact, I installed systemd on my jessie system just yesterday.  So
far I filed two (not very major, promptly being dealt with) bugs and
after a lot of initial conservative scepticism, I'm quite excited
especially by journald. :)


  I found switching to systemd trivial by just following:

/usr/share/doc/systemd/README.Debian

After a reboot, I just played with various systemctl, journalctl and
loginctl commands to get a feeling of it.


  My first experience with a service file has been following


https://wiki.archlinux.org/index.php/Systemd_FAQ#Q:_How_do_I_avoid_clearing_the_console_after_boot.3F

(note that on Debian, stock service files live in /lib/systemd, not
/usr/lib/systemd).


  My rsyslog prints all logs to /dev/tty12 and it continued to do that
just fine after a switch to systemd, but I decided I like the color
coding provided by journalctl and thus wrote my first systemd service
file that'll make journalctl run permanently on /dev/tty12, printing new
log entries. I described what I got (after 10 minutes, incl. reading
manual and debugging) on:

http://log.or.cz/?p=327
http://pasky.or.cz/dev/systemd/journal@tty12.service

  Hope that's useful,

Petr Pasky Baudis


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140212135349.gz19...@machine.or.cz



Re: systemd - getting started?

2014-02-12 Thread Iain R. Learmonth
On 12/02/14 13:53, Petr Baudis wrote:
   [... lots of useful stuff ...]

Thanks!

That's pretty much exactly the sort of thing I was looking for.

Should give me enough to get started, and I'll give all my knowledge
back to the wiki once I've acquired it.

Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Re: systemd - getting started?

2014-02-12 Thread Bjørn Mork
Iain R. Learmonth i...@fsfe.org writes:

 Things I'd like to see are:

  * A systemd primer (like what is a service file?)
  * Packaging documentation for systemd (some has been started [1])
  * How to hack together a service (this is something I did quite a lot
 for homebrew scripts on servers)

 There are probably other things that others would like to see too.

 I can see a lot of enthusiastic systemd supporters on the list,

I'm not quite sure I qualify as one :)

But I'd still like to recommend Neil Brown's excellent article series on
LWN:
 http://lwn.net/Articles/584175/
 http://lwn.net/Articles/584176/

You'll have to subscribe to read those now (or wait).  But I assume the
Debian developers group subscription still applies? Ref
http://lwn.net/Articles/13797/

I'm not a DD, so I cannot verify that...  Anyway, LWN is certainly worth
paying for, even if you're not going to use systemd :-)




Bjørn


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txc448it@nemi.mork.no



Re: systemd - getting started?

2014-02-12 Thread Matthias Urlichs
Hi,

Bjørn Mork:
  http://lwn.net/Articles/584175/
  http://lwn.net/Articles/584176/
 
 You'll have to subscribe to read those now (or wait)

… or find somebody who generates free links to the articles in question.

Since LWN's subscriber link page says that these links may be given to
others, which is not quite the same as publish to a widely-read mailing
list, I will not post these here without asking first.


 Anyway, LWN is certainly worth paying for

Strongly seconded.

-- 
-- Matthias Urlichs


signature.asc
Description: Digital signature


Re: systemd - getting started?

2014-02-12 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 12, 2014 at 02:53:49PM +0100, Petr Baudis wrote:
   Hi!
 
   In fact, I installed systemd on my jessie system just yesterday.  So
 far I filed two (not very major, promptly being dealt with) bugs and
 after a lot of initial conservative scepticism, I'm quite excited
 especially by journald. :)
 
 
   I found switching to systemd trivial by just following:
 
   /usr/share/doc/systemd/README.Debian
 
 After a reboot, I just played with various systemctl, journalctl and
 loginctl commands to get a feeling of it.
 
 
   My first experience with a service file has been following
 
   
 https://wiki.archlinux.org/index.php/Systemd_FAQ#Q:_How_do_I_avoid_clearing_the_console_after_boot.3F
The advice given in this entry is sligtly outdated:
New way would be to add /etc/systemd/system/getty@tty1.service.d/noclearing.conf
containing

  [Service]
  TTYVTDisallocate=no

Zbyszek


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140213001914.gz13...@in.waw.pl



Re: systemd - getting started?

2014-02-12 Thread Matthias Urlichs
Hi,

   http://lwn.net/Articles/584175/
   http://lwn.net/Articles/584176/
  
Part 1 is now no longer behind the paywall.
Part 2: http://lwn.net/SubscriberLink/584176/0c6d3dd9a5243211/ 

 Since LWN's subscriber link page says that these links may be given to
 others, which is not quite the same as publish to a widely-read mailing
 list, I will not post these here without asking first.

I asked: they're OK with that.

-- 
-- Matthias Urlichs


signature.asc
Description: Digital signature