Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-18 Thread Mark Hounschell
On 04/17/2013 04:16 PM, Lennart Poettering wrote: On Wed, 17.04.13 16:08, Mark Hounschell (ma...@compro.net) wrote: That looks OK. Can you try the logger thing I suggested? That should tell us if the transition works at all... Sorry, I had a dentist Apt. Uh, I put this as the first command i

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Lennart Poettering
On Wed, 17.04.13 22:16, Lennart Poettering (lenn...@poettering.net) wrote: > On Wed, 17.04.13 16:08, Mark Hounschell (ma...@compro.net) wrote: > > > >That looks OK. Can you try the logger thing I suggested? That should > > >tell us if the transition works at all... > > > > Sorry, I had a dentist

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Lennart Poettering
On Wed, 17.04.13 16:08, Mark Hounschell (ma...@compro.net) wrote: > >That looks OK. Can you try the logger thing I suggested? That should > >tell us if the transition works at all... > > Sorry, I had a dentist Apt. > > Uh, I put this as the first command in the /lcrs/sh.lcrs script: > > /bin/su

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Mark Hounschell
On 04/17/2013 01:32 PM, Lennart Poettering wrote: On Wed, 17.04.13 13:21, Mark Hounschell (ma...@compro.net) wrote: The only thing I see in /var/log/messages is: 2013-04-17T11:36:51.667308-04:00 utils-linux su: (to lcrs) root on /dev/ttyS0 Bu that's run on ttyS0? Is that really script? How d

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Lennart Poettering
On Wed, 17.04.13 13:21, Mark Hounschell (ma...@compro.net) wrote: > >>The only thing I see in /var/log/messages is: > >> > >>2013-04-17T11:36:51.667308-04:00 utils-linux su: (to lcrs) root on > >>/dev/ttyS0 > > > >Bu that's run on ttyS0? Is that really script? How do spawn that script? > > > > Fr

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Mark Hounschell
On 04/17/2013 01:12 PM, Lennart Poettering wrote: On Wed, 17.04.13 12:22, Mark Hounschell (ma...@compro.net) wrote: On 04/17/2013 10:27 AM, Lennart Poettering wrote: On Wed, 17.04.13 09:46, Mark Hounschell (ma...@compro.net) wrote: I have been using systemd to boot into a very basic target.

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Lennart Poettering
On Wed, 17.04.13 12:22, Mark Hounschell (ma...@compro.net) wrote: > > On 04/17/2013 10:27 AM, Lennart Poettering wrote: > >On Wed, 17.04.13 09:46, Mark Hounschell (ma...@compro.net) wrote: > > > >>I have been using systemd to boot into a very basic target. That > >>target basically executes a scr

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Mark Hounschell
On 04/17/2013 10:27 AM, Lennart Poettering wrote: On Wed, 17.04.13 09:46, Mark Hounschell (ma...@compro.net) wrote: I have been using systemd to boot into a very basic target. That target basically executes a script. In that script we execute an "su -m -c command user". The last version of syst

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Mark Hounschell
On 04/17/2013 10:09 AM, Andrey Borzenkov wrote: On Wed, Apr 17, 2013 at 5:46 PM, Mark Hounschell wrote: I have been using systemd to boot into a very basic target. That target basically executes a script. In that script we execute an "su -m -c command user". The last version of systemd I have w

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Lennart Poettering
On Wed, 17.04.13 09:46, Mark Hounschell (ma...@compro.net) wrote: > I have been using systemd to boot into a very basic target. That > target basically executes a script. In that script we execute an "su > -m -c command user". The last version of systemd I have where this > worked is version 37. I

Re: [systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Andrey Borzenkov
On Wed, Apr 17, 2013 at 5:46 PM, Mark Hounschell wrote: > I have been using systemd to boot into a very basic target. That target > basically executes a script. In that script we execute an "su -m -c command > user". The last version of systemd I have where this worked is version 37. > I'm using o

[systemd-devel] Reason for su command to be ignored in target?

2013-04-17 Thread Mark Hounschell
I have been using systemd to boot into a very basic target. That target basically executes a script. In that script we execute an "su -m -c command user". The last version of systemd I have where this worked is version 37. I'm using opensuse dist and that was in version 12.2 from about a year a