systemd networkd is restarted after systemctl stop Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern) Come Celebrate our 10 Year Anniversary!systemd: stop all uninstalled unitssystemd-networkd and direct routesDo systemd unit files have to be reloaded when modified?Systemd Networkd [Match] Rule Multiple MatchesSystemd Networkd MAC Address generation for VLAN Interfacessystemd - automatically start/restart specific systemd service after another service is started/restartedIn systemd, what's the difference between After= and Requires=?systemd-networkd equivilent of “ip rule add…”Is there a way to automatically add network interfaces to systemd-networkd and/or netplan?systemd script segfaulting when using systemctl

Has a Nobel Peace laureate ever been accused of war crimes?

What's called a person who works as someone who puts products on shelves in stores?

What is /etc/mtab in Linux?

Where to find documentation for `whois` command options?

Married in secret, can marital status in passport be changed at a later date?

How do I deal with an erroneously large refund?

Arriving in Atlanta (after US Preclearance in Dublin). Will I go through TSA security in Atlanta to transfer to a connecting flight?

SQL Server placement of master database files vs resource database files

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

Is it OK if I do not take the receipt in Germany?

How would it unbalance gameplay to rule that Weapon Master allows for picking a fighting style?

Why would the Overseers waste their stock of slaves on the Game?

Why doesn't the university give past final exams' answers?

/bin/ls sorts differently than just ls

Co-worker works way more than he should

What is the numbering system used for the DSN dishes?

Will temporary Dex penalties prevent you from getting the benefits of the "Two Weapon Fighting" feat if your Dex score falls below the prerequisite?

How to keep bees out of canned beverages?

When speaking, how do you change your mind mid-sentence?

Coin Game with infinite paradox

Marquee sign letters

Are these square matrices always diagonalisable?

Why is water being consumed when my shutoff valve is closed?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?



systemd networkd is restarted after systemctl stop



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)
Come Celebrate our 10 Year Anniversary!systemd: stop all uninstalled unitssystemd-networkd and direct routesDo systemd unit files have to be reloaded when modified?Systemd Networkd [Match] Rule Multiple MatchesSystemd Networkd MAC Address generation for VLAN Interfacessystemd - automatically start/restart specific systemd service after another service is started/restartedIn systemd, what's the difference between After= and Requires=?systemd-networkd equivilent of “ip rule add…”Is there a way to automatically add network interfaces to systemd-networkd and/or netplan?systemd script segfaulting when using systemctl



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have some python code that needs to change the configuration of a linux bond using systemd-networkd. I tried editing the .network and .netdev config files and restarting networkd but it doesn't change the bond configuration.



What I want to do next is stop networkd, delete the bond and then start networkd again. The problem is that networkd is started as soon as I delete the bond. This is also reproducible via systemctl - /lib/systemd/systemd-networkd is started after the interface is deleted.



root@63cece1df328:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.0 76864 2376 ? Ss 05:54 0:00 /lib/systemd/systemd
root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
systemd+ 30 0.0 0.0 71968 1296 ? Ss 05:54 0:00 /lib/systemd/systemd-networkd
root 33 0.3 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
root 43 0.0 0.0 34400 2848 pts/0 R+ 05:55 0:00 ps aux
root@63cece1df328:/# systemctl stop systemd-networkd
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
root@63cece1df328:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 76864 4408 ? Ss 05:54 0:00 /lib/systemd/systemd
root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
root 47 0.0 0.0 34400 2868 pts/0 R+ 05:56 0:00 ps aux
root@63cece1df328:/# ip link show mgmt
5: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff
root@63cece1df328:/# ip link del mgmt
root@63cece1df328:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 76864 4912 ? Ss 05:54 0:00 /lib/systemd/systemd
root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
systemd+ 50 1.0 0.0 71968 5964 ? Ss 05:57 0:00 /lib/systemd/systemd-networkd
root 51 0.0 0.0 34400 2924 pts/0 R+ 05:57 0:00 ps aux
root@63cece1df328:/# ip link show mgmt
13: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1514 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff```









share|improve this question







New contributor




barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1















    I have some python code that needs to change the configuration of a linux bond using systemd-networkd. I tried editing the .network and .netdev config files and restarting networkd but it doesn't change the bond configuration.



    What I want to do next is stop networkd, delete the bond and then start networkd again. The problem is that networkd is started as soon as I delete the bond. This is also reproducible via systemctl - /lib/systemd/systemd-networkd is started after the interface is deleted.



    root@63cece1df328:/# ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.1 0.0 76864 2376 ? Ss 05:54 0:00 /lib/systemd/systemd
    root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
    root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
    message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
    systemd+ 30 0.0 0.0 71968 1296 ? Ss 05:54 0:00 /lib/systemd/systemd-networkd
    root 33 0.3 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
    root 43 0.0 0.0 34400 2848 pts/0 R+ 05:55 0:00 ps aux
    root@63cece1df328:/# systemctl stop systemd-networkd
    Warning: Stopping systemd-networkd.service, but it can still be activated by:
    systemd-networkd.socket
    root@63cece1df328:/# ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 76864 4408 ? Ss 05:54 0:00 /lib/systemd/systemd
    root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
    root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
    message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
    root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
    root 47 0.0 0.0 34400 2868 pts/0 R+ 05:56 0:00 ps aux
    root@63cece1df328:/# ip link show mgmt
    5: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff
    root@63cece1df328:/# ip link del mgmt
    root@63cece1df328:/# ps aux
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 76864 4912 ? Ss 05:54 0:00 /lib/systemd/systemd
    root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
    root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
    message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
    root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
    systemd+ 50 1.0 0.0 71968 5964 ? Ss 05:57 0:00 /lib/systemd/systemd-networkd
    root 51 0.0 0.0 34400 2924 pts/0 R+ 05:57 0:00 ps aux
    root@63cece1df328:/# ip link show mgmt
    13: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1514 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff```









    share|improve this question







    New contributor




    barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      1












      1








      1








      I have some python code that needs to change the configuration of a linux bond using systemd-networkd. I tried editing the .network and .netdev config files and restarting networkd but it doesn't change the bond configuration.



      What I want to do next is stop networkd, delete the bond and then start networkd again. The problem is that networkd is started as soon as I delete the bond. This is also reproducible via systemctl - /lib/systemd/systemd-networkd is started after the interface is deleted.



      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.1 0.0 76864 2376 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      systemd+ 30 0.0 0.0 71968 1296 ? Ss 05:54 0:00 /lib/systemd/systemd-networkd
      root 33 0.3 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      root 43 0.0 0.0 34400 2848 pts/0 R+ 05:55 0:00 ps aux
      root@63cece1df328:/# systemctl stop systemd-networkd
      Warning: Stopping systemd-networkd.service, but it can still be activated by:
      systemd-networkd.socket
      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.0 0.0 76864 4408 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      root 47 0.0 0.0 34400 2868 pts/0 R+ 05:56 0:00 ps aux
      root@63cece1df328:/# ip link show mgmt
      5: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff
      root@63cece1df328:/# ip link del mgmt
      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.0 0.0 76864 4912 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      systemd+ 50 1.0 0.0 71968 5964 ? Ss 05:57 0:00 /lib/systemd/systemd-networkd
      root 51 0.0 0.0 34400 2924 pts/0 R+ 05:57 0:00 ps aux
      root@63cece1df328:/# ip link show mgmt
      13: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1514 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff```









      share|improve this question







      New contributor




      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have some python code that needs to change the configuration of a linux bond using systemd-networkd. I tried editing the .network and .netdev config files and restarting networkd but it doesn't change the bond configuration.



      What I want to do next is stop networkd, delete the bond and then start networkd again. The problem is that networkd is started as soon as I delete the bond. This is also reproducible via systemctl - /lib/systemd/systemd-networkd is started after the interface is deleted.



      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.1 0.0 76864 2376 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      systemd+ 30 0.0 0.0 71968 1296 ? Ss 05:54 0:00 /lib/systemd/systemd-networkd
      root 33 0.3 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      root 43 0.0 0.0 34400 2848 pts/0 R+ 05:55 0:00 ps aux
      root@63cece1df328:/# systemctl stop systemd-networkd
      Warning: Stopping systemd-networkd.service, but it can still be activated by:
      systemd-networkd.socket
      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.0 0.0 76864 4408 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      root 47 0.0 0.0 34400 2868 pts/0 R+ 05:56 0:00 ps aux
      root@63cece1df328:/# ip link show mgmt
      5: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff
      root@63cece1df328:/# ip link del mgmt
      root@63cece1df328:/# ps aux
      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      root 1 0.0 0.0 76864 4912 ? Ss 05:54 0:00 /lib/systemd/systemd
      root 21 0.0 0.0 70120 6452 ? S<s 05:54 0:00 /lib/systemd/systemd-journald
      root 22 0.0 0.0 24824 368 ? Ss 05:54 0:00 /usr/bin/socat TCP-LISTEN:7272,reuseadd
      message+ 29 0.0 0.0 49928 508 ? Ss 05:54 0:00 /usr/bin/dbus-daemon --system --address
      root 33 0.0 0.0 18508 3424 pts/0 Ss 05:55 0:00 bash
      systemd+ 50 1.0 0.0 71968 5964 ? Ss 05:57 0:00 /lib/systemd/systemd-networkd
      root 51 0.0 0.0 34400 2924 pts/0 R+ 05:57 0:00 ps aux
      root@63cece1df328:/# ip link show mgmt
      13: mgmt: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1514 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      link/ether fe:df:a1:cf:82:39 brd ff:ff:ff:ff:ff:ff```






      systemd systemd-networkd






      share|improve this question







      New contributor




      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 17 at 9:57









      barisdadbarisdad

      1062




      1062




      New contributor




      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      barisdad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          barisdad is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963445%2fsystemd-networkd-is-restarted-after-systemctl-stop%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          barisdad is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          barisdad is a new contributor. Be nice, and check out our Code of Conduct.












          barisdad is a new contributor. Be nice, and check out our Code of Conduct.











          barisdad is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963445%2fsystemd-networkd-is-restarted-after-systemctl-stop%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company