Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Problems with login and util-linux  (Read 9713 times)

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Problems with login and util-linux
« on: 2018/07/28, 18:53:30 »
Hi,
until now it would be the best of all ideas not to upgrade login and util-linux.

Reasons:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904775 (kind of solved)
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904832

The second bug is possible introduced by the file move from login to util-linux.

^^^ Icke spare mir ne Übersetzung, einfach Füsse stillhalten - wenn das Kind schon in den Brunnen gefallen ist, einfach abwarten 8)
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Problems with login and util-linux
« Reply #1 on: 2018/07/28, 20:22:48 »
Thank you
----
Danke
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Problems with login and util-linux
« Reply #2 on: 2018/07/28, 22:55:59 »
The fixed packages should hit the mirrors with the next sync cycle
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

paneristits

  • Guest
Re: Problems with login and util-linux
« Reply #3 on: 2018/07/29, 00:46:00 »
Greetings.

I'm not sure if this is related or not, but I think I've been bitten badly by this. After the last apt upgrade (which involved these two packages). I seem to have lost functionality in root (I use su -c rather than sudo), and apt/dpkg seems to be hosed as well. Can anyone help. I've google around and got all sorth of answers involving reconfiguring my $PATH, but nothing seems to work.

Any command I attempt to execute under root gives me something like this;

Code: [Select]
zshprompt % su -c "rmmod pcspkr"
Password:
bash: rmmod: command not found

or

Code: [Select]
zsh prompt % vpn-connect
Password:
[!] Error: openvpn is not installed. Install `openvpn` package to continue.

The above is an alias I use for a script to launch my vpn (under root). openvpn is installed (I double checked with apt-cache policy), so I have no idea what's up here. This was actually when I first noticed something was wrong after the update/apgrade.

Also, any new upgrade fails with this message;
Code: [Select]
zsh prompt % su -c "apt update && apt upgrade"
Password:
Hit:1 http://ftp.debian.org/debian sid InRelease                     
Hit:2 http://aptosid.com/debian sid InRelease                                                       
Hit:3 http://debian.ipacct.com/deb-multimedia unstable InRelease                                             
Hit:4 https://liquorix.net/debian sid InRelease                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libapparmor1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/92.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (2)
su -c "apt update && apt upgrade"  6.67s user 1.22s system 39% cpu 20.027 total


Is this related to the two mentioned packages in the thread title? Because if it is, I'm afraid I won't even be able to perform an upgrade to get the fixed packages when they hit, due to these dpkg errors. Is my system hosed, or is there any way to clean up this mess?
« Last Edit: 2018/07/29, 00:49:45 by paneristits »

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Problems with login and util-linux
« Reply #4 on: 2018/07/29, 00:51:31 »
congrats - you are bitten by this bug - fortunately it is fixed and will go into the mirrors this or the next dsync.

Please note: su, su $foo works just fine - su - $foo not. There was a few files not moved when moving the su command to it's new place. once you are root you can upgrade and all is fine again. if you are really desperate about this bug you could use the buildd's to upgrade your system. To be true i would recommend to wait a few hours.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline mdmarmer

  • User
  • Posts: 55
Re: Problems with login and util-linux
« Reply #5 on: 2018/07/29, 23:50:23 »
It's possible to fix this temporarily this way:



PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Offline vilde

  • User
  • Posts: 708
Re: Problems with login and util-linux
« Reply #6 on: 2018/07/30, 10:28:30 »
Is the fix relly in the repos now? Safe to d-u?

Offline harley-peter

  • User
  • Posts: 1.022
Re: Problems with login and util-linux
« Reply #7 on: 2018/08/01, 16:10:53 »
After this post https://forum.siduction.org/index.php?topic=7282.0 I am not sure if it is fixed now.

Baggi

  • Guest
Re: Problems with login and util-linux
« Reply #8 on: 2018/08/01, 17:58:46 »
I made a dist-upgrade with init 3, apt full-upgrade, then apt autoremove, autoclean and init 5 && reboot.
On two computer all works fine, no problems with login.

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: Problems with login and util-linux
« Reply #9 on: 2018/08/02, 07:10:44 »
Please can you post your versions of login and util-linux? I do have four machines running siduction (3 64bit and one 32bit) and all do have the problems up to now. Not dramatically problem - fixable by editing PATH variable - but still present. If I remove my "PATH-additions" I am unable to access binaries in /sbin, /usr/sbin and /usr/local/sbin. Here are my versions:


login:
  Installiert:           1:4.5-1.1
  Installationskandidat: 1:4.5-1.1
  Versionstabelle:
 *** 1:4.5-1.1 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
 

util-linux:
  Installiert:           2.32-0.3
  Installationskandidat: 2.32-0.3
  Versionstabelle:
 *** 2.32-0.3 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
 

krisbee

  • Guest
Re: Problems with login and util-linux
« Reply #10 on: 2018/08/02, 07:44:29 »
Note the difference between "su" and "su -"

Code: [Select]
chris@sid:~$ su
Password:
root@sid:/home/chris# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
root@sid:/home/chris# exit
exit
chris@sid:~$ su -
Password:
root@sid:~#  echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin
root@sid:~#

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: Problems with login and util-linux
« Reply #11 on: 2018/08/02, 08:00:26 »
hmmmmm..... very interesting! Same behaviour here. Additionally username "root" is coloured red when I logged in using "su -". Is this behaviour new intended from now on - two different "root"?? One "less dangerous" and one "more dangerous"?


So one "root for beginners"  :o ?

krisbee

  • Guest
Re: Problems with login and util-linux
« Reply #12 on: 2018/08/02, 09:27:03 »
man su will tell you about the difference. Has behaviour changed since d-u? 

Offline df8oe

  • User
  • Posts: 112
  • Linux von Innen
    • DF8OE
Re: Problems with login and util-linux
« Reply #13 on: 2018/08/02, 09:32:10 »
yes. Befor d-u all paths are complete when only use "su".

Baggi

  • Guest
Re: Problems with login and util-linux
« Reply #14 on: 2018/08/02, 10:27:37 »
 



@df8oe


Code: [Select]


apt-cache policy login util-linux


login:


  Installiert:           1:4.5-1.1


  Installationskandidat: 1:4.5-1.1


  Versionstabelle:


 *** 1:4.5-1.1 500


        500 https://deb.debian.org/debian unstable/main amd64 Packages


        100 /var/lib/dpkg/status




util-linux:


  Installiert:           2.32-0.3


  Installationskandidat: 2.32-0.3


  Versionstabelle:


 *** 2.32-0.3 500


        500 https://deb.debian.org/debian unstable/main amd64 Packages


        100 /var/lib/dpkg/status






Now i have at boot some acpi errors.