Bug#923373: devscripts: unshare as root-gaining program

2019-03-24 Thread Dmitry Bogatov


[2019-03-20 16:53] Mattia Rizzolo 
> On Wed, Feb 27, 2019 at 03:02:00AM +, Dmitry Bogatov wrote:
> > as far as I know, `unshare -r' can provide functionality, equal to
> > fakeroot. Please consider making it one of root-gaining option, and
> > probably downgrade dependency on fakeroot.
>
> I'm assuming you are talking about debuild here.
> As a matter of fact, debuild doesn't do anything anymore with regards of
> the -r option, it just passes it on dpkg-buildpackage.
>
> What actual issue are you facing?  You can pass whatever you want to -r,
> as long as the interface provided is the same (which means you may need
> to write a wrapper).

Hard dependency on `fakeroot' is not warranted, at on Linux, I think.
What about

 * providing wrapper around `unshare' in bin:devscripts
 * documenting that wrapper in debuild(1)
 * downgrading fakeroot dependency to recommends
 * (optional) make debuild use unshare wrapper if fakeroot is not
   installed.
-- 
Note, that I send and fetch email in batch, once every 24 hours.
 If matter is urgent, try https://t.me/kaction
 --



Bug#923373: devscripts: unshare as root-gaining program

2019-03-20 Thread Mattia Rizzolo
Control: tag -1 moreinfo

Hi,

On Wed, Feb 27, 2019 at 03:02:00AM +, Dmitry Bogatov wrote:
> as far as I know, `unshare -r' can provide functionality, equal to
> fakeroot. Please consider making it one of root-gaining option, and
> probably downgrade dependency on fakeroot.

I'm assuming you are talking about debuild here.
As a matter of fact, debuild doesn't do anything anymore with regards of
the -r option, it just passes it on dpkg-buildpackage.

What actual issue are you facing?  You can pass whatever you want to -r,
as long as the interface provided is the same (which means you may need
to write a wrapper).

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#923373: devscripts: unshare as root-gaining program

2019-02-26 Thread Dmitry Bogatov

Package: devscripts
Version: 2.19.3
Severity: wishlist

Dear Maintainer,

as far as I know, `unshare -r' can provide functionality, equal to
fakeroot. Please consider making it one of root-gaining option, and
probably downgrade dependency on fakeroot.

-- 
Note, that I send and fetch email in batch, once every 24 hours.
 If matter is urgent, try https://t.me/kaction
 --


pgpRt8_z0WsEU.pgp
Description: PGP signature