File: cdebconf.conf-dist.in

package info (click to toggle)
cdebconf 0.227
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,552 kB
  • sloc: ansic: 16,568; sh: 549; makefile: 456; sql: 52; perl: 13
file content (107 lines) | stat: -rw-r--r-- 2,294 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// This is a sample debconf configuration file
// Comments can be in C or C++ style, blank lines are ignored
// This file is in a bind-8 like format.

global {
  module_path {
    frontend "/usr/lib/cdebconf/frontend";
    database "/usr/lib/cdebconf/db";
  };

  default {
    frontend "default_fe";
    template "templatedb";
    config "configdb";
  };
};

frontend {
  instance "default_fe" {
    driver "@DEFAULT_FRONTEND@";
  };
};

template {
  instance "templatedb" {
    driver "rfc822db";
    path "/var/lib/cdebconf/templates.dat";
  };

  instance "target_templatedb" {
    driver "rfc822db";
    path "/target/var/cache/debconf/templates.dat";
  };

  instance "di_templatedb" {
    driver "rfc822db";
    path "/var/log/installer/cdebconf/templates.dat";
  };

  instance "old_templatedb" {
    driver "rfc822db";
    path "/var/cache/debconf/templates.dat";
  };
};

config {
  instance "config_gen_db" {
    driver "rfc822db";
    path "/var/lib/cdebconf/questions.dat";
    mode 644;
    reject_types { "password"; };
  };

  instance "config_passwd_db" {
    driver "rfc822db";
    path "/var/lib/cdebconf/passwords.dat";
    mode 600;
    accept_types { "password"; };
  };

  instance "configdb" {
    driver "stack";
    stack { "config_gen_db"; "config_passwd_db"; };
  };

  instance "target_config_gen_db" {
    driver "rfc822db";
    path "/target/var/cache/debconf/config.dat";
    reject_types { "password"; };
  };

  instance "target_config_passwd_db" {
    driver "rfc822db";
    path "/target/var/cache/debconf/passwords.dat";
    accept_types { "password"; };
  };

  instance "target_configdb" {
    driver "stack";
    stack { "target_config_gen_db"; "target_config_passwd_db"; };
    template "target_templatedb";
  };

  instance "old_config_gen_db" {
    driver "rfc822db";
    path "/var/cache/debconf/config.dat";
    reject_types { "password"; };
  };

  instance "old_config_passwd_db" {
    driver "rfc822db";
    path "/var/cache/debconf/passwords.dat";
    accept_types { "password"; };
  };

  instance "old_configdb" {
    driver "stack";
    stack { "old_config_gen_db"; "old_config_passwd_db"; };
  };

  instance "di_configdb" {
    driver "rfc822db";
    path "/var/log/installer/cdebconf/questions.dat";
    template "di_templatedb";
  };
};