Project

General

Profile

Bug #3029

perlbin.sh append_path

nona - almost 3 years ago - . Updated over 2 years ago.

Status:
not-a-bug
Priority:
bug
Assignee:
-
% Done:

0%


Description

Hi!

I am getting some warnings about /etc/profile.d/perlbin.sh (core/perl 5.32.0-1). The warning says that append_path was not found. I seem to remember that append_path would just add something to PATH. I am using OpenRC. (See also perlbin.csh).

Cheers!

History

#1

Updated by bill-auger almost 3 years ago

  • Status changed from unconfirmed to info needed
  • Description updated (diff)

which steps would be needed for someone to reproduce the error message?

#2

Updated by nona almost 3 years ago

What? did I really post an empty bug? No! I am sorry. I remember to have described that perlbin.sh shows an error regarding a missing append_path. May be I forgot to hit send? (unlikely, since the bug report was created).

Anyway:

On boot (OpenRC), I see an error saying something about a missing append_path. I am familiar with that function, and remembered that it came from the scripts in profile.d. When I checked the files over there, I saw that perlbin.sh had append_path. In the back of my head, something told me that this was a convenience function to add a directory to the PATH variable. I fixed it by defining PATH manually, instead of using append_path.

Sorry for missing the description. I don't know what happened.

#3

Updated by bill-auger almost 3 years ago

  • Description updated (diff)

sry, i erased the OP accidentally

#4

Updated by nona almost 3 years ago

No worries. Since I still see the "info needed" tag, I didn't really do anything. When I boot, I see the warning on the OpenRC notices. I guess that to reproduce the problem, you would install OpenRC and perlbin.sh, turn on the computer and look at the messages prior to the OS initialisation. In my case, I just modified the file, and the error is gone.

#5

Updated by nona over 2 years ago

The bug is back. If you want more info, let me know what that would be, please.

#6

Updated by nona over 2 years ago

  • Status changed from info needed to not-a-bug

My system had a very old version of /etc/profile. This file from the filesystem package defines append_path.

Also available in: Atom PDF