Skip to content

Log using /dev/log directly - no rsyslogd daemon inside container. DO NOT MERGE#4340

Closed
mikelazar wants to merge 3 commits intosonic-net:masterfrom
mikelazar:master
Closed

Log using /dev/log directly - no rsyslogd daemon inside container. DO NOT MERGE#4340
mikelazar wants to merge 3 commits intosonic-net:masterfrom
mikelazar:master

Conversation

@mikelazar
Copy link
Copy Markdown
Contributor

- What I did
Bind mount host side /run/systemd/journal/dev-log to container /dev/log
- How I did it
N/A
- How to verify it
Run logger inside container (or verify logs from SWSS container, e.g. orchagent)
Restart rsyslog on host side: systemctl restart rsyslog
Verify that inode of /run/systemd/journal/dev-log does not change (ls -li)
"logger" inside container is still able to create log messages to the host side
Note that /run/systemd/journal/dev-log is created by "init" - so it will not change, regardless of whether rsyslogd host side is restarted

root@sonic:/home/admin# netstat -pn | grep dev-log
unix 15 [ ] DGRAM 10082 1/init /run/systemd/journal/dev-log

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

The script sonic-gns3a.sh creates a GNS3 appliance flle, that points to a sonin-vs.img (SONiC Virtual Switch).

The appliance file (and sonic-vs.img file) can subsequently be imported into a GNS3 simulation environment.
Support for the creation of a GNS3 appliance file
@mikelazar mikelazar closed this Mar 30, 2020
mssonicbld added a commit that referenced this pull request Mar 13, 2026
…atically (#25997)

#### Why I did it
src/sonic-utilities
```
* c44c5b58 - (HEAD -> 202511, origin/202511) [202511] fix scapy delayed import when we have large routes (#4347) (9 hours ago) [Hemanth Kumar Tirupati]
* 9f657f10 - [Arista] Add TH5 HWSKU to list for pfcwd support (#4351) (15 hours ago) [mssonicbld]
* cca526c5 - Fix route_check.py redis client high memory usage (#4349) (30 hours ago) [mssonicbld]
* 11283db0 - [Mellanox] Add restricted sysfs to fw control list (#4281) (2 days ago) [mssonicbld]
* 2b163fd7 - [202511] Fix issue: pmon services's restart count is not cleared during config reload (#4314) (#4336) (3 days ago) [Stephen Sun]
* 9bdae28f - Add CLI support for "show interfaces <intf> <phy-signal/phy-serdes>"commands (#4342) (3 days ago) [prajjwal-arista]
* a4a3fb6a - Cherry-pick PR sonic-net/sonic-utilities#4152 (wredcounters, counterpoll) (#4328) (3 days ago) [saksarav-nokia]
* b784464f - Add interface FEC stats to generate_dump output (#4309) (3 days ago) [Fraser Gordon]
* b15b6cdc - Fix delayed scapy import in lag_keepalive script when we have a lot of routes (#4339) (3 days ago) [mssonicbld]
* 04adbbe3 - Limit PFC WD Detection time to maximum value of 1000ms (#4340) (3 days ago) [mssonicbld]
* a31dc268 - Fetch capability of mirror before configuring it (#4204) (3 days ago) [mssonicbld]
* 4cd422a5 - Add filesystem sync after plugin installation (#4338) (3 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Mar 18, 2026
…lly (#26223)

#### Why I did it
src/sonic-swss
```
* 6798a59 - (HEAD -> master, origin/master, origin/HEAD) [swssconfig] Add custom ZMQ endpoint for DPU Orchagent (#4217) (2 hours ago) [Vivek]
* c8c05e6 - Connect to teamd before adding the lag to STATE_DB (#3984) (10 hours ago) [Saikrishna Arcot]
* 99dd8ff - [test] Fix test_sub_port_intf assuming exactly one VRF in ASIC_DB (#4340) (11 hours ago) [Rustiqly (agent of lihuay)]
* f7ea4a8 - Merge pull request #4230 from bibhuprasad-hcl/bibhu_swss_p4_branch3 (26 hours ago) [StephenWangGoogle]
|\ 
| failure_prs.log 9923d9c - [P4Orch] Add P4MulticastRouterInterfaceEntry that use the no_action action. (34 hours ago) [mint570]
|/ 
* dcaf384 - Gracefully handle case when speed is not supported in setGearboxPortAttr (#4189) (35 hours ago) [HP]
* 83c8aeb - Merge pull request #4227 from bibhuprasad-hcl/bibhu_swss_p4_branch2 (35 hours ago) [StephenWangGoogle]
* 9c6fc38 - [P4Orch] Make room for new 'no_action' in the L3MulticastManager (2 days ago) [mint570]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant