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


Groups > linux.debian.user > #209433

Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?)

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?)
Date 2019-05-30 23:30 +0200
Message-ID <y3AMx-2Nm-1@gated-at.bofh.it> (permalink)
References (1 earlier) <y3eM1-5zm-7@gated-at.bofh.it> <y3gut-6Hv-1@gated-at.bofh.it> <y3imB-7Si-1@gated-at.bofh.it> <y3jiF-7m-3@gated-at.bofh.it> <y3mqd-2fE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Thu, May 30, 2019 at 09:08:38AM +0300, Reco wrote:
> Easy. You run debootstrap, set some --include options (which pull
> libcap2-bin by dependency), and then you tar the whole resulting
> filesystem.
> tar never understood file capabilities, so they are lost in the process.

Sure, tar is one of the example ways I mentioned before of how I've
seen this go wrong.

> debootstrap (no --variant) does install iputils-ping, but does not
> install libcap2-bin. Hence iputils-ping postinst script simply sets
> suid bit on /bin/ping as postinst cannot locate setcap.

Oh, that's interesting. I didn't think of the case where there is no
libcap2-bin. Still, these reporters aren't getting a suid bit
either, so I guess there must be something else going wrong. Not
debootstrap.

Cheers,
Andy

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


Thread

Why /usr/sbin is not in my root $PATH ? Pierre Couderc <pierre@couderc.eu> - 2019-02-21 09:10 +0100
  Re: Why /usr/sbin is not in my root $PATH ? Reco <recoverym4n@enotuniq.net> - 2019-02-21 09:20 +0100
    Re: Why /usr/sbin is not in my root $PATH ? Pierre Couderc <pierre@couderc.eu> - 2019-02-21 09:40 +0100
      Re: Why /usr/sbin is not in my root $PATH ? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-21 14:30 +0100
        Re: Why /usr/sbin is not in my root $PATH ? Reco <recoverym4n@enotuniq.net> - 2019-02-21 14:40 +0100
          Re: Why /usr/sbin is not in my root $PATH ? Reco <recoverym4n@enotuniq.net> - 2019-02-21 19:20 +0100
            Re: Why /usr/sbin is not in my root $PATH ? ghe <ghe@slsware.net> - 2019-02-21 19:40 +0100
              Re: Why /usr/sbin is not in my root $PATH ? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-21 20:00 +0100
                Re: Why /usr/sbin is not in my root $PATH ? ghe <ghe@slsware.net> - 2019-02-21 21:10 +0100
              Re: Why /usr/sbin is not in my root $PATH ? Ric Moore <wayward4now@gmail.com> - 2019-02-21 21:40 +0100
        Re: Why /usr/sbin is not in my root $PATH ? Brad Rogers <brad@fineby.me.uk> - 2019-02-21 14:40 +0100
          Re: Why /usr/sbin is not in my root $PATH ? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-21 14:40 +0100
            Re: Why /usr/sbin is not in my root $PATH ? Brad Rogers <brad@fineby.me.uk> - 2019-02-21 14:50 +0100
            Re: Why /usr/sbin is not in my root $PATH ? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-21 17:30 +0100
              Re: Why /usr/sbin is not in my root $PATH ? Reco <recoverym4n@enotuniq.net> - 2019-02-21 18:20 +0100
                Re: Why /usr/sbin is not in my root $PATH ? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-21 18:50 +0100
                Re: Why /usr/sbin is not in my root $PATH ? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-26 10:50 +0200
                Re: Why /usr/sbin is not in my root $PATH ? ghe <ghe@slsware.net> - 2019-02-21 19:20 +0100
                Re: Why /usr/sbin is not in my root $PATH ? Reco <recoverym4n@enotuniq.net> - 2019-02-21 19:30 +0100
                Re: Why /usr/sbin is not in my root $PATH ? ghe <ghe@slsware.net> - 2019-05-26 15:50 +0200
                Re: Why /usr/sbin is not in my root $PATH ? Andy Smith <andy@strugglers.net> - 2019-05-27 04:20 +0200
                Re: Why /usr/sbin is not in my root $PATH ? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-27 07:20 +0200
                Re: Why /usr/sbin is not in my root $PATH ? Andy Smith <andy@strugglers.net> - 2019-05-27 07:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Jason <electron@emypeople.net> - 2019-05-30 00:00 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andy Smith <andy@strugglers.net> - 2019-05-30 01:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) Cindy Sue Causey <butterflybytes@gmail.com> - 2019-05-30 03:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andy Smith <andy@strugglers.net> - 2019-05-30 04:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-30 08:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andy Smith <andy@strugglers.net> - 2019-05-30 23:30 +0200
                Re: Ping as normal user Stefan Monnier <monnier@iro.umontreal.ca> - 2019-05-31 05:00 +0200
                Re: Ping as normal user rhkramer@gmail.com - 2019-05-31 13:20 +0200
                Re: Ping as normal user Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-31 13:30 +0200
                Gmail problems (was Re: Ping as normal user) rhkramer@gmail.com - 2019-05-31 15:10 +0200
                Re: Gmail problems (was Re: Ping as normal user) mick crane <mick.crane@gmail.com> - 2019-05-31 15:40 +0200
                Re: Gmail problems (was Re: Ping as normal user) Brian <ad44@cityscape.co.uk> - 2019-05-31 21:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) Gene Heskett <gheskett@shentel.net> - 2019-05-30 05:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-31 08:40 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-31 11:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-31 15:00 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andrei POPESCU <andreimpopescu@gmail.com> - 2019-06-01 07:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Curt <curty@free.fr> - 2019-05-30 11:20 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-30 14:40 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Curt <curty@free.fr> - 2019-05-30 15:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-30 15:20 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Curt <curty@free.fr> - 2019-05-30 15:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-30 16:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-30 16:40 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-30 17:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-30 17:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-31 09:00 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-31 09:20 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-31 10:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-31 12:20 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-31 13:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-31 14:30 +0200
                Re: Ping as normal user Sven Hartge <sven@svenhartge.de> - 2019-05-30 17:50 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Reco <recoverym4n@enotuniq.net> - 2019-05-30 16:30 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-30 17:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Curt <curty@free.fr> - 2019-05-30 18:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH ?) "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-30 18:40 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Jason <electron@emypeople.net> - 2019-05-31 16:10 +0200
                Re: Ping as normal user (Was: Why /usr/sbin is not in my root $PATH  ?) Andy Smith <andy@strugglers.net> - 2019-05-31 16:40 +0200
              Re: Why /usr/sbin is not in my root $PATH ? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-26 10:50 +0200
            Re: Why /usr/sbin is not in my root $PATH ? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2019-02-21 17:40 +0100
        Re: Why /usr/sbin is not in my root $PATH ? Mart van de Wege <mvdwege@gmail.com> - 2019-02-23 15:50 +0100
          Re: Why /usr/sbin is not in my root $PATH ? Tixy <tixy@yxit.co.uk> - 2019-02-23 17:40 +0100
            Re: Why /usr/sbin is not in my root $PATH ? John Hasler <jhasler@newsguy.com> - 2019-02-23 18:30 +0100
              Re: Why /usr/sbin is not in my root $PATH ? Mart van de Wege <mvdwege@gmail.com> - 2019-02-24 09:50 +0100
                Re: Why /usr/sbin is not in my root $PATH ? Curt <curty@free.fr> - 2019-02-24 10:00 +0100
                [OT] Re: Why /usr/sbin is not in my root $PATH ? David Wright <deblis@lionunicorn.co.uk> - 2019-02-24 16:40 +0100
                Re: [OT] Re: Why /usr/sbin is not in my root $PATH ? Martin Smith <tech@smithproductions.co.uk> - 2019-02-24 19:10 +0100
                Re: [OT] Re: Why /usr/sbin is not in my root $PATH ? David Wright <deblis@lionunicorn.co.uk> - 2019-02-24 20:20 +0100

csiph-web