Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202138

Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature?

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature?
Date 2018-11-05 15:10 +0100
Message-ID <wQNJL-5YC-5@gated-at.bofh.it> (permalink)
References <wOZvI-4QK-7@gated-at.bofh.it> <wQqDw-7HX-13@gated-at.bofh.it> <wQqNb-7KX-11@gated-at.bofh.it> <wQM1j-4UM-9@gated-at.bofh.it> <wQMkG-50Z-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 05, 2018 at 12:31:11PM +0000, Andy Smith wrote:
> - You have a launcher file that references an executable. In normal
>   cases calling the launcher from your desktop environment (I don't
>   know if this is by menu or button or something else) causes the
>   binary to run. I'm assuming it is a command line binary and you've
>   told it to run in a terminal, so, the expected result is a
>   terminal window with this program running in it.

I would not assume that he "told it to run in a terminal".  I would
in fact assume the exact opposite.

> - You told the launcher to run a terminal with a login shell and now
>   it does do something to indicate there was a failure of the
>   binary.

In this case, he probably "told it to run in a terminal", and whether
the terminal uses a login shell or not is irrelevant.  The fact that
now it's running the program inside a terminal (or possibly a terminal
plus a shell), instead of directly executing the program within an X11
session but outside of a terminal, is what causes the changed behavior.

See my previous message in this thread for a discussion of the treatment
of ENOEXEC by various shells and non-shell programs.

It would be helpful if we knew *which* GUI launcher was in use.  Someone
may know precisely how it operates, so we could avoid guesswork and
assumptions.

Also remember to whom you're responding here.  Richard Owlett has quite
a reputation on this list, and some research into his past threads might
be informative.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Strangeness when binary executable overwritten by text -- bug or  feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 15:20 +0100
  Re: Strangeness when binary executable overwritten by text -- bug  or feature? Curt <curty@free.fr> - 2018-10-31 15:30 +0100
    Re: Strangeness when binary executable overwritten by text -- bug or  feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 15:40 +0100
      Re: Strangeness when binary executable overwritten by text -- bug or  feature? Reco <recoverym4n@enotuniq.net> - 2018-10-31 15:40 +0100
        Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 15:50 +0100
          Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 16:00 +0100
        Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 15:50 +0100
      Re: Strangeness when binary executable overwritten by text -- bug  or feature? Curt <curty@free.fr> - 2018-10-31 16:00 +0100
  Re: Strangeness when binary executable overwritten by text -- bug or  feature? Reco <recoverym4n@enotuniq.net> - 2018-10-31 15:30 +0100
    Re: Strangeness when binary executable overwritten by text -- bug or  feature? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-31 15:50 +0100
    Re: Strangeness when binary executable overwritten by text -- bug or  feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 16:00 +0100
  Re: Strangeness when binary executable overwritten by text -- bug or feature? rhkramer@gmail.com - 2018-10-31 16:40 +0100
    Re: Strangeness when binary executable overwritten by text -- bug or  feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 16:50 +0100
      Re: Strangeness when binary executable overwritten by text -- bug or feature? rhkramer@gmail.com - 2018-10-31 17:00 +0100
        Re: Strangeness when binary executable overwritten by text -- bug  or feature? Curt <curty@free.fr> - 2018-10-31 17:40 +0100
        Re: Strangeness when binary executable overwritten by text -- bug or  feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 17:40 +0100
  IT IS A BUG -- Re: Strangeness when binary executable overwritten by  text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-11-04 14:30 +0100
    Re: IT IS A BUG -- Re: Strangeness when binary executable  overwritten by text -- bug or feature? Andy Smith <andy@strugglers.net> - 2018-11-04 14:40 +0100
      Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten  by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-11-05 13:20 +0100
        Re: IT IS A BUG -- Re: Strangeness when binary executable  overwritten by text -- bug or feature? Andy Smith <andy@strugglers.net> - 2018-11-05 13:40 +0100
          Re: IT IS A BUG -- Re: Strangeness when binary executable  overwritten by text -- bug or feature? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-05 15:10 +0100
            Re: IT IS A BUG -- Re: Strangeness when binary executable  overwritten by text -- bug or feature? Curt <curty@free.fr> - 2018-11-05 16:10 +0100

csiph-web