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

2019-05-31 Thread Andrei POPESCU
On Vi, 31 mai 19, 08:51:20, Greg Wooledge wrote: > On Fri, May 31, 2019 at 11:47:26AM +0200, Pascal Hambourg wrote: > > > https://wiki.debian.org/MergedUsr > > > > The wiki says this page does not exist yet. > > It's actually . Right, thanks (again) Greg for co

Re: Gmail problems (was Re: Ping as normal user)

2019-05-31 Thread Brian
On Fri 31 May 2019 at 14:33:42 +0100, mick crane wrote: > On 2019-05-31 14:01, rhkra...@gmail.com wrote: > > I guess I have to learn more about google > > mail, maybe either disabling their spam filter, or deciding to switch to > > an > > email provider (ideally free or cheap) who doesn't filter e

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

2019-05-31 Thread Andy Smith
Hello, On Fri, May 31, 2019 at 08:48:36AM -0500, Jason wrote: > On Wed, May 29, 2019 at 11:46:50PM +, Andy Smith wrote: > > How did you install this system? […] > > One other person in this thread said they used (a script which > > ultimately uses) debootstrap. > > This system was installed

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

2019-05-31 Thread Jason
On Wed, May 29, 2019 at 11:46:50PM +, Andy Smith wrote: > Hi Jason, > > On Wed, May 29, 2019 at 04:18:51PM -0500, Jason wrote: > > On Mon, May 27, 2019 at 08:12:32AM +0300, Andrei POPESCU wrote: > > > While I didn't mention it in this thread, ping had indeed somehow lost > > > its capabilitie

Re: Gmail problems (was Re: Ping as normal user)

2019-05-31 Thread mick crane
On 2019-05-31 14:01, rhkra...@gmail.com wrote: I guess I have to learn more about google mail, maybe either disabling their spam filter, or deciding to switch to an email provider (ideally free or cheap) who doesn't filter email for me. (I guess when others mark something as spam, at least som

Gmail problems (was Re: Ping as normal user)

2019-05-31 Thread rhkramer
On Friday, May 31, 2019 07:26:54 AM Pascal Hambourg wrote: > Le 31/05/2019 à 13:16, rhkra...@gmail.com a écrit : > > I wanted to learn at least a little more about that, starting by looking > > back at the original post that mentioned that. I looked back about 10 > > posts but couldn't find it --

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

2019-05-31 Thread Greg Wooledge
On Fri, May 31, 2019 at 11:47:26AM +0200, Pascal Hambourg wrote: > > https://wiki.debian.org/MergedUsr > > The wiki says this page does not exist yet. It's actually .

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

2019-05-31 Thread Thomas Schmitt
Hi, i wrote: > > Currently the Default User depends on assumptions about local package > > management which are not obviously related to security. > > That's a future pitfall which just needs its unintentional cover removed. Reco wrote: > The way I see it, the "problematic" package got that Impor

Re: Ping as normal user

2019-05-31 Thread Pascal Hambourg
Le 31/05/2019 à 13:16, rhkra...@gmail.com a écrit : On Thursday, May 30, 2019 10:55:57 PM Stefan Monnier wrote: $ getcap /bin/ping /bin/ping = cap_net_raw+ep I wanted to learn at least a little more about that, starting by looking back at the original post that mentioned that. I looked back a

Re: Ping as normal user

2019-05-31 Thread rhkramer
On Thursday, May 30, 2019 10:55:57 PM Stefan Monnier wrote: > > $ getcap /bin/ping > > /bin/ping = cap_net_raw+ep I wanted to learn at least a little more about that, starting by looking back at the original post that mentioned that. I looked back about 10 posts but couldn't find it -- can you

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

2019-05-31 Thread Reco
On Fri, May 31, 2019 at 12:09:19PM +0200, Thomas Schmitt wrote: > > Not every filesystem supported by Debian > > implements extended attributes needed for capabilities. > > Off the top of my head it's NFS and JFFS2. > > It is about the filesystem which holds the /bin directory. I would deem it > e

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

2019-05-31 Thread Thomas Schmitt
Hi, i wrote: > > "d/control: Drop Priority of libcap2" > > https://salsa.debian.org/debian/libcap2/commit/5386335db24bfff5cc85bda69dbcda6ab2d7d20d Reco wrote: > Ah, that's what is was. That change made into the stable, I've just checked. Not according to the package tracker: oldstable has 1:2.2

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

2019-05-31 Thread Pascal Hambourg
Le 31/05/2019 à 08:38, Andrei POPESCU a écrit : On Mi, 29 mai 19, 23:29:21, Gene Heskett wrote: the default $PATH the installer sets up for $users, apparently does not include any of the sbin's, only /usr/bin and /bin. I've been fixing that for several generations of debian installs. It won't

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

2019-05-31 Thread Reco
Hi. On Fri, May 31, 2019 at 09:08:55AM +0200, Thomas Schmitt wrote: > Andrei POPESCU wrote: > > The other way would be if the archive priority was changed between > > different installs. > > This has happened in april 2016 (maybe related to bug 780721 ?) > > "d/control: Increase Priori

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

2019-05-31 Thread Thomas Schmitt
Hi, Andrei POPESCU wrote: > The other way would be if the archive priority was changed between > different installs. This has happened in april 2016 (maybe related to bug 780721 ?) "d/control: Increase Priority of libcap2{,-bin} to important" https://salsa.debian.org/debian/libcap2/commit/a

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

2019-05-30 Thread Andrei POPESCU
On Jo, 30 mai 19, 18:43:05, Reco wrote: > Hi. > > On Thu, May 30, 2019 at 11:08:22AM -0400, Greg Wooledge wrote: > > I asked on IRC, and got this answer: > > > > The archive (Packages) and individual .debs can disagree on Priority. It's > > mostly a field that has no meaning these days.

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

2019-05-30 Thread Andrei POPESCU
On Mi, 29 mai 19, 23:29:21, Gene Heskett wrote: > > the default $PATH the installer sets up for $users, apparently does not > include any of the sbin's, only /usr/bin and /bin. I've been fixing that > for several generations of debian installs. Probably shouldn't as there > may be some good re

Re: Ping as normal user

2019-05-30 Thread Stefan Monnier
> $ getcap /bin/ping > /bin/ping = cap_net_raw+ep BTW, if these caps are missing you can recover them with: dpkg-reconfigure iputils-ping -- Stefan

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

2019-05-30 Thread Andy Smith
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

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

2019-05-30 Thread Thomas Schmitt
Hi, i pointed to: > > https://www.debian.org/doc/debian-policy/upgrading-checklist.html#version-4- 0-1 > > [...] Packages may now depend on packages with a lower priority. [...] Curt wrote: > So it seems the reason invoked above is no longer valid due to a change in > policy. It can be legally c

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

2019-05-30 Thread Curt
On 2019-05-30, Thomas Schmitt wrote: > > So the explanation in > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780721#10 > > iputils-ping, as priority "important", cannot declare a dependency on > libcap2-bin, which is priority "optional". > > is wrong and in direct contradiction to The Po

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

2019-05-30 Thread Reco
Hi. On Thu, May 30, 2019 at 11:08:22AM -0400, Greg Wooledge wrote: > I asked on IRC, and got this answer: > > The archive (Packages) and individual .debs can disagree on Priority. It's > mostly a field that has no meaning these days. > > I'm not 100% sure how to interpret that. Are

Re: Ping as normal user

2019-05-30 Thread Sven Hartge
Greg Wooledge wrote: > I asked on IRC, and got this answer: > The archive (Packages) and individual .debs can disagree on Priority. It's > mostly a field that has no meaning these days. > I'm not 100% sure how to interpret that. Are different mirrors giving > out different Packages files w

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

2019-05-30 Thread Thomas Schmitt
Hi, Curt wrote: > >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780721 > >> (libcap2-bin is recommended but is not a dependancy of iputils-ping, > >> because "iputils-ping, as priority 'important', cannot declare a > >> dependency on libcap2-bin, which is priority 'optional'"). > Why is my

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

2019-05-30 Thread Greg Wooledge
I asked on IRC, and got this answer: The archive (Packages) and individual .debs can disagree on Priority. It's mostly a field that has no meaning these days. I'm not 100% sure how to interpret that. Are different mirrors giving out different Packages files with different Priority settings?

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

2019-05-30 Thread Reco
Hi. On Thu, May 30, 2019 at 10:26:29AM -0400, Greg Wooledge wrote: > On Thu, May 30, 2019 at 05:19:49PM +0300, Reco wrote: > > "dpkg -s" gets package state from /var/lib/dpkg/status. > > "apt-cache" also uses /var/lib/apt/lists/*. > > > > Basically your result tells that libcap2-bin is "o

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

2019-05-30 Thread Greg Wooledge
On Thu, May 30, 2019 at 05:19:49PM +0300, Reco wrote: > "dpkg -s" gets package state from /var/lib/dpkg/status. > "apt-cache" also uses /var/lib/apt/lists/*. > > Basically your result tells that libcap2-bin is "optional" from the > repository POV, but your local package database thinks it's "impor

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

2019-05-30 Thread Reco
Hi. On Thu, May 30, 2019 at 09:10:55AM -0400, Greg Wooledge wrote: > On Thu, May 30, 2019 at 01:00:19PM -, Curt wrote: > > On 2019-05-30, Greg Wooledge wrote: > > > But libcap2-bin is priority important in both stretch and buster. > > > > Why is my Stretch apt-cache command telling m

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

2019-05-30 Thread Curt
On 2019-05-30, Greg Wooledge wrote: > On Thu, May 30, 2019 at 01:00:19PM -, Curt wrote: >> On 2019-05-30, Greg Wooledge wrote: >> > But libcap2-bin is priority important in both stretch and buster. >> >> Why is my Stretch apt-cache command telling me it's priority optional? >> Or am I once a

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

2019-05-30 Thread Greg Wooledge
On Thu, May 30, 2019 at 01:00:19PM -, Curt wrote: > On 2019-05-30, Greg Wooledge wrote: > > But libcap2-bin is priority important in both stretch and buster. > > Why is my Stretch apt-cache command telling me it's priority optional? > Or am I once again missing some essential thing? Uh... a

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

2019-05-30 Thread Curt
On 2019-05-30, Greg Wooledge wrote: > On Thu, May 30, 2019 at 09:11:44AM -, Curt wrote: >> There is a bug related to this imbroglio: >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780721 >> (libcap2-bin is recommended but is not a dependancy of iputils-ping, >> because "iputils-ping,

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

2019-05-30 Thread Greg Wooledge
On Thu, May 30, 2019 at 09:11:44AM -, Curt wrote: > There is a bug related to this imbroglio: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780721 > (libcap2-bin is recommended but is not a dependancy of iputils-ping, > because "iputils-ping, as priority 'important', cannot declare a >

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

2019-05-30 Thread Curt
On 2019-05-29, Andy Smith wrote: > > How did you install this system? Because /bin/ping is supposed to > come with file capabilities such that the user can allow it to do > what it needs to do (this is part of what 'dpkg-reconfigure > iputils-ping' restores). So it would be interesting to know how

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

2019-05-29 Thread Reco
Hi. On Thu, May 30, 2019 at 02:44:58AM +, Andy Smith wrote: > So my question is, are installs done by debootstrap somehow losing > the file capabilities? I ask because in this thread, one of the > other people reporting a /bin/ping without the correct capabilities > did their install t

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

2019-05-29 Thread Gene Heskett
On Wednesday 29 May 2019 07:46:50 pm Andy Smith wrote: > Hi Jason, > > On Wed, May 29, 2019 at 04:18:51PM -0500, Jason wrote: > > On Mon, May 27, 2019 at 08:12:32AM +0300, Andrei POPESCU wrote: > > > While I didn't mention it in this thread, ping had indeed somehow > > > lost its capabilities on m

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

2019-05-29 Thread Andy Smith
Hi Cindy, On Wed, May 29, 2019 at 09:48:44PM -0400, Cindy Sue Causey wrote: > So, yeah, at least for Debootstrap. "iputils-ping" is in there at the > absolute very first start where the Developers have picked the very > first packages that get the party started before the User then picks > everyth

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

2019-05-29 Thread Cindy Sue Causey
On 5/29/19, Andy Smith wrote: > Hi Jason, > > On Wed, May 29, 2019 at 04:18:51PM -0500, Jason wrote: >> On Mon, May 27, 2019 at 08:12:32AM +0300, Andrei POPESCU wrote: >> > While I didn't mention it in this thread, ping had indeed somehow lost >> > its capabilities on my system. 'dpkg-reconfigure

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

2019-05-29 Thread Andy Smith
Hi Jason, On Wed, May 29, 2019 at 04:18:51PM -0500, Jason wrote: > On Mon, May 27, 2019 at 08:12:32AM +0300, Andrei POPESCU wrote: > > While I didn't mention it in this thread, ping had indeed somehow lost > > its capabilities on my system. 'dpkg-reconfigure iputils-ping' fixed it. > > That work

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

2019-05-29 Thread Jason
On Mon, May 27, 2019 at 08:12:32AM +0300, Andrei POPESCU wrote: > > While I didn't mention it in this thread, ping had indeed somehow lost > its capabilities on my system. 'dpkg-reconfigure iputils-ping' fixed it. That worked for me (I'm not the OP) with Stretch on an ARM board. Before running