[solved] Internet banking app dependent on systemd

Forum Forums General Software [solved] Internet banking app dependent on systemd

  • This topic has 24 replies, 8 voices, and was last updated Feb 22-10:17 pm by Robin.
Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #77234
    Member
    PPC
      Helpful
      Up
      0
      ::

      After the conclusion, I tested once more time and, for my surprise, I was able to access my bank account.

      But, when I restarted my computer, I the problem returned

      This makes me assume that when you install the .deb package, the post install script gets the correct warsow service running in the background. That’s why you can access your account. But when you restart your computer, you don’t get the correct warsow service running, that’s why it does not work anymore. You have to find out how to correcly start the service. Please try to do it using the same terminal command I mentioned before…

      P.

      #77238
      Member
      dariel.elias
        Helpful
        Up
        0
        ::

        Please try to do it using the same terminal command I mentioned before…

        I followed your orientation and it still doesn’t work, because when I access the account it returns saying that security module was not correctly loaded.

        When I run the command line suggested by @sybok, it returns the following response:

        $ sudo ps -ef | grep warsaw | grep -v grep
        dariel 3731 1 0 14:08 ? 00:00:00 /usr/local/bin/warsaw/core

        #77239
        Member
        PPC
          Helpful
          Up
          0
          ::

          @dariel.elias

          Long version:
          Ok, since we do know that everything works right after the instalation I took a peek at what the .deb package did after instalation. What I did was this: I right click the .deb file and choose to open it with arquive manager (just like if it was a normal zipped file). Then I open the compressed file control.tar.gz, then I opened the compressed folder “.” and I got a list of files. In that list I clicked the “postinst” file. that is the file that is ran after the installation (“post install”, hence the name “postinst”), and sets everything up.
          Fortunately I dabble at bash scripts and I read the script until I found out exacly what the script did…

          Short version:
          … probably you’ll solve your problems by simply running this command, at the terminal, before opening the browser that you’ll use to access your banking services:
          warsaw start

          If that’s not the solution to your problem, then wait for someone else to try to help you out…

          P.

          #77240
          Member
          sybok
            Helpful
            Up
            0
            ::

            Hi, did you verify that ‘warsaw’ was still running when you restarted the PC?
            1) I suspect it was termined during the reboot and that it is not automatically started when you log in.
            This can be achieved by adding corresponding command into the file ‘~/.desktop-session/startup’:
            /usr/bin/warsaw start &

            Personally, I’d prefer to have a shortcut calling the below script that stops/starts the service, e.g.

            #!/bin/bash
            command='/usr/bin/warsaw'
            # There may be better ways to determine whether it is running or not:
            #status="$(ps -ef | grep -- warsaw | grep -v grep)"
            status="$(ps -ef | grep -- "${command}" | grep -v grep)"
            #status="$(pgrep warsaw)"
            if [ -z "${status}" ]; then
              "${command}" start
            else
              "${command}" stop # Not quite sure this is the correct way to stop it!
            fi

            This way, you can turn it on only when needed without having it running all the time.
            2) If you did start it, then perhaps it needs some time to get ready (establish some connections etc.) and you should wait before attempting to access your internet banking.

            #77241
            Member
            dariel.elias
              Helpful
              Up
              0
              ::

              @PPC and @sybok,

              I don’t want to take my and yours time searching a solution to this issue, but I’m really grateful for your concern about it.

              Unfortunately running the command you indicated did not work.

              As I said before, I can access my account on my cellphone or in other computer. I opened this topic intending to find a solution for others that faces the same problem.

              Perhaps someday we discover a way to resolve it.

              Thank you very much.

              #77242
              Member
              PPC
                Helpful
                Up
                0
                ::

                Ok, dariel, but, just to make it clear, probably running this command on the terminal (and keeping the terminal open), before starting your browser should fix it:

                /usr/bin/warsaw start &

                [What frustrates me, and probably sybok too, is that we can see the solution to your problem right in front of us, but can’t make you see how to apply it 🙁 ]

                If you want to, please ask a moderator to mark this as “Solved”…

                P.

                • This reply was modified 1 year, 2 months ago by PPC.
                #77829
                Member
                dariel.elias
                  Helpful
                  Up
                  0
                  ::

                  @PPC,

                  I completely understand your frustration, but I did just like you and @sybok oriented me. I may be a newbie in Linux, but not so in the digital world.

                  As I’m a little bit persistent, I wrote last week to the application developer here in Brazil and today they answered me saying that at the present time they homologated the Warsaw software just to Linux distros that uses “systemd” and there is no perspective to homologation it in distros that uses “runit” or “sysVinit”.

                  So, I really want to thank you and the others for your time and consideration, specially to the lessions I learned in this topic.

                  If some moderator or forum admin reads this, please mark this topic as “solved”.

                  Dariel

                  #77863
                  Member
                  Robin
                    Helpful
                    Up
                    0
                    ::

                    there is no perspective to homologation it in distros that uses “runit” or “sysVinit”.

                    Probably there is no need for this at all:

                    After the conclusion, I tested once more time and, for my surprise, I was able to access my bank account.

                    Obviously the program itself works properly on antiX without systemd. Single thing left to do is to figure what exactly is the difference between the state of your system before and after the reboot. Once you have figured this very difference, you can adjust the settings at startup accordingly, and the program will run after reboot also. Since it is unlikely a package or lib you’ve installed vanishes after reboot all of the sudden, the most probable reason is (as pointed out by PPC already above) a service wasn’t started correctly, or maybe not started with some correct optional parameters.

                    Perhaps someday we discover a way to resolve it.

                    Yes for sure, since you’ve stated already it works, until you reboot. So there is no severe incompatibility to get traced down, no missing library, no missing dependency during install, but a simple setting in startup sequence to be located and changed. Shouldn’t be to much difficult with help of experienced people on board, if you’d stick to it instead of resigning.

                    Windows is like a submarine. Open a window and serious problems will start.

                    #77880
                    Member
                    dariel.elias
                      Helpful
                      Up
                      0
                      ::

                      Shouldn’t be to much difficult with help of experienced people on board, if you’d stick to it instead of resigning.

                      Actually I’m not giving up, because I intend to keep searching a solution for it. I’d already inserted the command line that PPC suggested above in ~/.desktop-session/startup without success (until now) but still there is something and that I’m not doing and it’s not working after reboot. I hope soon, with the help of this community, to find a solution.

                      • This reply was modified 1 year, 2 months ago by dariel.elias.
                      #77882
                      Member
                      Robin
                        Helpful
                        Up
                        0
                        ::

                        Would you mind to post the complete output of installation command from console window, after which it works properly, so it might be possible to see whether there is some message about shutting down or starting services? It might be very well a question of order in which the services are started, e.g. once a different service has taken over the control of something in default antiX boot routine, this warsaw service might fail to work. In this case the warsaw service has to be started before the conflicting service, or the other service has to be shut down before startup of warsaw. Since all this works for you immediately after install, there might be a hint in the console output of installation command, which additional services are involved and shut down or restarted during this process.

                        Windows is like a submarine. Open a window and serious problems will start.

                      Viewing 10 posts - 16 through 25 (of 25 total)
                      • You must be logged in to reply to this topic.