Understanding and discovering software configuration dependencies in cloud and datacenter systems
Qingrong Chen, Teng Wang, Owolabi Legunsen, Shanshan Li, Tianyin Xu
摘要
A large percentage of real-world software configuration issues, such as misconfigurations, involve multiple interdependent configuration parameters. However, existing techniques and tools either do not consider dependencies among configuration parametersÐ termed configuration dependenciesÐor rely on one or two dependency types and code patterns as input. Without rigorous understanding of configuration dependencies, it is hard to deal with many resulting configuration issues.
This paper presents our study of software configuration dependencies in 16 widely-used cloud and datacenter systems, including dependencies within and across software components. To understand types of configuration dependencies, we conduct an exhaustive search of descriptions in structured configuration metadata and unstructured user manuals. We find and manually analyze 521 configuration dependencies. We define five types of configuration dependencies and identify their common code patterns. We report on consequences of not satisfying these dependencies and current software engineering practices for handling the consequences.
We mechanize the knowledge gained from our study in a tool, cDep, which detects configuration dependencies. cDep automatically discovers five types of configuration dependencies from bytecode using static program analysis. We apply cDep to the eight Java and Scala software systems in our study. cDep finds 87.9% (275/313) of the related subset of dependencies from our study. cDep also finds 448 previously undocumented dependencies, with a 6.0% average false positive rate. Overall, our results show that configuration dependencies are more prevalent and diverse than previously reported and should henceforth be considered a first-class issue in software configuration engineering.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server Misconfigurations
- An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- An Evolutionary Study of Configuration Design and Implementation in Cloud Systems 引用了 Towards Continuous Access Control Validation and Forensics
- Static detection of silent misconfigurations with deep interaction analysis 引用了 Test-case prioritization for configuration testing
- Static detection of silent misconfigurations with deep interaction analysis 引用了 PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server Misconfigurations
- Static detection of silent misconfigurations with deep interaction analysis 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- Static detection of silent misconfigurations with deep interaction analysis 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- Static detection of silent misconfigurations with deep interaction analysis 引用了 Towards Continuous Access Control Validation and Forensics
- Test-case prioritization for configuration testing 引用了 An Evolutionary Study of Configuration Design and Implementation in Cloud Systems
- Test-case prioritization for configuration testing 引用了 PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server Misconfigurations
- Test-case prioritization for configuration testing 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- Test-case prioritization for configuration testing 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- Test-case prioritization for configuration testing 引用了 Towards Continuous Access Control Validation and Forensics
- PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server Misconfigurations 引用了 Towards Continuous Access Control Validation and Forensics
- Testing Configuration Changes in Context to Prevent Production Failures 引用了 Towards Continuous Access Control Validation and Forensics
引用它的顶会 Paper23
- Testing Configuration Changes in Context to Prevent Production FailuresXudong Sun, Runxiang Cheng, Jianyan Chen, Elaine Ang 等OSDI 2020 · 61 次引用
- Test-case prioritization for configuration testingRunxiang Cheng, Lingming Zhang, Darko Marinov, Tianyin XuISSTA 2021 · 34 次引用
- Static detection of silent misconfigurations with deep interaction analysisJialu Zhang, Ruzica Piskac, Ennan Zhai, Tianyin XuOOPSLA 2021 · 30 次引用
- An Evolutionary Study of Configuration Design and Implementation in Cloud SystemsYuanliang Zhang, Haochen He, Owolabi Legunsen, Shanshan Li 等ICSE 2021 · 19 次引用
- When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via ConfigurationsHaochen He, Erci Xu, Shanshan Li, Zhouyang Jia 等VLDB 2023 · 17 次引用
它引用的 Paper4
- Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change AnalysisSonu Mehta, Ranjita Bhagwan, Rahul Kumar, Chetan Bansal 等NSDI 2020 · 65 次引用
- Testing Configuration Changes in Context to Prevent Production FailuresXudong Sun, Runxiang Cheng, Jianyan Chen, Elaine Ang 等OSDI 2020 · 61 次引用
- Towards Continuous Access Control Validation and ForensicsChengcheng Xiang, Yudong Wu, Bingyu Shen, Mingyao Shen 等CCS 2019 · 48 次引用
- PracExtractor: Extracting Configuration Good Practices from Manuals to Detect Server MisconfigurationsChengcheng Xiang, Haochen Huang, Andrew Yoo, Yuanyuan Zhou 等USENIX ATC 2020 · 24 次引用
相关 Paper
- ConfD: Analyzing Configuration Dependencies of File Systems for Fun and ProfitTabassum Mahmud, Om Rameshwar Gatla, Duo Zhang, Carson Love 等FAST 2023 · 7 次引用
- Statically inferring performance properties of software configurationsChi Li, Shu Wang, Henry Hoffmann, Shan LuEuroSys 2020 · 25 次引用
- Concord: Learning Network Configuration ContractsRyan Beckett, Francis Y. Yan, Raghunadha Reddy Pocha, Vineesh V. Raj 等EuroSys 2026
- Mapping the Cloud: A Mixed-Methods Study of Cloud Security and Privacy Configuration ChallengesSumair Ijaz Hashmi, Shafay Kashif, Lea Gröber, Katharina Krombholz 等NDSS 2026 · 3 次引用
- Toward Understanding the Security Implications in Python Configuration FilesXinwei Yu, Zhenkai Zhang, Yuzhe Tang, Xing GaoUSENIX Security 2026
