(event fsnotify.Event)
| 914 | } |
| 915 | |
| 916 | func handleFileSystemEvent(event fsnotify.Event) { |
| 917 | eventOpString := event.Op.String() |
| 918 | logrus.Debugf("Handling file system event: operation %s on %s", eventOpString, event.Name) |
| 919 | |
| 920 | if event.Name == "/run/host/etc/localtime" { |
| 921 | if err := updateTimeZoneFromLocalTime(); err != nil { |
| 922 | logrus.Warnf("Failed to handle changes to the host's /etc/localtime: %v", err) |
| 923 | } |
| 924 | } |
| 925 | } |
| 926 | |
| 927 | func ldConfig(configFileBase string, dirs []string) error { |
| 928 | logrus.Debug("Updating dynamic linker cache") |
no test coverage detected
searching dependent graphs…