Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel.testing > #1090

Bug#909395: upgrade-reports: missing sbin in root path

From Jeff Cliff <jeffrey.cliff@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel.testing
Subject Bug#909395: upgrade-reports: missing sbin in root path
Date 2018-09-23 00:40 +0200
Message-ID <wAYJc-1A7-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: upgrade-reports
Severity: important

Dear Maintainer,

Not really sure where to submit this but upgrading to buster via instructions at
https://wiki.debian.org/DebianTesting
resulted in a system that would boot fine, but when i went back in to aptitude afterwards I noticed
/sbin (and its subdirectories, eg /usr/local/sbin:/usr/sbin:/sbin ) was not in root's path.  This meant 
if I used 'su' to log in to root, to install/upgrade/whathaveyou ...ldconfig, 'shutdown' among other 
things was not in the path.

I've now upgraded 2 systems from stable to buster and both did the same thing.

adding 

PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

to .bashrc for root (which was empty) made at least installing/upgrading via aptitude work...but there
wasn't much indication that I had to do this anywhere.  

If this is something new that we have to do for buster, it should be in the instructions

-- System Information: 
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Back to linux.debian.devel.testing | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#909395: upgrade-reports: missing sbin in root path Jeff Cliff <jeffrey.cliff@gmail.com> - 2018-09-23 00:40 +0200
  Processed: Re: Bug#909395: upgrade-reports: missing sbin in root path "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-09-25 20:20 +0200
  Bug#909395:  Jeffrey Cliff <jeffrey.cliff@gmail.com> - 2019-02-12 18:50 +0100

csiph-web