Re: [systemd-devel] systemd vs udev automount

2017-10-09 Thread Reindl Harald



Am 09.10.2017 um 20:00 schrieb Paul D. DeRocco:

From: Mantas Mikulenas [mailto:graw...@gmail.com]

Just configure "/dev/disk/by-label/FOOBAR" (or possibly
"LABEL=FOOBAR") as the mount source.


Duh. I never noticed LABEL in the fstab man page. Pretty simple. Thanks


LABEL was used for many years before UUID became common
hence commands like e2label

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


Re: [systemd-devel] systemd vs udev automount

2017-10-09 Thread Paul D. DeRocco
> From: Mantas Mikulenas [mailto:graw...@gmail.com] 
> 
> Just configure "/dev/disk/by-label/FOOBAR" (or possibly 
> "LABEL=FOOBAR") as the mount source.

Duh. I never noticed LABEL in the fstab man page. Pretty simple. Thanks.

-- 

Ciao,   Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com

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


[systemd-devel] systemd-run -M and machinectl shell

2017-10-09 Thread Christian Rebischke
Hello everybody,
I wanted to make sure that this is a bug, before I open a ticket for
this. But I have the following issue.  I am currently writing a shell
script that is debootstrapping a container and changes different
configurations on that container ( a little bit like mkosi  )

One line of my script is the following:

machinectl shell "$CONTAINER_NAME" /bin/passwd -d root

I also tried:

systemd-run -M "$CONTAINER_NAME" /bin/passwd -d root


With both variations I have the same result:

systemd-run says the command was executed but it wasn't. The root
password on the container is still set. When I login into the container
via:

machinectl shell "$CONTAINER_NAME"

and do the line `passwd -d root` manually.. it's working.

Is this a bug or normal behaviour? In last case: What do i wrong?

Best regards,

Chris


signature.asc
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel