Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 16:53:50 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        =?UTF-8?B?SsO4cm4gw4VuZQ==?= <freebsd@jornane.me>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Found possible bug - how to report
Message-ID:  <CA%2Bg%2BBvi8%2BMSijq1Ye=LVbLSoQsntUw%2B0kDS6aYgPNBfc2R3AzA@mail.gmail.com>
In-Reply-To: <8b3948f8-dc6a-af53-4ff5-b73be90884d5@fyrkat.no>
References:  <8b3948f8-dc6a-af53-4ff5-b73be90884d5@fyrkat.no>

next in thread | previous in thread | raw e-mail | index | archive | help
J=C3=B8rn =C3=85ne,

> The problem occurs in csh or tcsh.  When I run a program (not a shell
> built-in command), the shell goes into a state that will cause it to
> exit when I press ^C.  So for example:

A similar question pops up regularly, if this is the same problem, one
solution is explained at. I know that the bug description is not very
clear, but it solved my problem.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208132

If my memory serves me right, I had to edit
/usr/src/bin/csh/config_p.h and replace on line 37:

#define VFORK

by

/* #define VFORK */
#define vfork fork

The make, make install.

Best regards,

Olivier

On Tue, Jul 5, 2016 at 4:12 PM, J=C3=B8rn =C3=85ne <freebsd@jornane.me> wro=
te:
> Hi, i'm fairly new to FreeBSD and i've never submitted a bugreport
> before.  I think I found a bug but i'm not sure which component is to bla=
me.
>
> My setup is as follows:
>
> I use winbind for user accounts, my /etc/nsswitch.conf has the following
> modifications:
> group: winbind files
> passwd: winbind files
>
> The problem occurs in csh or tcsh.  When I run a program (not a shell
> built-in command), the shell goes into a state that will cause it to
> exit when I press ^C.  So for example:
>
> % ^C
> % which which
> which: shell built-in command.
> % ^C
> % which whoami
> /usr/bin/whoami
> % ^C
> % whoami
> jornane
> % ^CConnection closed.
>
> (^C isn't actually printed, I've added it for clarity)
>
> This does not happen in sh-based shells, and it does not happen when I
> change nsswitch back to dist.  This problem could be related to
> tcsh/csh, nsswitch or samba.  I've tried ktrace, but i'm not that good
> at reading the output of kdump, and i'm wary of posting the output here
> since I don't understand what i'm actually sharing.
>
> Any tips on how I can make a good bug report out of this would be
> greatly appreciated!
>
> --
> J=C3=B8rn =C3=85ne
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bg%2BBvi8%2BMSijq1Ye=LVbLSoQsntUw%2B0kDS6aYgPNBfc2R3AzA>