Nethserver on Raspberry Pi

rpi
arm

(jack) #22

just a info:
The Rpi3 image has ben updated yesterday :smile:
http://mirror.centos.org/altarch/7/isos/armhfp/
:sunglasses:


(Alessio Fattorini) #23

I love such kind of hacking :slight_smile:


#24

After your end this hack… Can you look to install Ubuntu or Debian on my ipad? :laughing::laughing::laughing:

Edit: on IOS …


(Mark Verlinde) #25

Got a NS7 minimal setup running on Centos. Yeh coming close!! :grin:
Cheating on mdadm (Soft RAID); installed that with rpm –nodept, that’s not gona work

Installed NS from local repo’s with a modified nethserver-install script:

diff nethserver-install /usr/sbin/nethserver-install
99c103
< logexec "yum -y --disablerepo=* --enablerepo=extras,base,updates install epel-release deltarpm"
---
> logexec "yum -y --disablerepo=* --enablerepo=extras,base,updates install deltarpm"
101c105,106
< logexec "yum --disablerepo=* --enablerepo=nethserver-base,nethserver-updates,base,updates,epel,extras install @nethserver-iso $modules -y"
---
> NSarm="nethserver-base nethserver-firewall-base nethserver-lang-en nethserver-httpd-admin nethserver-dnsmasq nethserver-hosts nethserver-lsm nethserver-ntp nethserver-php"
> logexec "yum -y --disablerepo=* --enablerepo=local-base,local-ns-epel,base,updates,extras install $NSarm"

It seem to end in :cry: : Unit_nethserver-system-init.service_has_failed, missing systemd unit nethserver-config-network.service…
Manualy enabeling and stating the and it works!! :smiley: :smiley:
journalctl:

    Mar 19 16:50:12 nethpi.havak.lan polkitd[279]: Unregistered Authentication Agent for unix-process:7409:359868 (system bus name :1.19, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
    Mar 19 16:53:00 nethpi.havak.lan polkitd[279]: Registered Authentication Agent for unix-process:7469:376644 (system bus name :1.20 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
    Mar 19 16:53:00 nethpi.havak.lan polkitd[279]: Unregistered Authentication Agent for unix-process:7469:376644 (system bus name :1.20, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
...
    Mar 19 17:05:00 nethpi.havak.lan esmith::event[8868]: Event: firewall-adjust SUCCESS
    Mar 19 17:05:00 nethpi.havak.lan esmith::event[9296]: Event: runlevel-adjust
    Mar 19 17:05:01 nethpi.havak.lan systemd[1]: Reloading.
....
    Mar 19 17:05:06 nethpi.havak.lan kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Mar 19 17:05:06 nethpi.havak.lan NetworkManager[259]: <warn>  (pid 555) unhandled DHCP event for interface eth0
    Mar 19 17:05:06 nethpi.havak.lan esmith::event[9405]: expanding /etc/resolv.conf
    Mar 19 17:05:06 nethpi.havak.lan esmith::event[9405]: expanding /etc/dnsmasq.conf
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: expanding /etc/hosts
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: expanding /etc/modprobe.d/bonding.conf
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: expanding /etc/sysconfig/network
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: expanding /etc/ppp/pap-secrets
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: expanding /etc/ppp/chap-secrets
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [1.240414]
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S20interface-rename SUCCESS [0.53959]
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: Deleting interface #5 eth0, fe80::ba27:ebff:fed9:d9db#123, interface stats: received=0, sent=0, dropped=0, active_time=52 secs
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: Deleting interface #3 eth0, 10.0.0.140#123, interface stats: received=24, sent=24, dropped=0, active_time=52 secs
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: 91.192.36.161 interface 10.0.0.140 -> (none)
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: 87.195.109.106 interface 10.0.0.140 -> (none)
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: 83.162.149.224 interface 10.0.0.140 -> (none)
    Mar 19 17:05:07 nethpi.havak.lan ntpd[7850]: 141.138.142.81 interface 10.0.0.140 -> (none)
    Mar 19 17:05:07 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S25interface-config-reset SUCCESS [0.097745]
    Mar 19 17:05:08 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S30interface-config-write SUCCESS [0.546775]
    Mar 19 17:05:08 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S40interface-config-write-pppoe SUCCESS [0.535977]
    Mar 19 17:05:09 nethpi.havak.lan systemd[1]: Starting LSB: Bring up/down networking...
    -- Subject: Unit network.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit network.service has begun starting up.
    Mar 19 17:05:09 nethpi.havak.lan NetworkManager[259]: <info>  ifcfg-rh: new connection /etc/sysconfig/network-scripts/ifcfg-eth0 (5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03,"System eth0")
    Mar 19 17:05:09 nethpi.havak.lan NetworkManager[259]: <warn>  ifcfg-rh: Ignoring connection /etc/sysconfig/network-scripts/ifcfg-eth0 (5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03,"System eth0") / device 'eth0' due to NM_CONTROLLED=no.
    Mar 19 17:05:09 nethpi.havak.lan NetworkManager[259]: <info>  (eth0): device state change: disconnected -> unmanaged (reason 'unmanaged') [30 10 3]
    Mar 19 17:05:09 nethpi.havak.lan NetworkManager[259]: <info>  ifcfg-rh: remove /etc/sysconfig/network-scripts/ifcfg-eth0 (0cb1274f-af94-4a51-a5bc-7608a1e37d63,"eth0")
    Mar 19 17:05:10 nethpi.havak.lan network[9461]: Bringing up loopback interface:  Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
    Mar 19 17:05:10 nethpi.havak.lan network[9461]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
    Mar 19 17:05:10 nethpi.havak.lan NetworkManager[259]: <info>  (eth0): link disconnected (calling deferred action)
    Mar 19 17:05:10 nethpi.havak.lan network[9461]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
    Mar 19 17:05:11 nethpi.havak.lan network[9461]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
    Mar 19 17:05:11 nethpi.havak.lan network[9461]: [  OK  ]
    Mar 19 17:05:11 nethpi.havak.lan kernel: smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    Mar 19 17:05:11 nethpi.havak.lan NetworkManager[259]: <info>  (eth0): link connected
    Mar 19 17:05:13 nethpi.havak.lan kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
    Mar 19 17:05:14 nethpi.havak.lan ntpd[7850]: Listen normally on 6 eth0 10.0.0.140 UDP 123
    Mar 19 17:05:14 nethpi.havak.lan ntpd[7850]: Listen normally on 7 eth0 fe80::ba27:ebff:fed9:d9db UDP 123
    Mar 19 17:05:14 nethpi.havak.lan ntpd[7850]: new interface(s) found: waking up resolver
    Mar 19 17:05:15 nethpi.havak.lan ntpd[7850]: 0.0.0.0 0618 08 no_sys_peer
    Mar 19 17:05:17 nethpi.havak.lan network[9461]: Bringing up interface eth0:  [  OK  ]
    Mar 19 17:05:18 nethpi.havak.lan systemd[1]: Started LSB: Bring up/down networking.
    -- Subject: Unit network.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit network.service has finished starting up.
    --
    -- The start-up result is done.
    Mar 19 17:05:18 nethpi.havak.lan esmith::event[9405]: Starting network (via systemctl):  [  OK  ]
    Mar 19 17:05:18 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S70network-start SUCCESS [9.149043]
    Mar 19 17:05:18 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S75interface-config-hostname SUCCESS [0.847882]
    Mar 19 17:05:19 nethpi.havak.lan esmith::event[9680]: Event: static-routes-save
    Mar 19 17:05:20 nethpi.havak.lan esmith::event[9680]: Action: /etc/e-smith/events/static-routes-save/S15network-route-down SUCCESS [0.536932]
    Mar 19 17:05:20 nethpi.havak.lan esmith::event[9680]: Action: /etc/e-smith/events/static-routes-save/S25interface-config-write SUCCESS [0.821938]
    Mar 19 17:05:21 nethpi.havak.lan esmith::event[9680]: Action: /etc/e-smith/events/static-routes-save/S30interface-config-write-pppoe SUCCESS [0.545303]
    Mar 19 17:05:21 nethpi.havak.lan esmith::event[9680]: Action: /etc/e-smith/events/static-routes-save/S35network-route-up SUCCESS [0.569951]
    Mar 19 17:05:21 nethpi.havak.lan esmith::event[9680]: Event: static-routes-save SUCCESS
    Mar 19 17:05:21 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S80static-routes-save SUCCESS [3.027681]
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Reloading.
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:22 nethpi.havak.lan esmith::event[9405]: [INFO] service dnsmasq restart
    Mar 19 17:05:22 nethpi.havak.lan dnsmasq[7811]: exiting on receipt of SIGTERM
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Stopping DNS caching server....
    -- Subject: Unit dnsmasq.service has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dnsmasq.service has begun shutting down.
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Started DNS caching server..
    -- Subject: Unit dnsmasq.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dnsmasq.service has finished starting up.
    --
    -- The start-up result is done.
    Mar 19 17:05:22 nethpi.havak.lan systemd[1]: Starting DNS caching server....
    -- Subject: Unit dnsmasq.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dnsmasq.service has begun starting up.
    Mar 19 17:05:23 nethpi.havak.lan esmith::event[9405]: [INFO] dnsmasq restart
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq[9704]: started, version 2.66 cachesize 4000
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq[9704]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq-tftp[9704]: TFTP root is /var/lib/tftpboot
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq[9704]: using nameserver 10.0.1.200#53
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq[9704]: using nameserver 10.0.0.100#53
    Mar 19 17:05:23 nethpi.havak.lan dnsmasq[9704]: read /etc/hosts - 2 addresses
    Mar 19 17:05:23 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [1.031198]
    Mar 19 17:05:23 nethpi.havak.lan esmith::event[9705]: Event: nethserver-firewall-base-save interface-update
    Mar 19 17:05:24 nethpi.havak.lan esmith::event[9705]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup SUCCESS [0.667307]
    Mar 19 17:05:24 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/rules
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/stoppedrules
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/zones
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/tunnels
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/providers
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/masq
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/shorewall.conf
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/rtrules
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/tcpri
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/policy
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/nat
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/tcinterfaces
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/tcrules
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/maclist
    Mar 19 17:05:25 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/actions
    Mar 19 17:05:26 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/hosts
    Mar 19 17:05:26 nethpi.havak.lan esmith::event[9705]: expanding /etc/shorewall/interfaces
    Mar 19 17:05:26 nethpi.havak.lan esmith::event[9705]: expanding /etc/lsm/lsm.conf
    Mar 19 17:05:26 nethpi.havak.lan esmith::event[9705]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [1.869599]
    Mar 19 17:05:26 nethpi.havak.lan systemd[1]: Reloading.
    Mar 19 17:05:26 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    Mar 19 17:05:27 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:27 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:33 nethpi.havak.lan logger[10110]: Shorewall restarted
    Mar 19 17:05:33 nethpi.havak.lan esmith::event[9705]: [NOTICE] Shorewall restart
    Mar 19 17:05:33 nethpi.havak.lan esmith::event[9705]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S89nethserver-shorewall-restart SUCCESS [7.794879]
    Mar 19 17:05:34 nethpi.havak.lan systemd[1]: Reloading.
    Mar 19 17:05:34 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    Mar 19 17:05:34 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:34 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:34 nethpi.havak.lan esmith::event[9705]: [INFO] lsm is disabled: skipped
    Mar 19 17:05:34 nethpi.havak.lan esmith::event[9705]: [INFO]
    Mar 19 17:05:34 nethpi.havak.lan esmith::event[9705]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.939555]
    Mar 19 17:05:34 nethpi.havak.lan esmith::event[9705]: Event: nethserver-firewall-base-save SUCCESS
    Mar 19 17:05:34 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S90firewall-adjust SUCCESS [11.928716]
    Mar 19 17:05:35 nethpi.havak.lan esmith::event[10129]: Event: trusted-networks-modify
    Mar 19 17:05:35 nethpi.havak.lan esmith::event[10129]: Action: /etc/e-smith/events/trusted-networks-modify/S10legacy-call-network-create SUCCESS [0.013976]
    Mar 19 17:05:36 nethpi.havak.lan esmith::event[10131]: Event: nethserver-firewall-base-save trusted-networks-modify
    Mar 19 17:05:36 nethpi.havak.lan esmith::event[10131]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup SUCCESS [0.668346]
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/rules
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/stoppedrules
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/zones
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/tunnels
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/providers
    Mar 19 17:05:37 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/masq
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/shorewall.conf
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/rtrules
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/tcpri
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/policy
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/nat
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/tcinterfaces
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/tcrules
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/maclist
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/actions
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/hosts
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/shorewall/interfaces
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: expanding /etc/lsm/lsm.conf
    Mar 19 17:05:38 nethpi.havak.lan esmith::event[10131]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [1.831982]
    Mar 19 17:05:39 nethpi.havak.lan systemd[1]: Reloading.
    Mar 19 17:05:39 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    Mar 19 17:05:39 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:39 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:46 nethpi.havak.lan logger[10537]: Shorewall restarted
    Mar 19 17:05:46 nethpi.havak.lan esmith::event[10131]: [NOTICE] Shorewall restart
    Mar 19 17:05:46 nethpi.havak.lan esmith::event[10131]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S89nethserver-shorewall-restart SUCCESS [7.713857]
    Mar 19 17:05:46 nethpi.havak.lan systemd[1]: Reloading.
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/ebtables.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: Configuration file /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10131]: [INFO] lsm is disabled: skipped
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10131]: [INFO]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10131]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.94275]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10131]: Event: nethserver-firewall-base-save SUCCESS
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10129]: Action: /etc/e-smith/events/trusted-networks-modify/S94firewall-adjust SUCCESS [11.820246]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[10129]: Event: trusted-networks-modify SUCCESS
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[9405]: Action: /etc/e-smith/events/interface-update/S95trusted-networks-modify SUCCESS [12.373761]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[9405]: Event: interface-update SUCCESS
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[7702]: Action: /etc/e-smith/events/system-init/S95nethserver-base-interface-update SUCCESS [43.206686]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[7702]: Action: /etc/e-smith/events/system-init/S98nethserver-system-init-clear SUCCESS [0.284423]
    Mar 19 17:05:47 nethpi.havak.lan esmith::event[7702]: Event: system-init FAILED
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: nethserver-system-init.service: main process exited, code=exited, status=1/FAILURE
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: Failed to start Initialize NethServer configuration.
    -- Subject: Unit nethserver-system-init.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit nethserver-system-init.service has failed.
    --
    -- The result is failed.
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: Unit nethserver-system-init.service entered failed state.
    Mar 19 17:05:47 nethpi.havak.lan systemd[1]: nethserver-system-init.service failed.
    Mar 19 17:05:47 nethpi.havak.lan polkitd[279]: Unregistered Authentication Agent for unix-process:7697:440156 (system bus name :1.23, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
    Mar 19 17:07:05 nethpi.havak.lan polkitd[279]: Registered Authentication Agent for unix-process:10571:461137 (system bus name :1.34 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
    Mar 19 17:07:05 nethpi.havak.lan systemd[1]: Started Initialize NethServer configuration.
    -- Subject: Unit nethserver-system-init.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit nethserver-system-init.service has finished starting up.
    --
    -- The start-up result is done.
    Mar 19 17:07:05 nethpi.havak.lan polkitd[279]: Unregistered Authentication Agent for unix-process:10571:461137 (system bus name :1.34, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)

Missing Rebuild (beside mdam) Packages are:

lsm.armv7hl                       0.195-1.el7.centos          @local-ns-epel
perl-Authen-PAM.armv7hl           0.16-16.el7.centos          @local-ns-epel
perl-Crypt-Cracklib.armv7hl       1.7-5.el7.centos            @local-ns-epel
python-simplejson.armv7hl         3.3.3-1.el7.centos          @local-ns-epel

Msiing Not rebuild Packages are:

shorewall.noarch                  4.6.5.3-1.el7               @local-ns-epel
shorewall-core.noarch             4.6.5.3-1.el7               @local-ns-epel
perl-IO-Multiplex.noarch          1.13-6.el7                  @local-ns-epel
perl-Net-IPv4Addr.noarch          0.10-19.el7                 @local-ns-epel
perl-Net-Server.noarch            2.007-2.el7                 @local-ns-epel
perl-Text-Template.noarch         1.45-12.el7                 @local-ns-epel

I need help (leads) to debug this… :worried:


(Mark Verlinde) #26

Got it! Nethserver-init tries to enable the non-existing epel repo.

I wrecked my x86 development environment trying to setup a mock cross-complier chroot.
At the moment unable to make a new rpm nethserver-install for arm, but confident to get a nice result.
Where do we go from here?
Using this repo tree on the local network, but really no idea how to share this with you…

Give me your thoughts


(Alessio Fattorini) #27

That’s great! @nrauso do you have any hardware to test @mark_nl’s work?


(Giacomo Sanchietti) #28

Can you show us the mock configuration file?
Maybe we can create a new arch directory inside packages.nethserver.org where we can share all the RPMs.

Maybe you should try to disable NetworkManager.

Sadly I don’t have the hardware (no the time :frowning: ) to try it.


(Mark Verlinde) #29

Just set up a new vm for building thing’s and am able to rebuild NS packages again; In the future I might ask for some leads on mock - cross compiling. :sunglasses:

IMO development for arm should be 100% community driven; with a (lot of) support from the nethsever dev team’s knowledge. :wink:

That being said, support for a development repo infrastructure would be great. :smiley:
I’m just an enthusiastic amateur , to kick this off help from the community is really needed;
sharing the results so far could be inspiring.


(Mark Verlinde) #30

And this looks promising:
http://armv7.dev.centos.org/repodir/epel-pass-1/


(Alessio Fattorini) #31

I think that @ctek would be our man for this

Thanks @mark_nl for all the effort and time you have spent on NethServer, your commitment is admirable! An example for every new guy who land on community. :clap:


(Bogdan Costin) #32

I’m in for this if somebody is willing to contribute, a DevRepo can be setup.
Any other members on this ?

What Distro / SW platform do you suggest ?
If anyone has set up something like this just let me know so we can bring it up.


(Mark Verlinde) #33

Great! And Thanx in advance!! :grinning: :grinning:
I’m building/testing on a RPI2 running on CentOS 7.1503;
it hanging in there on it fingernails (as expected…).

Have to iron out some issues with the initial installation;
did some naughty things to satisfy dependencies …

Apart from that that charming little PI keeps on amassing me. :open_mouth:

Give me a couple of day’s and it should be possible to have tar ball with an initial repo.
Let’s hope we can get other members moved by this . :stuck_out_tongue_winking_eye:


(Mark Verlinde) #34

Just a teaser…


(Giacomo Sanchietti) #35

Wow!!


#36

it is not fair, I really don’t have time. I tried in every way to ignore / forget this thread … :relieved:
but it is useless, I can not resist … :smirk: I am downloading the centos for rasp2, but please if you can, start writing your tests on the wiki, so we avoid making the same tests.
if we need a temporary repo we can also use my little server on ovh … and let me know how i can help…
tnx


(Mark Verlinde) #37

Great, :smile:
It’s time the real cracks take a look at this, have this curl pit’s i can’t figure out:

  • dhclient throws up errors going from NetworkManager > network.service > IFup IFdown
  • timing of wpa_supliant@wlan.servce and IFup/IFdown

Yeah this is a bit of a problem, am dyslectic as h@ll; It takes me more time to write this 8 line post, as to search for the same amount of source packages and install them in a build directory… (ill make a sumary)

Do you want to have the locale repo i’m using? I’ll clean it up tonight and commit to the nethserver-7arm-release; EDIT : Done

BTW this is the YUM configuration for the lokale repo,
If you wish, I could commit to the upcomming dev-repo…

#
# nethserver.org YUM repositories configuration
#

[nethserver-base]
name=NethServer $distroversion-arm base 
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://neth.havak.lan/nethserver/altarch/$distroversion/base/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=1

[nethserver-updates]
name=NethServer $distroversion-arm updates
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://neth.havak.lan/nethserver/altarch/$distroversion/updates/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=1

[nethserver-testing]
name=NethServer $distroversion-arm testing
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://neth.havak.lan/nethserver/altarch/$distroversion/testing/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=0
enablegroups=0

[epel]
#Temporary placeholder for missing epel repositories
name=NethServer $distroversion-arm placeholder for epel
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://neth.havak.lan/nethserver/altarch/$distroversion/ns-epel/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=0

(Mark Verlinde) #38

Its ready to roll! Just one error last during initial installation:

 -- Unit network.service has finished shutting down.
Mar 23 17:35:15 nethpi.havak.lan dhclient[564]: receive_packet failed on eth0: Network is down
Mar 23 17:35:15 nethpi.havak.lan kernel: smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Mar 23 17:35:15 nethpi.havak.lan esmith::event[3099]: Action: /etc/e-smith/events/interface-update/S04network-stop SUCCESS [0.696655]

Works just fine…

@dz00te @Ctek who is willing/able to setup a public repo?

EDIT:
For anyone who knows how to set up a webshare:
https://drive.google.com/file/d/0B4zCoP0frJBBYkMweU0xS2Z1TUk/view?usp=sharing

  • set up the repo;
  • configure your pi;
  • yum localinstall your_repo/altarch/nethserver-release-7arm-0.1.19.g449c95b.ns7.noarch.rpm
  • edit URL’s in Nethserver.repo
  • nethserver-install (and take some beers, it takes a while…)
    happy testing

#39

wow great :clap: i already have a public repo up and running … tomorrow i will add your work and post the instruction to add it as repo
tnx!


(Mark Verlinde) #40

Nice!

could we get the repo setup in the nethserver-release-7arm?
The install should configure the repo’s…


(Bogdan Costin) #41

I can make available the hardware and the link. I’m not skilled enough to set up a repo server…
Is anyone up to the task ?
This can be a community available repo for testing.