{"action":"created","issue":{"url":"https://api.github.com/repos/openbmc/linux/issues/161","repository_url":"https://api.github.com/repos/openbmc/linux","labels_url":"https://api.github.com/repos/openbmc/linux/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/openbmc/linux/issues/161/comments","events_url":"https://api.github.com/repos/openbmc/linux/issues/161/events","html_url":"https://github.com/openbmc/linux/issues/161","id":360353988,"node_id":"MDU6SXNzdWUzNjAzNTM5ODg=","number":161,"title":"Remote Logging config not updated","user":{"login":"geissonator","id":1612261,"node_id":"MDQ6VXNlcjE2MTIyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/1612261?v=4","gravatar_id":"","url":"https://api.github.com/users/geissonator","html_url":"https://github.com/geissonator","followers_url":"https://api.github.com/users/geissonator/followers","following_url":"https://api.github.com/users/geissonator/following{/other_user}","gists_url":"https://api.github.com/users/geissonator/gists{/gist_id}","starred_url":"https://api.github.com/users/geissonator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geissonator/subscriptions","organizations_url":"https://api.github.com/users/geissonator/orgs","repos_url":"https://api.github.com/users/geissonator/repos","events_url":"https://api.github.com/users/geissonator/events{/privacy}","received_events_url":"https://api.github.com/users/geissonator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T15:33:43Z","updated_at":"2018-09-14T15:37:44Z","closed_at":null,"author_association":"NONE","body":"@gkeishin commented on [Fri Sep 14 2018](https://github.com/openbmc/phosphor-logging/issues/12)\n\nOn the latest build, configure the remote logging via REST interface and verify the /etc/rsyslog.d/server.conf config setting\r\n```\r\n$ ./rest_cmd -i wsbmcxxx-o GET -u /xyz/openbmc_project/logging/config/remote\r\nExecuting: GET  /xyz/openbmc_project/logging/config/remote\r\n\r\n/xyz/openbmc_project/logging/config/remote\r\n{\r\n    \"Address\": \"xx.xx.xx.xx\",\r\n    \"Port\": 514\r\n}\r\nLogin to BMC and verify\r\n```\r\n```\r\nroot@wsbmcxxx:~# cat /etc/rsyslog.d/server.conf\r\n# Remote Logging (we use TCP for reliable delivery)\r\n#*.* @@remote-host:port\r\n````\r\nDon't see any failure or suspicious activity on journald to tell what went wrong there.\n\n---\n\n@dkodihal commented on [Fri Sep 14 2018](https://github.com/openbmc/phosphor-logging/issues/12#issuecomment-421236303)\n\nSomething weird with /etc. Existing files are not writeable. Thoughts @anoo1?\r\n\r\n```\r\nroot@wsbmc014:/etc# cat synclist \r\n/etc/dropbear/\r\n/etc/group\r\n/etc/gshadow\r\n/etc/hostname\r\n/etc/machine-id\r\n/etc/passwd\r\n/etc/shadow\r\n/etc/ssl/\r\n/etc/ssl/certs/nginx/\r\n/etc/ssl/private/\r\n/etc/systemd/network/\r\nroot@wsbmc014:/etc# echo /bad/path > synclist \r\n-sh: synclist: No such file or directory\r\nroot@wsbmc014:/etc# echo /bad/path > foo      \r\nroot@wsbmc014:/etc# cat foo \r\n/bad/path\r\n```\n\n---\n\n@dkodihal commented on [Fri Sep 14 2018](https://github.com/openbmc/phosphor-logging/issues/12#issuecomment-421236429)\n\nBuild info :\r\n\r\n```\r\nID=\"openbmc-phosphor\"\r\nNAME=\"Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)\"\r\nVERSION=\"v2.3-329\"\r\nVERSION_ID=\"v2.3-329-gdfb7e65\"\r\nPRETTY_NAME=\"Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) v2.3-329\"\r\nBUILD_ID=\"v2.3\"\r\n```\n\n"},"comment":{"url":"https://api.github.com/repos/openbmc/linux/issues/comments/421397912","html_url":"https://github.com/openbmc/linux/issues/161#issuecomment-421397912","issue_url":"https://api.github.com/repos/openbmc/linux/issues/161","id":421397912,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTM5NzkxMg==","user":{"login":"geissonator","id":1612261,"node_id":"MDQ6VXNlcjE2MTIyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/1612261?v=4","gravatar_id":"","url":"https://api.github.com/users/geissonator","html_url":"https://github.com/geissonator","followers_url":"https://api.github.com/users/geissonator/followers","following_url":"https://api.github.com/users/geissonator/following{/other_user}","gists_url":"https://api.github.com/users/geissonator/gists{/gist_id}","starred_url":"https://api.github.com/users/geissonator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geissonator/subscriptions","organizations_url":"https://api.github.com/users/geissonator/orgs","repos_url":"https://api.github.com/users/geissonator/repos","events_url":"https://api.github.com/users/geissonator/events{/privacy}","received_events_url":"https://api.github.com/users/geissonator/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T15:37:44Z","updated_at":"2018-09-14T15:37:44Z","author_association":"NONE","body":"We're not sure how or why but we tracked this down to this commit:\r\nf0ca94d: linux-aspeed: Update to 4.18.7 stable tree\r\n\r\nTo summarize the issue, an existing file in /etc/ can not be edited. We get a error like this when trying to save the change:\r\n```\r\n'/etc/nginx/nginx.conf' No such file or directory\r\n```\r\n\r\nThis is only on /etc/ which is an overlay filesystem.  You can do some magic where you create the file in /tmp/ and then copy over the file in /etc/.  And once you \"fix\" the file you can then edit it fine. New files can be created fine in /etc/.\r\n\r\nThis is a significant issue because of files like our BMC network settings that sit out in /etc/ so we'll need to revert the commit until we can get this figured out."}}
{"actor":{"display_login":"geissonator"}}