• Heads up. User ID less than 1000

    From Bit Twister@2:250/1 to All on Wed Jul 29 22:59:02 2020
    Here is a heads up about a change that may impact your setup.

    Subject: [dev] Changing /etc/login.defs (default homedir permission, default umask)
    https://ml.mageia.org/l/arc/dev/2020-07/msg00333.html

    Easy check
    $ ls -n /home

    If the UID or GID columns have less than 1000. then I can recommend
    installing VirtualBox, create a mga7 guest, modify it to look pretty
    close to your install with just enough stuff to test.

    Clone the guest to cauldron.

    Now you can close mga guest, boot cauldron, configure it to upgrade
    from cauldron and run the upgrade.

    Now you can test to your heart's content.


    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Thu Jul 30 00:03:03 2020
    On 2020-07-29, Bit Twister <BitTwister@mouse-potato.com> wrote:
    Here is a heads up about a change that may impact your setup.

    Subject: [dev] Changing /etc/login.defs (default homedir permission, default
    umask)
    https://ml.mageia.org/l/arc/dev/2020-07/msg00333.html

    Easy check
    $ ls -n /home

    If the UID or GID columns have less than 1000. then I can recommend installing VirtualBox, create a mga7 guest, modify it to look pretty
    close to your install with just enough stuff to test.

    I am not sure what this is about or why the change in defaults should
    make a difference. If you are upgrading, Mageia should not be changing
    the permissions or the uid/gid on existing home directories anyway. Are
    you saying it is changing those?

    Ie, what are the potential problems?


    Clone the guest to cauldron.

    Now you can close mga guest, boot cauldron, configure it to upgrade
    from cauldron and run the upgrade.

    Now you can test to your heart's content.


    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jul 30 04:28:47 2020
    On Wed, 29 Jul 2020 23:03:03 -0000 (UTC), William Unruh wrote:
    On 2020-07-29, Bit Twister <BitTwister@mouse-potato.com> wrote:
    Here is a heads up about a change that may impact your setup.

    Subject: [dev] Changing /etc/login.defs (default homedir permission, default umask)
    https://ml.mageia.org/l/arc/dev/2020-07/msg00333.html

    Easy check
    $ ls -n /home

    I am not sure what this is about or why the change in defaults should
    make a difference. If you are upgrading, Mageia should not be changing
    the permissions or the uid/gid on existing home directories anyway. Are
    you saying it is changing those?

    I am not saying nothing. This was just an fyi.

    Ie, what are the potential problems?

    Well, right off the bat, you might what to see what /etc/profile
    does to $PATH. As I misunderstand it, login starts with

    # grep /usr/lo /etc/login.defs
    ENV_SUPATH PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin
    ENV_PATH PATH=/usr/local/bin:/usr/bin

    then user login files take over

    Personally I think /etc/profile this snippet is wrong.
    if [ "$EUID" = "0" ]; then
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
    else
    pathmunge /usr/local/sbin after
    pathmunge /usr/sbin after
    fi

    as for your other "potential problems?" I would guess you did not bother
    to read the treads responses. I can also suggest a glance at the thread
    every once in awhile, unless you are subscribed to the dev mail list.


    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Thu Jul 30 06:20:15 2020
    On 2020-07-30, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Wed, 29 Jul 2020 23:03:03 -0000 (UTC), William Unruh wrote:
    On 2020-07-29, Bit Twister <BitTwister@mouse-potato.com> wrote:
    Here is a heads up about a change that may impact your setup.

    Subject: [dev] Changing /etc/login.defs (default homedir permission, default umask)
    https://ml.mageia.org/l/arc/dev/2020-07/msg00333.html

    Easy check
    $ ls -n /home

    I am not sure what this is about or why the change in defaults should
    make a difference. If you are upgrading, Mageia should not be changing
    the permissions or the uid/gid on existing home directories anyway. Are
    you saying it is changing those?

    I am not saying nothing. This was just an fyi.

    It was/is not clear to me what the information was that was being
    conveyed. If this is a statement as to what would be applied to a
    default new user-account one could perhaps argue, on both sides, as to
    what the best default was. If you are saying that these are imposed on
    the system, no matter what the user chose or what the old system had
    what was being upgraded, then that it definitely wrong. Leave the users/sysadmins to decide what they need/want, and don't go imposing
    someone's idea of proper on everyone whether they think the same or not.
    (Of course it has always been that ssh will stop working if you get the permissions wrong on your home directory.)


    Ie, what are the potential problems?

    Well, right off the bat, you might what to see what /etc/profile
    does to $PATH. As I misunderstand it, login starts with

    # grep /usr/lo /etc/login.defs
    ENV_SUPATH PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin ENV_PATH PATH=/usr/local/bin:/usr/bin

    That is identical to what is in /etc/login.defs in Mga7.1
    I assume that the SUPATH is set only for UID=0.

    Certainly I have no ENV_PATH in my environment.

    And I set my path in .bashrc.



    then user login files take over

    Personally I think /etc/profile this snippet is wrong.
    if [ "$EUID" = "0" ]; then
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
    else
    pathmunge /usr/local/sbin after
    pathmunge /usr/sbin after
    fi

    I presume that pathmunge is one of your scripts.


    as for your other "potential problems?" I would guess you did not bother
    to read the treads responses. I can also suggest a glance at the thread
    every once in awhile, unless you are subscribed to the dev mail list.


    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)