View Issue Details

IDProjectCategoryView StatusLast Update
0005949Kali LinuxKali Package Bugpublic2020-02-07 09:08
Reportergalgalesh Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version2019.4 
Summary0005949: /snap/bin is not added to path
Description

In order to run snaps, /snap/bin needs to be added to the path.

/etc/profile.d/apps-bin-path.sh adds /snap/bin to the path, but this isn't sourced at login (probably because it only applies to bourne shell?).

Steps To Reproduce
apt install snapd
systemctl enable snapd
systemctl start snapd
systemctl enable apparmor
systemctl start apparmor

logout and log back in

$ snap install hello-world
hello-world 6.3 from Canonical✓ installed
$ hello-world
bash: hello-world: command not found

The expected behavior is that hello-world is found (/snap/bin/hello-world)

Activities

rhertzog

rhertzog

2019-12-26 10:46

administrator   ~0011761

Is this problem really specific to Kali? It seems rather unlikely. We are not modifying anything compared to to Debian.

Maybe you should reconfigure your terminal to start login shells? Because /etc/profile is only executed for login shells.

In any case, we will not investigate this issue in Kali, so please report this directly to Debian.

See https://kali.training/topic/filing-a-good-bug-report/ 6.3.3.2. Filing a Bug Report in Debian

We won't fork our package for this.

Issue History

Date Modified Username Field Change
2019-12-24 16:02 galgalesh New Issue
2019-12-26 10:46 rhertzog Assigned To => rhertzog
2019-12-26 10:46 rhertzog Status new => closed
2019-12-26 10:46 rhertzog Resolution open => won't fix
2019-12-26 10:46 rhertzog Note Added: 0011761