But is it really that I should extra pullup resistor on every pin?
these controls computers, lights and stuff. so I dont want extra releys activations when I start system, Idea is to have smooth power on, one device at time.
(ok its bit unsafe to controll with arduino... buuut
Normal relays take milliseconds to operate, a brief glitch of a few microseconds won't matter at all....
The problem is more likely to be that the 5V rail on the Arduino rises slower than the power to the relays, such that the Arduino pin is still held low by the Arduino 5V rail as the relay power becomes high enough to operate.
Switch-on glitches like this typically last many milliseconds, easily enough to click a relay.
The only fix if this is the problem is to add some sort of delay logic to the signals that's controlled by the Arduino 5V reaching safe levels.
Thinking about it some more this shouldn't be an issue if the relay modules are connected
correctly, with the 5V for the optos coming from the Arduino... Perhaps you should post
your circuit, it could be something else entirely.