Your message dated Mon, 15 Jul 2019 23:17:41 +0200
with message-id 
<cak0odpxdm9zud5rhoyulnyjtarx-b4uvkkhnrlbc2wxn2ed...@mail.gmail.com>
and subject line Re: [Pkg-shadow-devel] Bug#917773: shadow: doesn't respect 
SOURCE_DATE_EPOCH
has caused the Debian Bug report #917773,
regarding shadow: doesn't respect SOURCE_DATE_EPOCH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
917773: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917773
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: shadow
Severity: normal
User: [email protected]
Usertags: timestamps

Hi,

the /etc/shadow as created by debootstrap does not respect the
SOURCE_DATE_EPOCH environment variable anymore. This bug was formerly
fixed in #857803. Steps to reproduce:

$ sudo SOURCE_DATE_EPOCH=0 debootstrap --variant=minbase unstable 
debian-unstable
$ sudo cat debian-unstable/etc/shadow
root:*:17895:0:99999:7:::
daemon:*:17895:0:99999:7:::
bin:*:17895:0:99999:7:::
sys:*:17895:0:99999:7:::
sync:*:17895:0:99999:7:::
games:*:17895:0:99999:7:::
man:*:17895:0:99999:7:::
lp:*:17895:0:99999:7:::
mail:*:17895:0:99999:7:::
news:*:17895:0:99999:7:::
uucp:*:17895:0:99999:7:::
proxy:*:17895:0:99999:7:::
www-data:*:17895:0:99999:7:::
backup:*:17895:0:99999:7:::
list:*:17895:0:99999:7:::
irc:*:17895:0:99999:7:::
gnats:*:17895:0:99999:7:::
nobody:*:17895:0:99999:7:::
_apt:*::0:99999:7:::

So some parts of shadow respect SOURCE_DATE_EPOCH (the user _apt is
created with a lastchange field of zero) but other parts do not (the
remaining users).

Unfortunately I don't have time to debug this problem right now but my
hunch is, that the culprit is a line like this:

https://sources.debian.org/src/shadow/1:4.5-1.1/src/pwconv.c/?hl=268#L268

Instead, spent.sp_lstchg should be set to the return value of the
gettime() function.

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Control: fixed -1 1:4.7-1

Chris Lamb <[email protected]> ezt írta (időpont: 2019. jan. 2., Sze, 19:21):
>
> forwarded 917773 https://github.com/shadow-maint/shadow/pull/146
> thanks
>
> Hi josch,
>
> > the /etc/shadow as created by debootstrap does not respect the
> > SOURCE_DATE_EPOCH environment variable anymore. This bug was formerly
> > fixed in #857803.
>
> I have attempted to fix this upstream here:
>
>   https://github.com/shadow-maint/shadow/pull/146

Thanks!

Cheers,
Balint

>
>
> Best wishes,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      [email protected] / chris-lamb.co.uk
>        `-
>
> _______________________________________________
> Pkg-shadow-devel mailing list
> [email protected]
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to