Hi all,
Derek wrote:
Adding a "#!/bin/sh" at the top of the scripts made them all work again.
it seems this is also happening with python scripts even you have
shebang. To solve this you should change lines like
#!/usr/local/bin/python
to
#!/usr/bin/env python
after this change was made
Known bug. Use full path until it's fixed.
On 10/30/18 10:11 AM, Ted Unangst wrote:
> tomr wrote:
>> I'm a bit confused here. I have some cwm keybindings that `doas rcctl`
>> things, which now aren't working as they used to - which isn't
>> necessarily a problem - but I'm surprised at the behaviour below:
>>
>> # this doesn't work anymor
Tom you have changed a conversation about one problem into a
conversation about a different problem
It is confusing.
Please don't do that.
> On 10/22/18 9:48 AM, Ted Unangst wrote:
> > Ted Unangst wrote:
> >> Ted Unangst wrote:
> >>> Derek wrote:
> Adding a "#!/bin/sh" at the top of the scr
tomr wrote:
> I'm a bit confused here. I have some cwm keybindings that `doas rcctl`
> things, which now aren't working as they used to - which isn't
> necessarily a problem - but I'm surprised at the behaviour below:
>
> # this doesn't work anymore..
> $ doas rcctl
> doas: rcctl: command not foun
On 10/22/18 9:48 AM, Ted Unangst wrote:
> Ted Unangst wrote:
>> Ted Unangst wrote:
>>> Derek wrote:
Adding a "#!/bin/sh" at the top of the scripts made them all work again.
>>>
>>> i don't believe this is a change; that's how it should always work.
>>
>> sorry, this appears wrong. doas actu
Ted Unangst wrote:
> Ted Unangst wrote:
> > Derek wrote:
> > > Adding a "#!/bin/sh" at the top of the scripts made them all work again.
> >
> > i don't believe this is a change; that's how it should always work.
>
> sorry, this appears wrong. doas actually uses execvpe() from libc, which is
> sup
Ted Unangst wrote:
> Derek wrote:
> > Just upgraded from 6.3 to 6.4 and the doas behaviour seems to have changed.
> >
> > I finally solved it, but just posting here in case anyone has this problem.
> >
> > I had a few little shell scripts in /usr/local/sbin/ - intended to be run
> > by doas : one
Derek wrote:
> Just upgraded from 6.3 to 6.4 and the doas behaviour seems to have changed.
>
> I finally solved it, but just posting here in case anyone has this problem.
>
> I had a few little shell scripts in /usr/local/sbin/ - intended to be run
> by doas : one-liners like bioctl mounting a US
>Adding a "#!/bin/sh" at the top of the scripts made them all work
>again.
Sounds like now the behavior is as it should be. If you really need the old
behavior back you could try running the scripts with the dot command.
Just upgraded from 6.3 to 6.4 and the doas behaviour seems to have changed.
I finally solved it, but just posting here in case anyone has this problem.
I had a few little shell scripts in /usr/local/sbin/ - intended to be run
by doas : one-liners like bioctl mounting a USB stick or whatever.
Aft
11 matches
Mail list logo