Project

General

Profile

Bug #5633

brasero is useless

Added by Alexander Pyhalov over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2015-02-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Brasero is a complete garbage.
1) It has some permission problems
a) It is present in application menu, but when it run from menu, it runs as user and doesn't have access to CD devices
b) When it run under gksu, it exits immediately, it can be run under sudo, but not pfexec

2) It just doesn't work
a) Every attempt to blank DVD leads to ejecting disk
b) My attempts to write ISO to blank CD lead to error

History

#1

Updated by Ken Mays over 5 years ago

1. Brasero 2.32.1 compiles fine when manually built.

The Brasero 2.30.3 build in Hipster-20141010 won't recognize and eject the disc if ran as 'pfexec brasero'. It works correctly when ran as 'su brasero'. You may want to look at the active plugins as well.

#2

Updated by Ken Mays over 5 years ago

  • Assignee set to OI Userland
#3

Updated by Alexander Pyhalov over 5 years ago

Issues with brasero:
1) should depend on growisofs
2) dvd+rw-tools shouldn't worry about running under sudo as it kill brasero plugin check
3) in burn-growisofs.c brasero should do something more clever than :

if (brasero_job_get_fd_in (BRASERO_JOB (growisofs), NULL) == BRASERO_BURN_OK) {
/* set the buffer. NOTE: apparently this needs to be a power of 2 /
/
FIXME: is it right to mess with it ?
g_ptr_array_add (argv, g_strdup_printf ("-use-the-force-luke=bufsize:%im", 32)); */
if (!g_file_test ("/proc/self/fd/0", G_FILE_TEST_EXISTS)) {
g_set_error (error,
BRASERO_BURN_ERROR,
BRASERO_BURN_ERROR_FILE_NOT_FOUND,
_("\\\\"%s\\\\" could not be found"),
"/proc/self/fd/0");
return BRASERO_BURN_ERR;
}
/* FIXME: should we use DAO ? */
g_ptr_array_add (argv, g_strdup ("-Z"));
g_ptr_array_add (argv, g_strdup_printf ("%s=/proc/self/fd/0", device));
g_free (device);
}
#4

Updated by Alexander Pyhalov over 5 years ago

  • % Done changed from 0 to 50
#5

Updated by Ken Mays over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100

New Pkg: ,5.11-2015.0.0.0:20150224T104543Z
Field-tested. User Test passed.

#6

Updated by Alexander Pyhalov over 5 years ago

  • Status changed from Closed to Feedback

There's one more issue - if you run brasero from menu (applications=> sound and video=> brasero (without sudo)), it wouldn't detect devices.

#7

Updated by Aurélien Larcher almost 5 years ago

BTW similar behaviour can be observed with ddu:

alarcher@helios> /usr/ddu/bin/i386/cd_detect -l
alarcher@helios> sudo /usr/ddu/bin/i386/cd_detect -l
Mot de passe :
/dev/rdsk/c11t0d0s2 | HL-DT-ST DVD-RAM GH60N NY03 | CD Reader/Writer |/pci@0,0/pci17aa,1023@1f,2/cdrom@0,0

Also available in: Atom PDF