View Issue Details

IDProjectCategoryView StatusLast Update
0001446bareos-corebconsolepublic2023-10-17 14:23
Reportermdc Assigned Tobruno-at-bareos  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionwon't fix 
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.

Activities

bruno-at-bareos

bruno-at-bareos

2023-10-17 14:23

manager   ~0005473

We will not spend time on this. Maybe an community PR can be merged if enough interest.

Issue History

Date Modified Username Field Change
2022-04-01 13:24 mdc New Issue
2023-10-17 14:23 bruno-at-bareos Assigned To => bruno-at-bareos
2023-10-17 14:23 bruno-at-bareos Status new => closed
2023-10-17 14:23 bruno-at-bareos Resolution open => won't fix
2023-10-17 14:23 bruno-at-bareos Note Added: 0005473