[Pkg-shadow-devel] Changes in su behaviour?

Bálint Réczey balint at balintreczey.hu
Mon Jul 30 09:12:20 BST 2018


Hi Norbert,

2018-07-30 14:30 GMT+08:00 Norbert Preining <norbert at preining.info>:
> Dear all,
>
> I have the feeling that there was a change in su behaviour at some
> point. Now, when I do
>         su
> I get the user path instead of the system's root path. I don't remember
> that I always used
>         su -
> before, though.
>
> I checked the changelogs, but couldn't see anything relevant, though.

Su is shipped by util-linux from now using util-linux's su implementation.
(see #833256)

The changelog mentions that, but it is a NEWSworthy change thus
util-linux will ship a NEWS file as well. Due to the lock-step upgrade
users of the login package will see it as well.

----------------------------

shadow (1:4.5-1.1) unstable; urgency=medium

  * Non-maintainer upload (greetings from DebCamp/DebConf Taiwan).
  * Stop shipping su and break old util-linux version. (See #833256)
    - Breaks on old version to force lockstep upgrade, which should
      really be a depends-new-version (and can be switched around
      together with util-linux once the transition is finished).
      Using Breaks/Depends the 'wrong' way around is to make apt
      unpack things in the 'right' order (avoiding any gaps where
      /bin/su is not available during the upgrade phase).

 -- Andreas Henriksson <andreas at fatal.se>  Fri, 27 Jul 2018 10:07:37 +0200

---------------------------

util-linux (2.32-0.3) unstable; urgency=medium

  * Non-maintainer upload (greetings from DebCamp/DebConf Taiwan).

  [ Andreas Henriksson ]
  * Revert "Disable pristine-tar"
    - needs pristine-tar >= 1.43
  * Install su(1) manpage (Closes: #904837)
  * Actually install su and su-l pam configs (Closes: #904832)

  [ Samuel Thibault ]
  * Add patches from upstream that should fix build on hurd
    - debian/patches/fix-hurd.patch (Closes: #891812)

 -- Andreas Henriksson <andreas at fatal.se>  Sat, 28 Jul 2018 20:21:05 +0200

util-linux (2.32-0.2) unstable; urgency=medium

  * Non-maintainer upload (greetings from DebCamp/DebConf Taiwan).

  [ Laurent Bigonville ]
  * debian/libfdisk1.shlibs: Bump shlibs version as well

  [ Andreas Henriksson ]
  * Mark rfkill as linux-any in debian/control
  * Demote rfkill package to optional again
  * Mark util-linux-locales as M-A foreign
    - as suggested by Multiarch hinter on tracker.debian.org
  * Take over /bin/su from login/src:shadow (See #833256)
    - depends on new login package (rather than breaking old) as an
      attempt to make apt unpack new u-l before new login to avoid
      any gaps where /bin/su is not available.
      The Depends/Breaks relationship between u-l and login can
      be switched around (in both packages at the same time) once
      the transition is fully done (after next stable or lts release).

 -- Andreas Henriksson <andreas at fatal.se>  Fri, 27 Jul 2018 10:01:46 +0200

Cheers,
Balint

>
> Thanks for any explanation
>
> Norbert
>
> --
> PREINING Norbert                               http://www.preining.info
> Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
>
> _______________________________________________
> Pkg-shadow-devel mailing list
> Pkg-shadow-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel



More information about the Pkg-shadow-devel mailing list