Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13844 closed defect (wontfix)

/etc/firewall.user last line command failed to start

Reported by: surae@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: 10.03.1
Keywords: firewall user Cc:

Description

in case /etc/firewall.user has no newline on last line the command in the last line, presumably, wound't execute

after adding new line after last line last command worked well

Attachments (0)

Change History (8)

comment:1 Changed 5 years ago by jow

  • Resolution set to wontfix
  • Status changed from new to closed

Limitation of ash.

comment:2 Changed 5 years ago by anonymous

please, explain closing this issue - could I add mine solution to the souce tree?

seems, this is the same case /ticket/13138.html

comment:3 Changed 5 years ago by anonymous

ou, it is limitaion of ash - could we just add newline to the file in some lua script, before executing ash /etc/firewall.user?

comment:4 Changed 5 years ago by jow

No #13138 is not even remotely related, it was triggered by referencing internal chains. Just because two tickets meantion "firewall.user" it does not mean that they correlate.

comment:5 Changed 5 years ago by jow

No, we can't simply add a newline to some Lua script. Simply write proper include files or use a sane editor, vi for example will ensure a final trailing newline.

comment:6 Changed 5 years ago by anonymous

I do use vi ... and why we shoudn't add to /etc/init.d/firewall simple test for newline char in the EOF /etc/firewall.user?

comment:7 Changed 5 years ago by Andrej Surkov <surae@…>

about #13138 - beside the fact that certain rule used is horribly wrong, the command for the rule does pleaced in the very last line of the /etc/firewall.user file! And this is the case - last line wasn't executed.

comment:8 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.