-----Ursprüngliche Nachricht-----
Von: Denys Vlasenko [mailto:[email protected]]
Gesendet: Mittwoch, 15. August 2012 16:22
An: Priebe, Sebastian
Cc: [email protected]
Betreff: Re: getty: setsid: Operation not permitted on busybox v1.20.2

>On Wed, Aug 15, 2012 at 10:00 AM, Priebe, Sebastian 
><[email protected]> wrote:
>> Hello,
>>
>> I get " getty: setsid: Operation not permitted" if calling "getty 921600 
>> tty0".
>
>Please find this place in getty.c:
>
>                pid = getpid();
>                if (getsid(0) != pid)
>                        bb_perror_msg_and_die("setsid");
>
>
>and modify it to print this:
>
>bb_perror_msg_and_die("setsid fails: pid %d ppid %d sid %d", pid, getppid(), 
>getsid(0));

getty: setsid fails: pid 1100 ppid 1092 sid 1092: Operation not permitted

>> I want to call getty from init to provide a login.
>
>Please post your iniitab and .config file

Inittab:
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/bin/cttyhack /bin/sh
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty tty0

Config file appended.
Thanks.


---------------------------------------------------------------------------
 +++ Willkommen bei CADCON auf der ILA Berlin Air Show +++
  11.-16.09.2012, ExpoCenter Airport, Halle 2, Stand 2204
---------------------------------------------------------------------------

CADCON
Ingenieurgesellschaft mbH & Co. KG
Geschaeftsfuehrer: Robert Bauer, Andreas Gundel
Sitz der Gesellschaft: 86368 Gersthofen
Registergericht: Amtsgericht Augsburg HRA 14521

Attachment: busybox_config
Description: busybox_config

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to