Cook the pasta in salted water. Peel the onions and garlic. Dice the onions and finely chop the garlic.
Heat the oil, fry the onions and garlic in it. Add the minced meat and fry. Add the tomatoes, tomato paste, oregano and cinnamon. Stew everything for 15 minutes. Season with salt and pepper. Beat the egg and mix with the breadcrumbs into the mince.
For the sauce, heat some fat and sweat the flour in it. Deglaze with milk. Boil once. Season with salt and pepper and mix with egg yolks.
Grease an ovenproof dish, put the pasta in the dish, sprinkle 2/3 of the cheese over it. Layer the meat mixture on top, pour the sauce over it. Sprinkle with the rest of the cheese. Bake in the oven at 175 ° C for about 45 minutes.