View Issue Details

IDProjectCategoryView StatusLast Update
0001446bareos-corebconsolepublic2022-04-01 13:24
Reportermdc Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Versionstream 8
Product Version21.1.2 
Summary0001446: bconsole will crash when the unneeded password is missing
DescriptionWhen using pam authentication, only the console password is needed for the connection.
But when this is so done, the bconsole will crash with:
 bconsole -c /etc/bareos/bconsole-tui.conf
bconsole: ABORTING due to ERROR in console/console_conf.cc:181
Password item is required in Director resource, but not found.
BAREOS interrupted by signal 6: IOT trap
bconsole, bconsole got signal 6 - IOT trap. Attempting traceback.

So an empty and unneeded Password entry must added as an workaround.
Additional InformationSample crash config:
Director {
  Name = bareos-dir
  Address = localhost
  }
Console {
  Name = "PamConsole"
  @/etc/bareos/pam.pw
}
Sample working config:
Director {
  Name = bareos-dir
  Address = localhost
  Password = ""
}
Console {
  Name = "PamConsole"
  @/etc/bareos/pam.pw
}

TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-04-01 13:24 mdc New Issue