Latest git fails during install on arch linux
-
@Sebastian-Roth I don’t think that’d matter as I’m forcing all scripts with #!/bin/bash
-
@Tom-Elliott Well if /bin/bash is just linking to e.g. /bin/dash (don’t laugh!! This is/was true in Ubuntu!)
-
Hi Tom, yes I am using FOG as the DHCP server
-
@Sebastian-Roth Oh I do understand, but in either case, it would be causing issues anyway.
That all said, the OP’s issue is related to the new function written by @Wayne-Workman . I haven’t adjusted the installer to add to the addresses properly yet but I will now.
-
@Sebastian-Roth echo $SHELL returns /bin/bash
-
Seams like Tom has found an issue. He knows the code heaps better than I do! But you can still see if /bin/bash is really a binary or just a link
file /bin/bash
andls -al /bin/bash
… -
@Sebastian-Roth the function can easily be re-written to not use
+=
-
Thank you all for assistance. I have downloaded the latest git (6068) but unfortunately I am unable to get passed the setting up the DHCP server:
The error_log does not state any issues. dhcp.conf does exist in /etc/
Thank you in advance
-
@ttjrm1 Can you please re-update and try again? I think I found the issue and hopefully we can get somewhere now.
-
@Tom-Elliott Just updated as requested. I also removed all dhcp files in etc. Unfortunately install fails at the same place. It would appear that the install script moves the dhcp.conf file instead of copying/backing up the old file before trying to make changes.
-
@ttjrm1 Thanks for the info. I see that was indeed what was happening and am now just copying the file, not moving it. Maybe now it will work?
-
@Tom-Elliott Your welcome. I see your script is trying to start dhcpd.service. On Arch linux the correct service would be dhcpd4.service, they have split IPv4 & v6 into 2 different service files.
-
@ttjrm1 Updated config to allow for dhcpd4. Thanks again.
-
@Tom-Elliott Thank you again Tom. The installer script successfully completes. All appears to be running, now to test.