Bug 13775 - sudo doc reproducibility issue
Summary: sudo doc reproducibility issue
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-02-03 12:24 UTC by Richard Purdie
Modified: 2020-02-05 12:16 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-02-03 12:24:22 UTC
--- oe-reproducible-20200203-65bgspxp/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-14939/reproducibleA/tmp/deploy/deb/core2-64/sudo-doc_1.8.29-r0_amd64.deb
+++ oe-reproducible-20200203-65bgspxp/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-14939/reproducibleB/tmp/deploy/deb/core2-64/sudo-doc_1.8.29-r0_amd64.deb
├── file list
│ @@ -1,3 +1,3 @@
│  -rw-r--r--   0        0        0        4 2019-10-28 13:54:15.000000 debian-binary
│  -rw-r--r--   0        0        0      556 2019-10-28 13:54:15.000000 control.tar.xz
│ --rw-r--r--   0        0        0   477428 2019-10-28 13:54:15.000000 data.tar.xz
│ +-rw-r--r--   0        0        0   477452 2019-10-28 13:54:15.000000 data.tar.xz
├── data.tar.xz
│ ├── data.tar
│ │ ├── file list
│ │ │ @@ -17,15 +17,15 @@
│ │ │  -rw-r--r--   0 root         (0) root         (0)     4156 2019-10-28 13:54:15.000000 ./usr/share/doc/sudo/examples/sudoers
│ │ │  -rw-r--r--   0 root         (0) root         (0)     1075 2019-10-28 13:54:15.000000 ./usr/share/doc/sudo/examples/syslog.conf
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 2019-10-28 13:54:15.000000 ./usr/share/man/
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 2019-10-28 13:54:15.000000 ./usr/share/man/man1/
│ │ │  -rw-r--r--   0 root         (0) root         (0)    11642 2019-10-28 13:54:15.000000 ./usr/share/man/man1/cvtsudoers.1
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 2019-10-28 13:54:15.000000 ./usr/share/man/man5/
│ │ │  -rw-r--r--   0 root         (0) root         (0)    18052 2019-10-28 13:54:15.000000 ./usr/share/man/man5/sudo.conf.5
│ │ │ --rw-r--r--   0 root         (0) root         (0)   134587 2019-10-28 13:54:15.000000 ./usr/share/man/man5/sudoers.5
│ │ │ +-rw-r--r--   0 root         (0) root         (0)   134589 2019-10-28 13:54:15.000000 ./usr/share/man/man5/sudoers.5
│ │ │  -rw-r--r--   0 root         (0) root         (0)     9373 2019-10-28 13:54:15.000000 ./usr/share/man/man5/sudoers_timestamp.5
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 2019-10-28 13:54:15.000000 ./usr/share/man/man8/
│ │ │  -rw-r--r--   0 root         (0) root         (0)    34957 2019-10-28 13:54:15.000000 ./usr/share/man/man8/sudo.8
│ │ │  -rw-r--r--   0 root         (0) root         (0)    67967 2019-10-28 13:54:15.000000 ./usr/share/man/man8/sudo_plugin.8
│ │ │  -rw-r--r--   0 root         (0) root         (0)    11497 2019-10-28 13:54:15.000000 ./usr/share/man/man8/sudoreplay.8
│ │ │  -rw-r--r--   0 root         (0) root         (0)    10688 2019-10-28 13:54:15.000000 ./usr/share/man/man8/visudo.8
│ │ │  lrwxrwxrwx   0 root         (0) root         (0)        0 2019-10-28 13:54:15.000000 ./usr/share/man/man8/sudoedit.8 -> sudo.8
│ │ ├── ./usr/share/man/man5/sudoers.5
│ │ │ @@ -3455,15 +3455,15 @@
│ │ │  created in this directory so that
│ │ │  .Nm sudo
│ │ │  will not lecture the user again.
│ │ │  This directory should
│ │ │  .Em not
│ │ │  be cleared when the system reboots.
│ │ │  The default is
│ │ │ -.Pa /var/db/sudo/lectured .
│ │ │ +.Pa /var/lib/sudo/lectured .
│ │ │  .if \n(PS \{\
│ │ │  .It limitprivs
│ │ │  The default Solaris limit privileges to use when constructing a new
│ │ │  privilege set for a command.
│ │ │  This bounds all privileges of the executing process.
│ │ │  The default limit privileges may be overridden on a per-command basis in
│ │ │  .Em sudoers .
│ │ │ @@ -4662,15 +4662,15 @@
│ │ │  List of network groups
│ │ │  .It Pa /var/log/sudo-io
│ │ │  I/O log files
│ │ │  .It Pa /run/sudo/ts
│ │ │  Directory containing time stamps for the
│ │ │  .Nm
│ │ │  security policy
│ │ │ -.It Pa /var/db/sudo/lectured
│ │ │ +.It Pa /var/lib/sudo/lectured
│ │ │  Directory containing lecture status files for the
│ │ │  .Nm
│ │ │  security policy
│ │ │  .It Pa /etc/environment
│ │ │  Initial environment for
│ │ │  .Fl i
│ │ │  mode on AIX and Linux systems


(see https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20200203-65bgspxp/)
Comment 1 Richard Purdie 2020-02-03 12:25:30 UTC
This path issue is probably what is causing differences in the binaries as well so is important and goes beyond docs.