[systemd-devel] How to provision a container after creation via a script

2015-06-23 Thread Matthew Karas
I am trying to configure a container after creation using machinectl but I'm coming up against problems in my implementation. If this isn't the correct way to set up a container after creation please let me know the right way. -My Implementation-- I'm running a bash loop installing

[systemd-devel] sd-bus object manager question

2015-06-23 Thread David Härdeman
Hi, as an experiment I've tried porting a toy dbus daemon over to sd-bus. It seems to be working well so far and I have to say I really like the sd-bus API over the gdbus one (sd-bus feels like I'm still writing C...can't say the same thing about gdbus). Now, a question...how is an object

[systemd-devel] Reload manager defaults at daemon-reload

2015-06-23 Thread Thomas Blume
systemctl daemon-reload should also update the manager defaults from /etc/systemd/system.conf. For details, see: http://lists.freedesktop.org/archives/systemd-devel/2015-June/033062.html Regards Thomas Blume -- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham

Re: [systemd-devel] Reload manager defaults at daemon-reload

2015-06-23 Thread Kay Sievers
On Tue, Jun 23, 2015 at 2:47 PM, Thomas Blume thomas.bl...@suse.com wrote: systemctl daemon-reload should also update the manager defaults from /etc/systemd/system.conf. For details, see: http://lists.freedesktop.org/archives/systemd-devel/2015-June/033062.html Any specific reason not to use

Re: [systemd-devel] FR: different gcrypt options for joornald and importd

2015-06-23 Thread Kay Sievers
On Mon, Jun 8, 2015 at 7:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 08.06.15 19:24, Alexey Shabalin (a.shaba...@gmail.com) wrote: You can build systemd twice to do this. On Fedora we build it twice for example to get python2 as well as python3 modules. But: what's

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Dave Reisner
On Tue, Jun 23, 2015 at 01:19:54PM +0200, Kay Sievers wrote: On Tue, Jun 23, 2015 at 4:02 AM, Dave Reisner d...@falconindy.com wrote: On Tue, Jun 23, 2015 at 01:21:36AM +0200, Kay Sievers wrote: We currently considering to stop creating release tar balls. What's the motivation for this

Re: [systemd-devel] [ANNOUNCE] systemd v221

2015-06-23 Thread Michael Biebl
2015-06-19 16:11 GMT+02:00 Michael Biebl mbi...@gmail.com: I'm very disappointed (once again) how this release was handled. Lot's of last minute changes. Especially https://github.com/systemd/systemd/pull/293 really sucks. While I'm still disappointed how this issue was handled and I still

Re: [systemd-devel] remote-fs dependency/ordering on network

2015-06-23 Thread Lukáš Nykrýn
Jan Synacek píše v Út 23. 06. 2015 v 15:39 +0200: Lennart Poettering lenn...@poettering.net writes: On Mon, 22.06.15 14:49, Jan Synacek (jsyna...@redhat.com) wrote: Lukáš Nykrýn lnyk...@redhat.com writes: Jan Synáček píše v Čt 18. 06. 2015 v 15:41 +0200: Is remote-fs.target

Re: [systemd-devel] remote-fs dependency/ordering on network

2015-06-23 Thread Jan Synacek
Lennart Poettering lenn...@poettering.net writes: On Mon, 22.06.15 14:49, Jan Synacek (jsyna...@redhat.com) wrote: Lukáš Nykrýn lnyk...@redhat.com writes: Jan Synáček píše v Čt 18. 06. 2015 v 15:41 +0200: Is remote-fs.target somehow dependent/ordered on network.target or

[systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
I am sure this is the wrong place to send this e-mail, but I could not find another place to send it. I want to learn and use systemd, but have run into a few problems on my way. Please don't see this as an attack on systemd, I want to learn something new, but change is hard. I am an old

Re: [systemd-devel] journalctl - Error was encountered while opening journal files: Invalid argument

2015-06-23 Thread Johannes Ernst
I realized later that this virtual machine had ended up with a borked btrfs filesystem. I blame it on a problem with the outer OSX filesystem, but regardless, it does not seem to be a systemd problem. So disregard this error. Cheers, Johannes.

Re: [systemd-devel] How to provision a container after creation via a script

2015-06-23 Thread Johannes Ernst
On Jun 23, 2015, at 7:45, Matthew Karas mkarasc...@gmail.com wrote: I am trying to configure a container after creation using machinectl but I'm coming up against problems in my implementation. If this isn't the correct way to set up a container after creation please let me know the right

Re: [systemd-devel] How to provision a container after creation via a script

2015-06-23 Thread Matthew Karas
I have a few gigs - so it shouldn't be a problem. I'm using parallels 9. I will try manually when I have the time. On Tue, Jun 23, 2015 at 2:18 PM, Johannes Ernst johannes.er...@gmail.com wrote: On Jun 23, 2015, at 7:45, Matthew Karas mkarasc...@gmail.com wrote: I am trying to configure a

[systemd-devel] ip_forward

2015-06-23 Thread Johannes Ernst
(Morale: in doubt, lean hard on your booleans) 1. Reboot host. (Arch running in VirtualBox on Mac) 2. host sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1 3. host sudo systemd-nspawn -M container -b -j -n --bind /home:/home (Arch subset / UBOS) 4. container ping 8.8.8.8 7 packets

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
On 6/23/2015 1:01 PM, Reindl Harald wrote: Am 23.06.2015 um 21:45 schrieb Chad: The new systemd way would be to type (23 total characters, no tab complete): systemctl restart httpd Maybe I could tab complete systemctl, but I don't currently have a CentOS 7 system to test on. maybe you

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Ronny Chevalier
On Tue, Jun 23, 2015 at 9:45 PM, Chad ccolu...@gmail.com wrote: I am sure this is the wrong place to send this e-mail, but I could not find another place to send it. Hi, It is the good place :) I want to learn and use systemd, but have run into a few problems on my way. Please don't see

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Ronny Chevalier
On Tue, Jun 23, 2015 at 10:16 PM, Chad ccolu...@gmail.com wrote: On 6/23/2015 1:01 PM, Reindl Harald wrote: Am 23.06.2015 um 21:45 schrieb Chad: The new systemd way would be to type (23 total characters, no tab complete): systemctl restart httpd Maybe I could tab complete systemctl, but

Re: [systemd-devel] How to provision a container after creation via a script

2015-06-23 Thread Chris Morgan
On Tue, Jun 23, 2015 at 4:18 PM, Matthew Karas mkarasc...@gmail.com wrote: I have a few gigs - so it shouldn't be a problem. I'm using parallels 9. I will try manually when I have the time. On Tue, Jun 23, 2015 at 2:18 PM, Johannes Ernst johannes.er...@gmail.com wrote: On Jun 23, 2015, at

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread killermoehre
Am 24.06.2015 um 02:00 schrieb Chad: On 6/23/2015 4:45 PM, Ronny Chevalier wrote: On Wed, Jun 24, 2015 at 1:37 AM, Chad ccolu...@gmail.com wrote: Oh, wait this is the reverse of what I want/need (systemd-sysv-generator goes from init.d to systemd, I need from systemd to init.d). I have a

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Dimitri John Ledkov
On 23 June 2015 at 00:21, Kay Sievers k...@vrfy.org wrote: We currently considering to stop creating release tar balls. For build systems which still require them, they can be created locally from the upstream git repository with: git archive --format=tar --prefix=systemd-$(VERSION)/

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Martin Pitt
Kay Sievers [2015-06-23 1:21 +0200]: Please test these setups locally if that model will work in your setups, and what would possibly need to be fixed in the git tree to make that easier for you. Fine for Debian/Ubuntu. We've always rebuilt the autoconfiscation anyway, and our build system

[systemd-devel] feedback on sd-bus

2015-06-23 Thread Umut Tezduyar Lindskog
Hi, We recently have reimplemented a central component of our software stack with sd-bus and the results are very satisfactory. Though, we have some feedback to discuss. The reimplemented component is a glib based application. For this reason, we have integrated GMain with sd-event (using Tom's

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Kay Sievers
On Tue, Jun 23, 2015 at 4:02 AM, Dave Reisner d...@falconindy.com wrote: On Tue, Jun 23, 2015 at 01:21:36AM +0200, Kay Sievers wrote: We currently considering to stop creating release tar balls. What's the motivation for this change? We focus on git, and git only. We do not want to sign tar

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Michael Olbrich
On Mon, Jun 22, 2015 at 10:21:18PM -0400, Mike Gilbert wrote: On Mon, Jun 22, 2015 at 7:30 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 23.06.15 01:21, Kay Sievers (k...@vrfy.org) wrote: We currently considering to stop creating release tar balls. For build systems

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
Mr. Chevalier, Thank you for your time and reply. On 6/23/2015 1:30 PM, Ronny Chevalier wrote: On Tue, Jun 23, 2015 at 9:45 PM, Chad ccolu...@gmail.com wrote: I am sure this is the wrong place to send this e-mail, but I could not find another place to send it. Hi, It is the good place :)

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Reindl Harald
Am 23.06.2015 um 21:45 schrieb Chad: The new systemd way would be to type (23 total characters, no tab complete): systemctl restart httpd Maybe I could tab complete systemctl, but I don't currently have a CentOS 7 system to test on. maybe you should just install CentOS inside a VM and test

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
On 6/23/2015 4:26 PM, Reindl Harald wrote: Am 24.06.2015 um 01:07 schrieb Chad: You could do something like: systemctl start htttab systemctl sttab or else, and it will complete it. I use bash. This is a cool trick that systemd has over init.d. I know not all programs can do that shell

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Reindl Harald
Am 24.06.2015 um 01:07 schrieb Chad: You could do something like: systemctl start htttab systemctl sttab or else, and it will complete it. I use bash. This is a cool trick that systemd has over init.d. I know not all programs can do that shell completion, for example /etc/init.d/httpd restab

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
On 6/23/2015 1:41 PM, Ronny Chevalier wrote: On Tue, Jun 23, 2015 at 10:16 PM, Chad ccolu...@gmail.com wrote: On 6/23/2015 1:01 PM, Reindl Harald wrote: Am 23.06.2015 um 21:45 schrieb Chad: The new systemd way would be to type (23 total characters, no tab complete): systemctl restart httpd

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
On 6/23/2015 4:25 PM, Ronny Chevalier wrote: On Wed, Jun 24, 2015 at 1:07 AM, Chad ccolu...@gmail.com wrote: Mr. Chevalier, Thank you for your time and reply. On 6/23/2015 1:30 PM, Ronny Chevalier wrote: On Tue, Jun 23, 2015 at 9:45 PM, Chad ccolu...@gmail.com wrote: I am sure this is the

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Ronny Chevalier
On Wed, Jun 24, 2015 at 1:37 AM, Chad ccolu...@gmail.com wrote: Oh, wait this is the reverse of what I want/need (systemd-sysv-generator goes from init.d to systemd, I need from systemd to init.d). I have a nagios script that runs something like: /etc/init.d/httpd status It then reads the

Re: [systemd-devel] [PATCH] ata_id: unbotch format specifier

2015-06-23 Thread Kay Sievers
On Wed, Jun 24, 2015 at 1:48 AM, Jan Engelhardt jeng...@inai.de wrote: Commit v218-247-g11c6f69 broke the output of the utility. %1$ PRIu64 x expands to %1$lux, essentially %lux, which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Ronny Chevalier
On Wed, Jun 24, 2015 at 1:07 AM, Chad ccolu...@gmail.com wrote: Mr. Chevalier, Thank you for your time and reply. On 6/23/2015 1:30 PM, Ronny Chevalier wrote: On Tue, Jun 23, 2015 at 9:45 PM, Chad ccolu...@gmail.com wrote: I am sure this is the wrong place to send this e-mail, but I could

[systemd-devel] [PATCH] ata_id: unbotch format specifier

2015-06-23 Thread Jan Engelhardt
Commit v218-247-g11c6f69 broke the output of the utility. %1$ PRIu64 x expands to %1$lux, essentially %lux, which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to stdout. References: https://bugzilla.redhat.com/show_bug.cgi?id=1227503 ---

Re: [systemd-devel] [PATCH] ata_id: unbotch format specifier

2015-06-23 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: https://github.com/systemd/systemd/compare/master...systemd-mailing-devs:1435103298-2439-1-git-send-email-jengelh%40inai.de -- Generated by https://github.com/haraldh/mail2git

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread Chad
On 6/23/2015 4:45 PM, Ronny Chevalier wrote: On Wed, Jun 24, 2015 at 1:37 AM, Chad ccolu...@gmail.com wrote: Oh, wait this is the reverse of what I want/need (systemd-sysv-generator goes from init.d to systemd, I need from systemd to init.d). I have a nagios script that runs something like: