Actions
Bug #866
closedDefaults file has windows line endings
Description
I installed the latest package from the testing repo and the /etc/default/foreman has Windows line endings. This is causing the init.d scripts to fail. After converting the line endings, the init scripts work fine.
puser@puppetqa:~$ cat -e /etc/default/foreman- Start foreman on boot?^M$
START=yes^M$
^M$ - the location where foreman is installed^M$
#FOREMAN_HOME=/usr/share/foreman^M$
^M$ - the network interface which foreman web server is running at^M$
#FOREMAN_IFACE=0.0.0.0^M$
^M$ - the port which foreman web server is running at^M$
- note that if the foreman user is not root, it has to be a > 1024^M$
#FOREMAN_PORT=3000^M$
^M$ - the user which runs the web interface^M$
#FOREMAN_USER=foreman^M$
^M$ - the rails environment in which foreman runs^M$
#FOREMAN_ENV=production^M$
Updated by Ohad Levy over 13 years ago
thats odd, the git checked in version does not have a windows ending.. @josci, any idea?
Updated by Jochen Schalanda over 13 years ago
I can't reproduce the described error. Line endings in our source repository and in the package files are POSIX style (single "\n").
Andrew, please purge Foreman (apt-get purge foreman
), clean your package cache (apt-get clean
) and reinstall Foreman on your system, and check if the wrong line endings are still there.
Updated by Jochen Schalanda over 13 years ago
- Category set to Packaging
- Status changed from Feedback to Rejected
- Assignee set to Jochen Schalanda
I still can't reproduce the described problem. If it occurs again, please write a comment to this issue.
Actions