Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 13, 2014 3:41 pm 
Offline
Newbie

Joined: Sun Sep 14, 2014 8:45 pm
Posts: 3
summary: on editing a current StackScript, hitting button='Save Changes' gives the message

Code:
Duplicate name found. A UDF's name must be unique


but there are no apparent duplicate UDFs in the new code.

details:

I currently have a StackScript @ https://manager.linode.com/stackscripts/edit/10237 , which I have previously edited successfully. (I recently made that StackScript public, but if you can't see it, try https://gist.github.com/TomRoche/b25459 ... tackScript .) That StackScript is based on another script ( https://bitbucket.org/tlroche/linode_ju ... _config.sh ) which I recently updated. I'd like to keep the StackScript and its "parent" reasonably "in sync" for maintenance, so I tried to update the StackScript code to that currently saved https://gist.github.com/TomRoche/8967b2 ... tackScript . However, my attempt to save the new code abended with error=

Code:
Duplicate name found. A UDF's name must be unique


However, if you examine the UDF block near top of https://gist.githubusercontent.com/TomR ... tackScript , I believe you can see that there are in fact no duplicate UDFs. Am I missing something?

If so, what? If not,

  • how should I report this bug?
  • is there a workaround?


Last edited by TomRoche on Thu Nov 13, 2014 11:29 pm, edited 1 time in total.

Top
   
PostPosted: Thu Nov 13, 2014 4:53 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Hello,

This is because the "linode_*" namespace is reserved for a few built-in env variables that we provide from our end (like: linode_id). I have corrected the error message that you received to indicate this as such. Sorry for the inaccurate error message.

Linode_*, PATH, and TERM are restricted UDF names.

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group