-----Ursprüngliche Nachricht----- Von: Denys Vlasenko [mailto:[email protected]] Gesendet: Donnerstag, 16. August 2012 13:26 An: Priebe, Sebastian Cc: [email protected] Betreff: Re: getty: setsid: Operation not permitted on busybox v1.20.2
On Thu, Aug 16, 2012 at 8:01 AM, Priebe, Sebastian <[email protected]> wrote: > -----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 > >Aww. I *think* we are process group leader. >Please run with this: > >bb_perror_msg_and_die("setsid fails: pid %d ppid %d sid %d pgid %d", pid, >getppid(), getsid(0), getpgid(0)); > >and let me know what does it say. getty: setsid fails: pid 1099 ppid 1092 sid 1092 pgid 1099: Operation not permitted --------------------------------------------------------------------------- +++ 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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
