[systemd-devel] hostnamectl set-deployment

2016-12-05 Thread Samuel Williams
I want to use this field for a list of roles the server will be setup
with. It feels like a logical thing to do. But for some reason, the
field is very limited:

# hostnamectl set-deployment "roles:development roles:business"
Could not set property: Invalid deployment 'roles:development roles:business'

I can't seem to put in whitespace, underscores, etc. Why is it so limited?

Kind regards,
Samuel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Skipping temporary coredump file during coredump generation

2016-12-05 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Dec 04, 2016 at 06:24:45AM +, P.R.Dinesh wrote:
> Thank you for the insight.
> Shall I propose the patch with the following behaviour.
> 
> Check if "backtrace is enabled" or "compression is not enabled or not
> supported"
> Then store the temporary uncompressed file.
> If not skip the uncompressed file generation.
> 
> if( backtrace_enabled || ( compression_not_enabled ||
> compress_not_supported))
> {
>   generate and store uncompressed coredump
> }
> else
> {
>   skip uncompressed coredump file, compress the STDIN COREFILE.
> }

Sure. To make things even nicer, if backtrace_enabled=1, but we don't
have enough disk space to write the uncompressed image, we could force
backtrace_enabled=0 and fall back to the else branch.

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Assertion in systemd 219 version

2016-12-05 Thread Lennart Poettering
On Mon, 05.12.16 16:24, Gaurang Shastri (gmshas...@gmail.com) wrote:

> Hi,
> 
> I am using systemdv219 in one of my product and observing “Assertion” same
> as mention here:
> 
> https://github.com/systemd/systemd/issues/2676
> 
> 
> 
> But looks like the fix went, with 2 commits, is on way beyond new version
> of systemd. With the v219, I am not even seeing all code matches with the
> patch.
> 
> 
> 
> So would you please let me know if it is good to apply the patch from here
> ( I mean backport manually):
> 
> https://github.com/systemd/systemd/pull/2702/commits
> 
> 
> 
> Though the variables mention in the patch does not match with v219 of
> systemd. So what should I do to fix the issue?

Usually the best way is to use a more current upstream version.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel