Opened 16 years ago

Closed 15 years ago

#3902 closed enhancement (invalid)

Netscript over-written during upgrade installation

Reported by: haiqu Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The file /boot/system/boot/netscript contains examples of how to set up some network parameters. If this file is actually set up, it will be over-written next time the system is upgraded from sources.

Suggest changing the filename to netscript.sample and thus allowing the actual netscript to remain available without re-editing every time.

Change History (4)

comment:1 by scottmc, 16 years ago

Shouldn't users not be changing things in the /boot/system folders?

comment:2 by haiqu, 16 years ago

Usually, except that this file needs to be configured for the specific NIC in the user's system.

In fact I'm unsure whether it's even used with the current networking stack, maybe someone should check into that first.

in reply to:  1 comment:3 by mmadia, 16 years ago

Replying to scottmc:

Shouldn't users not be changing things in the /boot/system folders?

This is 100% correct. The system folder is off limits to 3rd party applications and the end user. Granted, this is currently done by convention and is not enforced by the system.

While one could argue that the system folder needs to be modified in the case of sound drivers conflicting with OSS, I would point out that the desired functionality -- preventing such collision, has not yet been implemented.

Rob, looking at Haiku's /boot/system/boot/Netscript file, the example commands appear to be CLI commands. In addition to this, looking at R5Bone's Netscript, it explicitly states to not edit the file and to instead add the commands to /boot/home/config/boot/UserBootScript. Could you try placing your customizations in UserBootScript? If it works, then Haiku's Netscript file should include a similar explanatory text comment to help avoid future confusion.

comment:4 by mmadia, 15 years ago

Resolution: invalid
Status: newclosed

/boot/system should not be modified by users.

Note: See TracTickets for help on using tickets.