Comments (10)
@rjschwei What's the version of SUSE and waagent?
from walinuxagent.
2.0.11
Any distribution, SLES 11 SP3, or SLES 12
from walinuxagent.
@rjschwei I didn't meet the issue you descripted on SLES 11 SP3. Here are my steps:
service waagent start
exit
The ssh session ended normally.
from walinuxagent.
@yuezh You can reproduce by stopping any running waagent on a machine, and running
waagent -daemon
from walinuxagent.
@yuezh Could you please have a try to see if it could be reproduced?
from walinuxagent.
The agent doesn't actually "daemonize" at all, in that it doesn't do the typical double-fork thing and detach from the console when it enters the Agent.Run() loop. That's why the agent still runs in the foreground when you run "waagent -daemon," and why the '&' is required in the init scripts.
The trouble is that even running the agent in the background using the '&' does properly detach the agent from the terminal. So for example, trying to start the agent remotely causes a hang:
ssh [email protected] 'sudo /usr/sbin/waagent -daemon &'
....
from walinuxagent.
We will implement real "daemonize" in version 2.1
from walinuxagent.
@yuezh does 2.1 fix this issue? If so, please close.
from walinuxagent.
closing, due to lack of activity. if this is still a feature request, please reopen.
from walinuxagent.
I tested 2.1 with SLES 11 SP4 where this is aproblem as SysV init handles file descriptors differently than systemd (SLES 12 and later) and observed the same problematic behavior.
from walinuxagent.
Related Issues (20)
- [FR] Best practice for packaging the WALinuxAgent for Nix/NixOS HOT 4
- [BUG] Installation fails on unendorsed distribution HOT 3
- Deprecation of distutils HOT 1
- Tried to create VMs in azure Across availability zone and got this error: No python interpreter found HOT 4
- [BUG] waagent missing ipv6.addr-gen-mode eui64 from nmcli command HOT 1
- [BUG] DNS issue where deprovisioning sets the hostname to localhost.localdomain HOT 1
- Running collect-logs HOT 2
- Log collection: Memory limit HOT 1
- [BUG] CPU credits drain on B1ls after update to 2.10.0.3 HOT 16
- Issue with extensions when Lib.Dir is modifiend in /etc/waagent.conf HOT 6
- How to disable Azure Portal to automatically install OmsAgentForLinux on my VM? HOT 2
- [BUG] the agent go offline randomly. ERROR ExtHandler ExtHandler Error fetching the goal state in waagent.log HOT 1
- [BUG] WALinuxAgent not updating to latest on Ubuntu HOT 3
- [BUG] VMAccess does not work for FreeBSD HOT 1
- [BUG] Ubuntu versions >= 18.04 checking for dhclient lease files
- [BUG] Flatcar Linux 3602.2.1 Boot Errors HOT 2
- [BUG] udev path mappings for data disks broken in Rocky Linux 9.1 image HOT 2
- [BUG] OpenBSD Deployment Failed HOT 1
- [BUG] Ubuntu22: MonitorHostname does not update iDNS
- [BUG] Ubuntu 2204 & Azure Linux v2: v2.9.1.1 fails to assign IP address for IB interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from walinuxagent.