On Fri, 23.10.15 13:04, Lennart Poettering (lenn...@poettering.net) wrote:

> On Fri, 23.10.15 09:07, Stuart Longland (stua...@longlandclan.id.au) wrote:
> 
> > On 23/10/15 08:59, Reindl Harald wrote:
> > >> Because the syntax of -H parameter is "[user@]host[:container]"
> > >> and it does not allow specifying an explicit port number.
> > > 
> > > [user@]host[:container][:port]
> > > [user@]host[:port][:container]
> > 
> > Can a container name be all-numeric?
> 
> We make the same restrictions on container names as on host names. And
> that means all-numeric is OK.

Actually in this specific instance I am lying. We do not allow
fully-numeric ids in the -H case, we explicitly filter that out. See:

https://github.com/systemd/systemd/blob/master/src/libsystemd/sd-bus/sd-bus.c#L1308

Lennart

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

Reply via email to