Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-04-01 Thread Fathi Boudra
>> That should fail the build-dependency check, libutempter build-depends
>> on a newer debhelper than is in lenny.
>
> I changed the dependency in the control file, so that only the lenny
> version of debhelper was required. As the build process did not
> complain, I thought that that version was sufficient.

I'm away for the easter weekend and will upload an updated package monday.

Cheers,

Fathi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-04-01 Thread Christoph Pleger
Hello,

On Wed, 31 Mar 2010 12:52:36 +0200
Julien Cristau  wrote:

> That should fail the build-dependency check, libutempter build-depends
> on a newer debhelper than is in lenny.

I changed the dependency in the control file, so that only the lenny
version of debhelper was required. As the build process did not
complain, I thought that that version was sufficient. 

Regards
  Christoph 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-03-31 Thread Julien Cristau
On Wed, Mar 31, 2010 at 11:47:19 +0200, Christoph Pleger wrote:

> On Wed, 31 Mar 2010 09:27:34 +0200
> Julien Cristau  wrote:
> 
> > How exactly did you build the package?  The packages in the archive
> > have correct permissions (on all architectures)...
> 
> I built it with "dpkg-buildpackage -us -uc -rfakeroot", but with the
> lenny version of debhelper. Maybe that is the reason? If it is, I still

That should fail the build-dependency check, libutempter build-depends
on a newer debhelper than is in lenny.  Or maybe you used a backported
version (which one)?

> wonder why it works that chmod is called before chown. When I execute
> these commands in the same order on the installed
> /usr/lib/utempter/utempter, they definitely remove the setgid
> bit from that file.
> 
Could be a bug in fakeroot.  It intercepts these calls.

(I agree the package is buggy and ought to call chown before chmod; that
doesn't explain what you're seeing though, AFAICT.)

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-03-31 Thread Christoph Pleger
On Wed, 31 Mar 2010 09:27:34 +0200
Julien Cristau  wrote:

> How exactly did you build the package?  The packages in the archive
> have correct permissions (on all architectures)...

I built it with "dpkg-buildpackage -us -uc -rfakeroot", but with the
lenny version of debhelper. Maybe that is the reason? If it is, I still
wonder why it works that chmod is called before chown. When I execute
these commands in the same order on the installed
/usr/lib/utempter/utempter, they definitely remove the setgid
bit from that file.

Regards
  Christoph



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-03-31 Thread Julien Cristau
tag 566113 unreproducible
kthxbye

On Thu, Jan 21, 2010 at 12:12:37 +0100, Christoph Pleger wrote:

> I downloaded your package source and used it to create the two packages for 
> lenny. After installing package libutempter0, the 
> command 'ls -l /usr/lib/utempter/utempter' shows the following:
> 
> -rwxr-xr-x   1 root root   4848 2010-01-19 14:08 utempter
> 
How exactly did you build the package?  The packages in the archive have
correct permissions (on all architectures)...

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions

2010-01-21 Thread Christoph Pleger
Package: libutempter0
Version: 1.1.5-2

Hello,

I downloaded your package source and used it to create the two packages for 
lenny. After installing package libutempter0, the 
command 'ls -l /usr/lib/utempter/utempter' shows the following:

-rwxr-xr-x   1 root root   4848 2010-01-19 14:08 utempter

I think that these are not the correct permissions and ownerships, but that 
the file must be owner root, group utmp with setgid bit set. debian/rules 
tells that it was the intention of the package maintainer to set  ownerships 
and permissions like this, but that had no effect on the installed file.

By the way,  in debian/rules the chmod and chown commands must be called in 
opposite order, because chown removes the setgid bit.

Regards
  Christoph



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org